/* Menu profil utilisateur violet et username */
.profile-menu {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 30px;
    z-index: 1002;
}
.profile-btn-violet {
    background: linear-gradient(135deg, #8b5cf6 60%, #a855f7 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 2rem;
    min-width: 44px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 12px 0 #8b5cf633;
    transition: background 0.2s;
    cursor: pointer;
    padding: 0 1.1rem 0 0.8rem;
    font-weight: 600;
    gap: 0.7rem;
    z-index: 1002;
}
.profile-btn-violet:hover {
    background: #a855f7 !important;
    color: #fff !important;
}
.profile-btn-violet i {
    color: #fff !important;
}
.profile-username {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-left: 0.3rem;
    letter-spacing: 0.01em;
}
.profile-dropdown {
    z-index: 9999 !important;
    position: absolute !important;
    top: 48px !important;
    left: -40% !important;
    transform: translateZ(0) !important;
    min-width: 200px !important;
    background: rgba(13, 13, 13, 0.95) !important;
    border-radius: 1rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    padding: 0.7rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0s linear 0.15s;
    backdrop-filter: blur(12px) !important;
}
.profile-dropdown[style*="display: block"],
.profile-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.15s, visibility 0s;
}
.profile-dropdown a {
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
}
.profile-dropdown a:hover {
    background: #8b5cf6;
    color: #fff;
}
.profile-dropdown i {
    width: 20px;
    height: 20px;
}
/* Base CSS - Styles communs à toutes les pages */
:root {
    /* Palette de couleurs style Chaos/ProjectDiscovery - minimaliste */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-surface: #141414;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --text-subtle: #404040;
    --accent-primary: #ffffff;
    --accent-secondary: #e6e6e6;
    --accent-violet: #8b5cf6;
    --accent-green: #00ff88;
    --accent-orange: #ff6b35;
    --accent-red: #ff4757;
    --border-primary: #2a2a2a;
    --border-secondary: #1f1f1f;
    --border-subtle: #333333;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Carte simple style Chaos */
.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.glass-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--text-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Boutons style Chaos - minimaliste */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    background: transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Links */
a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-primary);
}

/* Utility classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}



.profile-img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: #a855f7 2px solid;
}
