:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --success-color: #10b981;
    --whatsapp-color: #25d366;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Light Theme Variables */
.light-theme {
    --dark-bg: #f8fafc;
    --dark-card: #ffffff;
    --dark-border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-dark: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: var(--transition);
}

/* WhatsApp Widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-bubble {
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.whatsapp-bubble:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-card);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.whatsapp-bubble:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.light-theme .navbar {
    background: rgba(248, 250, 252, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--primary-light);
    margin-right: 10px;
    font-size: 1.5rem;
    display: block;
}

.navbar-brand .pro {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-left: 2px;
}

/* Theme Toggle */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.theme-toggle:hover {
    background: var(--primary-color);
    transform: rotate(30deg);
}

.theme-toggle:hover i {
    color: white;
}

.theme-toggle i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    display: block;
}

/* Admin Link */
.admin-link .btn-admin {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.admin-link .btn-admin:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.admin-link i {
    display: block;
}

/* Main Container */
.main-container {
    flex: 1;
    padding: 2rem 15px 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    margin-bottom: 3rem;
}

.logo-icon {
    font-size: 5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    opacity: 0.9;
    display: block;
}

.header h1 {
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.header .lead {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.zero-fee {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Tabs */
.tabs-container {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 6px;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    border: 1px solid var(--dark-border);
}

.tabs {
    display: flex;
    gap: 6px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 20px;
    font-weight: 600;
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tab-icon {
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: var(--transition);
}

.tab-icon i {
    font-size: 0.9rem;
    color: var(--primary-color);
    display: block;
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.tab-btn:hover .tab-icon {
    background: var(--gradient-primary);
}

.tab-btn:hover .tab-icon i {
    color: white;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.tab-btn.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active .tab-icon i {
    color: white;
}

/* Exchange Card */
.exchange-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 1px solid var(--dark-border);
    transition: var(--transition);
}

.exchange-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.card-header {
    padding: 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.card-header h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-body {
    padding: 2rem;
}

/* Input Sections */
.input-section {
    margin-bottom: 1.5rem;
}

.input-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.currency-input {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.currency-input .form-control {
    flex: 2;
    background: rgba(15, 23, 42, 0.05);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.light-theme .currency-input .form-control {
    background: rgba(248, 250, 252, 0.8);
}

.currency-input .form-control:focus {
    background: rgba(15, 23, 42, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
    outline: none;
}

.light-theme .currency-input .form-control:focus {
    background: rgba(248, 250, 252, 0.9);
}

.currency-input .form-control::placeholder {
    color: var(--text-muted);
}

.currency-selector {
    flex: 1;
    min-width: 150px;
}

.currency-selector .form-select {
    height: 100%;
    background: rgba(15, 23, 42, 0.05);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    padding: 0 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.light-theme .currency-selector .form-select {
    background: rgba(248, 250, 252, 0.8);
}

.currency-selector .form-select:focus {
    background: rgba(15, 23, 42, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

.light-theme .currency-selector .form-select:focus {
    background: rgba(248, 250, 252, 0.9);
}

.currency-selector .form-select option {
    background: var(--dark-card);
    color: var(--text-primary);
}

.input-info {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
}

.input-info i {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: block;
}

.input-info small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Zero Fee Badge */
.zero-fee-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
    border: none;
}

.zero-fee-badge i {
    font-size: 1rem;
    display: block;
}

/* Exchange Details */
.exchange-details {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--dark-border);
    margin-top: 2rem;
}

.light-theme .exchange-details {
    background: rgba(248, 250, 252, 0.8);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .detail-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item.total {
    font-size: 1.1rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--primary-color);
}

.rate-value {
    color: var(--primary-color);
    font-weight: bold;
}

.free {
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Simple Form */
.simple-form .form-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.simple-form .form-control,
.simple-form .form-select {
    background: rgba(15, 23, 42, 0.05);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.light-theme .simple-form .form-control,
.light-theme .simple-form .form-select {
    background: rgba(248, 250, 252, 0.8);
}

.simple-form .form-control:focus,
.simple-form .form-select:focus {
    background: rgba(15, 23, 42, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
    outline: none;
}

.light-theme .simple-form .form-control:focus,
.light-theme .simple-form .form-select:focus {
    background: rgba(248, 250, 252, 0.9);
}

.simple-form .form-control::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
}

.btn:hover::after {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--dark-card);
    color: var(--text-secondary);
    border: 1px solid var(--dark-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Rates Grid */
.rates-grid {
    padding: 2rem 0;
}

.rate-card {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--dark-border);
    transition: var(--transition);
    height: 100%;
}

.rate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.rate-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
    display: block;
}

.rate-icon i {
    display: block;
}

.rate-symbol {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.rate-value {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Steps Section */
.steps-section {
    padding: 2rem 0;
}

.step-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--dark-border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.step-icon i {
    display: block;
}

.step-card h6 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Additional Info */
.additional-info {
    padding: 2rem 0;
}

.info-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--dark-border);
    transition: var(--transition);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
    display: block;
}

.info-icon i {
    display: block;
}

.info-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Modal */
.modal-content {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--dark-border);
    box-shadow: var(--box-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--dark-border);
    padding: 1.5rem 2rem;
}

.modal-title {
    color: var(--text-primary);
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
}

.btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.7;
}

.light-theme .btn-close {
    filter: none;
}

.btn-close:hover {
    opacity: 1;
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    display: block;
}

.modal-icon i {
    display: block;
}

.transaction-summary {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.light-theme .transaction-summary {
    background: rgba(248, 250, 252, 0.8);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .summary-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.zero-fee {
    color: #10b981;
}

.payment-instructions {
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    overflow: hidden;
}

.instructions-header {
    background: rgba(99, 102, 241, 0.1);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.instructions-body {
    padding: 1.5rem;
    color: var(--text-secondary);
}

.whatsapp-note {
    background: rgba(37, 211, 102, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--whatsapp-color);
    color: #a7f3d0;
    padding: 1rem;
}

.light-theme .whatsapp-note {
    color: #065f46;
    background: rgba(37, 211, 102, 0.15);
}

/* Details Modal */
.details-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
    display: block;
}

.details-icon i {
    display: block;
}

.details-content {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--dark-border);
}

.light-theme .details-content {
    background: rgba(248, 250, 252, 0.8);
}

.timer-display {
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.timer {
    font-size: 2rem;
    font-weight: 800;
    color: #ef4444;
    margin-top: 0.5rem;
    font-family: 'Courier New', monospace;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid var(--dark-border);
    padding: 2rem 0;
    margin-top: 3rem;
    transition: var(--transition);
}

.light-theme .footer {
    background: rgba(248, 250, 252, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand .pro {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.footer-info p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-link {
    color: var(--whatsapp-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.contact-link:hover {
    color: #128c7e;
    transform: translateY(-2px);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1.5rem;
}

.light-theme .footer-copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Tab panes */
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

.light-theme ::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-widget-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-bubble {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .currency-input {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .currency-selector {
        min-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .navbar-actions {
        gap: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .logo-icon {
        font-size: 3.5rem;
    }
}

/* Animations fixes */
.animate__animated {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix pour les inputs */
input, select {
    font-family: 'Inter', sans-serif;
}

/* Fix pour le body theme */
body.dark-theme {
    background: var(--gradient-dark);
}

body.light-theme {
    background: var(--gradient-dark);
}

/* Alerts */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    color: var(--text-primary);
}

.alert-success {
    border-color: var(--success-color);
}

.alert-warning {
    border-color: #f59e0b;
}

.alert-danger {
    border-color: #ef4444;
}

/* Styles pour les méthodes de paiement */
.payment-method {
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.payment-method:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.method-header {
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--dark-border);
    padding: 10px 15px;
}

.method-body {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
}

.light-theme .payment-method {
    border-color: #dee2e6;
}

.light-theme .method-header {
    background: #f8f9fa;
}

.light-theme .method-body {
    background: #ffffff;
}

/* Liste des méthodes disponibles */
.method-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin: 3px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

.method-badge i {
    margin-right: 6px;
}

/* Animation de chargement */
.loading-methods {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
}

/* Section méthodes disponibles dans modal */
.available-methods {
    margin-top: 20px;
    padding: 15px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Montant affiché */
.amount-display {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-weight: bold;
}

/* Détails de transaction */
.transaction-details {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
}

.light-theme .transaction-details {
    background: rgba(248, 250, 252, 0.8);
}

/* Responsive pour les méthodes de paiement */
@media (max-width: 768px) {
    .payment-method {
        margin-bottom: 10px;
    }
    
    .method-badge {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .available-methods {
        padding: 10px;
    }
}