/* Styles extraits automatiquement pour me/layout_member.ejs */
.toast-container {
        position: fixed;
        bottom: 30px;
        right: 30px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 10000;
        pointer-events: none;
        max-width: 400px;
        width: 100%;
    }
    .premium-toast {
        pointer-events: auto;
        background: rgba(13, 20, 38, 0.85);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 16px;
        padding: 16px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
        backdrop-filter: blur(12px);
        color: white;
        display: flex;
        align-items: center;
        gap: 14px;
        transform: translateX(120%);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }
    .premium-toast.show {
        transform: translateX(0);
    }
    .premium-toast-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        background: linear-gradient(90deg, #3b82f6, #60a5fa);
        width: 100%;
        animation: toast-progress-anim 5s linear forwards;
    }
    .toast-icon {
        font-size: 1.5rem;
        background: rgba(59, 130, 246, 0.15);
        padding: 8px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .toast-content {
        flex: 1;
    }
    .toast-title {
        font-weight: 800;
        font-size: 0.95rem;
        margin-bottom: 3px;
        color: #6366f1;
    }
    .toast-text {
        font-size: 0.85rem;
        color: #94a3b8;
        line-height: 1.3;
    }
    .toast-close {
        background: none;
        border: none;
        color: #64748b;
        cursor: pointer;
        font-size: 0.9rem;
        padding: 4px;
        transition: color 0.2s ease;
    }
    .toast-close:hover {
        color: white;
    }

    @keyframes toast-progress-anim {
        from { width: 100%; }
        to { width: 0%; }
    }

.aurora-modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(2, 6, 23, 0.7);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 20000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .aurora-modal-overlay.active {
        display: flex;
        opacity: 1;
    }
    .aurora-modal {
        background: rgba(13, 20, 38, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        width: 100%;
        max-width: 480px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        overflow: hidden;
        transform: scale(0.9) translateY(20px);
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .aurora-modal-overlay.active .aurora-modal {
        transform: scale(1) translateY(0);
    }
    .aurora-modal-header {
        padding: 32px 32px 16px;
        text-align: center;
    }
    .aurora-modal-icon {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
    }
    .aurora-modal-icon.warning {
        background: rgba(245, 158, 11, 0.15);
        color: #fbbf24;
        border: 1px solid rgba(245, 158, 11, 0.2);
    }
    .aurora-modal-icon.danger {
        background: rgba(239, 68, 68, 0.15);
        color: #ef4444;
        border: 1px solid rgba(239, 68, 68, 0.2);
    }
    .aurora-modal-icon.info {
        background: rgba(99, 102, 241, 0.15);
        color: #818cf8;
        border: 1px solid rgba(99, 102, 241, 0.2);
    }
    .aurora-modal-icon.success {
        background: rgba(16, 185, 129, 0.15);
        color: #10b981;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }
    .aurora-modal-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: white;
        font-family: 'Outfit';
        margin-bottom: 8px;
    }
    .aurora-modal-body {
        padding: 0 32px 32px;
        text-align: center;
        color: #94a3b8;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .aurora-modal-footer {
        padding: 0 32px 32px;
        display: flex;
        gap: 12px;
    }
    .aurora-modal-footer button {
        flex: 1;
        padding: 14px;
        border-radius: 16px;
        font-weight: 800;
        font-family: 'Outfit';
        cursor: pointer;
        transition: all 0.2s;
        border: none;
        font-size: 0.95rem;
    }
    .aurora-modal-btn-cancel {
        background: rgba(255, 255, 255, 0.05);
        color: #94a3b8;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .aurora-modal-btn-cancel:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    .aurora-modal-btn-confirm {
        background: #5865F2;
        color: white;
        box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
    }
    .aurora-modal-btn-confirm:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(88, 101, 242, 0.4);
    }
    .aurora-modal-btn-confirm.danger {
        background: #ef4444;
        box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    }
    .aurora-modal-btn-confirm.danger:hover {
        box-shadow: 0 12px 24px rgba(239, 68, 68, 0.4);
    }

@keyframes slideUp {
            from { transform: translateY(100px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

.legal-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(3, 7, 18, 0.85);
            backdrop-filter: blur(8px);
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .legal-modal-overlay.active {
            opacity: 1;
        }
        .legal-modal {
            background: #0b0f19;
            border: 1px solid rgba(255, 255, 255, 0.08);
            width: 90%;
            max-width: 800px;
            height: 80%;
            max-height: 700px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .legal-modal-overlay.active .legal-modal {
            transform: scale(1);
        }
        .legal-modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.01);
        }
        .legal-modal-header h3 {
            margin: 0;
            font-size: 1.3rem;
            font-weight: 800;
            font-family: 'Outfit', sans-serif;
            color: #fff;
            background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .legal-modal-close {
            background: none;
            border: none;
            color: rgba(243, 244, 246, 0.5);
            font-size: 2rem;
            cursor: pointer;
            line-height: 1;
            transition: color 0.2s;
            padding: 0;
        }
        .legal-modal-close:hover {
            color: #ef4444;
        }
        .legal-modal-body {
            padding: 24px;
            overflow-y: auto;
            flex-grow: 1;
            color: #cbd5e1;
            font-size: 0.95rem;
            line-height: 1.6;
            font-family: 'Outfit', sans-serif;
        }
        .legal-modal-body h1, .legal-modal-body h2, .legal-modal-body h3 {
            color: #fff;
            margin-top: 24px;
            margin-bottom: 12px;
        }
        .legal-modal-body p {
            margin-bottom: 16px;
        }
        .legal-modal-body::-webkit-scrollbar {
            width: 8px;
        }
        .legal-modal-body::-webkit-scrollbar-track {
            background: transparent;
        }
        .legal-modal-body::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 4px;
        }
        .legal-modal-body::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.15);
        }

.css-me-layout_member-1 { position: relative; width: 100%; }

.css-me-layout_member-2 { color: var(--color-primary); margin-right: 8px; }

.css-me-layout_member-3 { font-size: 0.7rem; opacity: 0.6; }

.css-me-layout_member-4 { display: none; }

.css-me-layout_member-5 { color: #8b5cf6; }

.css-me-layout_member-6 { color: #10b981; }

.css-me-layout_member-7 { color: #2563eb; }

.css-me-layout_member-8 { color: #94a3b8; }

.css-me-layout_member-9 { text-align: center; padding: 30px 20px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 60px; font-family: 'Outfit', sans-serif; }

.css-me-layout_member-10 { color: #94a3b8; font-size: 0.85rem; margin: 0; }

.css-me-layout_member-11 { margin: 8px 0 0 0; font-size: 0.82rem; display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }

.css-me-layout_member-12 { color: #6366f1; text-decoration: none; font-weight: 700; transition: color 0.2s; }

.css-me-layout_member-13 { color: rgba(255,255,255,0.15); }

.css-me-layout_member-14 { color: #6366f1; text-decoration: none; font-weight: 700; transition: color 0.2s; }

.css-me-layout_member-15 { color: ${color}; background: ${color}1a; }

.css-me-layout_member-16 { color: ${color}; }

.css-me-layout_member-17 { background: linear-gradient(90deg, ${color}, ${color}cc); }

.css-me-layout_member-18 { display: none; padding: 0 32px 24px; }

.css-me-layout_member-19 { background: rgba(0, 0, 0, 0.25) !important;
                border: 1px solid rgba(255, 255, 255, 0.08) !important;
                border-radius: 12px !important;
                color: white !important;
                padding: 12px 14px !important;
                font-size: 0.9rem !important;
                outline: none !important;
                width: 100% !important;
                box-sizing: border-box !important;
                min-height: 100px;
                resize: vertical;
                font-family: inherit; }

.member-footer {
    margin-top: 48px;
    padding: 24px 0 16px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.footer-links {
    margin: 8px 0 0 0;
    font-size: 0.82rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
}

.gdpr-cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 99999;
    font-family: 'Outfit', sans-serif;
    animation: slideUp 0.4s ease-out;
}

.gdpr-cookie-content {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.gdpr-cookie-icon {
    font-size: 1.6rem;
    color: #fbbf24;
    flex-shrink: 0;
}

.gdpr-cookie-title {
    color: #f8fafc;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 4px;
}

.gdpr-cookie-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
}

.gdpr-cookie-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.gdpr-cookie-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

.gdpr-cookie-link:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.03);
}

.gdpr-cookie-accept {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.gdpr-cookie-accept:hover {
    transform: translateY(-1px);
}

.legal-modal-overlay,
.css-me-layout_member-28 {
    display: none;
}