/* =========================================
   1. VARIABLES & RESET PREMIUM
   ========================================= */
:root {
    --dark-bg: #1a1a1a;
    --header-bg: #2c2c2c;
    --cherry: #e63946;
    --cherry-hover: #ff4d5a;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. LAYOUT DU HEADER - MOBILE FIRST
   ========================================= */
#header_top_menu {
    height: 70px;
    background: linear-gradient(180deg, #2c2c2c 0%, #252525 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    overflow: visible;
    transition: left 0.3s ease;
}

/* Desktop: Header commence après la sidebar */
@media (min-width: 976px) {
    #header_top_menu {
        left: var(--sidebar-width-open, 280px);
    }

    /* Quand sidebar collapsed */
    body.sidebar-collapsed #header_top_menu {
        left: var(--sidebar-width-closed, 70px);
    }
}

/* Effet de lumière subtile en haut du header - Desktop uniquement */
#header_top_menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(230, 57, 70, 0.3),
            transparent);
    display: none;
    /* Caché par défaut sur mobile */
}

/* Afficher la ligne lumineuse uniquement sur desktop */
@media (min-width: 976px) {
    #header_top_menu::before {
        display: block;
    }
}

#header_top_menu .container-fluid {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0 !important;
    padding: 0 10px;
    height: 100%;
    max-width: 100vw;
    overflow: visible;
    box-sizing: border-box;
}

/* =========================================
   BLOC GAUCHE - ZERO ESPACE
   ========================================= */
.nav-left {
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-left>* {
    margin: 0 !important;
    padding: 0 !important;
}

.header-logo {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.header-logo-link {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
    gap: 0 !important;
}

.header-logo>div,
.header-logo .me-0 {
    margin: 0 !important;
    padding: 0 !important;
}

.brandlogo {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    margin: 0 5px 0 0 !important;
    /* 1px entre logo et NYASSE */
    padding: 0 !important;
}

.brand {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #e63946 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle;
    white-space: nowrap;
}

.brand::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cherry), #ff5a6a);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.brand:hover::after {
    width: 100%;
}

.brand:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.3));
}

/* Hamburger - Mobile First */
.left-menu-icon {
    display: none;
    margin: 0 !important;
    padding: 0 !important;
}

.left-menu-icon .btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 48px;
    height: 48px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.left-menu-icon .btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.4s ease,
        height 0.4s ease;
}

.left-menu-icon .btn:hover::before {
    width: 80px;
    height: 80px;
}

.left-menu-icon .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cherry);
    transform: scale(1.05);
}

.left-menu-icon .btn:active {
    transform: scale(0.95);
}

.left-menu-icon .icon {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.3s ease;
}

.left-menu-icon .btn:hover .icon {
    fill: var(--cherry);
}

@media (max-width: 975px) {
    .left-menu-icon {
        display: block !important;
        margin-right: 4px !important;
    }
}

/* =========================================
   BLOC CENTRE - RECHERCHE (Style YouTube)
   ========================================= */
.desktop-searchbar-wrapper {
    flex: 1 1 auto;
    /* Prend tout l'espace disponible */
    display: flex;
    justify-content: center;
    max-width: 800px;
    /* Max élargi pour exploiter l'espace */
    min-width: 140px;
    position: relative;
    z-index: 1001;
    transition: var(--transition);
    margin: 0 12px !important;
    /* Marges réduites pour plus d'espace */
}

.search-pill-container {
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 4px 6px 4px 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance au survol */
.search-pill-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.search-pill-container:hover::before {
    left: 100%;
}

.search-pill-container:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-pill-container:focus-within {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--cherry);
    box-shadow:
        0 0 0 4px rgba(230, 57, 70, 0.15),
        0 4px 20px rgba(230, 57, 70, 0.2);
    transform: translateY(-1px) scale(1.01);
}

/* Icône de recherche intégrée */
.search-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-right: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-pill-container:focus-within .search-pill-icon {
    color: var(--cherry);
    transform: scale(1.1);
}

.search-pill-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--text-main) !important;
    font-size: 12px;
    font-weight: 400;
    height: 32px;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.search-pill-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    transition: color 0.3s ease;
}

.search-pill-container:focus-within .search-pill-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Bouton reset (croix) */
.search-pill-reset-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 3px 0 0;
    flex-shrink: 0;
}

.search-pill-reset-btn:hover {
    color: white;
    background: rgba(230, 57, 70, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.search-pill-reset-btn:active {
    transform: rotate(90deg) scale(0.9);
}

/* Bouton de recherche */
.search-pill-submit-btn {
    background: linear-gradient(135deg, var(--cherry) 0%, #ff5a6a 100%);
    color: white;
    border: none;
    border-radius: 50px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.search-pill-submit-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.search-pill-submit-btn:hover::before {
    width: 100px;
    height: 100px;
}

.search-pill-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.search-pill-submit-btn:active {
    transform: scale(0.95);
}

.search-pill-submit-btn i {
    position: relative;
    z-index: 1;
    font-size: 14px;
}

/* =========================================
   BLOC DROITE - BOUTONS
   ========================================= */
.nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
    padding: 0;
    margin: 0 0 0 8px;
}

/* Enlever l'espace à droite inutile */
.header-dd.not-loggedin-right-menu-icon {
    display: none;
}

/* =========================================
   3. DROPDOWN RÉSULTATS
   ========================================= */
.desktop-searchbar-data-list {
    position: fixed;
    top: 80px;
    left: auto;
    right: auto;
    background: linear-gradient(180deg, #1e1e1e 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 20px;
    z-index: 10000;
    display: none;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: dropdownSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.desktop-searchbar-data-list-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.desktop-searchbar-data-list-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--cherry), transparent);
}

/* Bouton fermer résultats recherche */
.search-result-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    z-index: 10;
}

.search-result-close-btn:hover {
    background: var(--cherry);
    border-color: var(--cherry);
    color: white;
    transform: scale(1.1);
}

.search-trends-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    padding-right: 40px;
    /* Espace pour le bouton fermer */
}

.search-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Message "Aucune annonce" */
.search-results-grid>div {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Style des Pilules de résultats */
.search-result-pill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.search-result-pill-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(230, 57, 70, 0.1),
            transparent);
    transition: left 0.4s ease;
}

.search-result-pill-item:hover::before {
    left: 100%;
}

.search-result-pill-item:hover {
    background: rgba(230, 57, 70, 0.15);
    border-color: var(--cherry);
    color: white;
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.search-result-pill-item:active {
    transform: translateX(2px) scale(0.98);
}

.search-result-pill-item i {
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.search-result-pill-item:hover i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--cherry);
}

.pill-item-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.search-result-pill-item.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.lock-icon {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    margin-left: auto;
}

/* =========================================
   4. USER DROPDOWN - MOBILE FIRST
   ========================================= */
.user-dropdown-container {
    position: relative;
    display: inline-block;
    z-index: 1002;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.user-dropdown-trigger::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.user-dropdown-trigger:hover::before {
    left: 100%;
}

.user-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.user-dropdown-trigger.active {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--cherry);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.user-dropdown-trigger .user-avatar,
.user-dropdown-trigger .user-avatar-initials {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    flex-shrink: 0;
}

.user-dropdown-trigger .user-avatar {
    object-fit: cover;
}

.user-dropdown-trigger .user-avatar-initials {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-dropdown-badge {
    position: absolute;
    top: -3px;
    right: 26px;
    background: #e63946;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.dropdown-arrow {
    font-size: 10px;
    color: white;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.user-dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* ✅ DROPDOWN POSITIONNÉ EN FIXED (Style YouTube) */
.user-dropdown-menu {
    position: fixed !important;
    top: 75px;
    right: 10px;
    width: 300px;
    max-height: calc(100vh - 100px);
    /* Hauteur max adaptative */
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Overlay semi-transparent quand dropdown ouvert (style YouTube) */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Flèche */
.user-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);
}

/* En-tête cliquable (lien vers profil) */
.dropdown-user-header-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-user-header-link:hover {
    filter: brightness(1.1);
}

.dropdown-profile-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.dropdown-user-header-link:hover .dropdown-profile-arrow {
    transform: translateX(3px);
    color: white;
}

.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.dropdown-user-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 70%);
    animation: headerGlow 4s ease-in-out infinite;
}

@keyframes headerGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, 10px) scale(1.1);
    }
}

.dropdown-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.dropdown-user-header:hover .dropdown-user-avatar {
    transform: scale(1.08) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.dropdown-user-avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.dropdown-user-header:hover .dropdown-user-avatar-initials {
    transform: scale(1.08) rotate(-5deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.dropdown-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.dropdown-user-info strong {
    font-size: 14px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2px;
}

.dropdown-user-info span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            #e5e5e5 20%,
            #e5e5e5 80%,
            transparent 100%);
    margin: 8px 0;
    position: relative;
}

.dropdown-divider::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #e63946, #ff5a6a);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
    animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {

    0%,
    100% {
        left: -10px;
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }

    50% {
        left: calc(100% + 10px);
    }
}

.dropdown-menu-items {
    padding: 8px;
    overflow-y: auto;
    /* Scroll interne style YouTube */
    flex: 1;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll sur iOS */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Scrollbar personnalisée */
.dropdown-menu-items::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu-items::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-menu-items::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.dropdown-menu-items::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(230, 57, 70, 0.08),
            transparent);
    transition: left 0.4s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    color: #1a1a1a;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dropdown-item:active {
    transform: translateX(2px) scale(0.98);
}

.dropdown-item i {
    width: 18px;
    font-size: 16px;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover i {
    color: #e63946;
    transform: scale(1.15) rotate(-5deg);
}

.dropdown-item span {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    transition: letter-spacing 0.2s ease;
}

.dropdown-item:hover span {
    letter-spacing: 0.3px;
}

.item-badge {
    background: linear-gradient(135deg, #e63946 0%, #ff4d5a 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.3);
    animation: badgePulse 2s infinite;
}

.dropdown-item.highlight {
    background: linear-gradient(135deg,
            rgba(230, 57, 70, 0.08),
            rgba(255, 100, 100, 0.08));
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.dropdown-item.highlight::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #e63946, #ff5a6a);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.6);
    animation: highlightPulse 2s infinite;
}

@keyframes highlightPulse {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.2);
    }
}

.dropdown-item.highlight:hover {
    background: linear-gradient(135deg,
            rgba(230, 57, 70, 0.15),
            rgba(255, 100, 100, 0.15));
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
}

.dropdown-item.highlight i {
    color: #e63946;
}

.dropdown-item.danger {
    color: #dc3545;
}

.dropdown-item.danger:hover {
    background: linear-gradient(135deg,
            rgba(220, 53, 69, 0.1),
            rgba(255, 90, 95, 0.1));
    color: #c82333;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
}

.dropdown-item.danger:hover i {
    transform: scale(1.2) rotate(10deg);
}

.dropdown-item.danger i {
    color: #dc3545;
}

/* =========================================
   5. BOUTONS - MOBILE FIRST
   ========================================= */

/* Bouton Publier */
.btn-cherry {
    background: linear-gradient(135deg, var(--cherry) 0%, #ff4d5a 100%);
    border: none;
    color: white !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    text-transform: none !important;
    letter-spacing: 0.3px;
    font-size: 12px;
    white-space: nowrap;
}

.btn-cherry::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition:
        width 0.5s ease,
        height 0.5s ease;
}

.btn-cherry:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cherry:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.45);
}

.btn-cherry:active {
    transform: translateY(0) scale(0.98);
}

.btn-cherry i {
    margin-right: 3px;
    position: relative;
    z-index: 1;
    font-size: 11px;
}

.btn-cherry span,
.btn-cherry:not(:has(i)) {
    position: relative;
    z-index: 1;
}

/* Bouton S'identifier */
.push-white,
.bg-white.push-white {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 12px !important;
    white-space: nowrap;
}

.push-white::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transition: left 0.5s ease;
}

.push-white:hover::before {
    left: 100%;
}

.push-white:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.push-white:active {
    transform: translateY(0) scale(0.98);
}

/* Bouton S'inscrire */
.button-register,
.push-primary {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-size: 12px !important;
    white-space: nowrap;
}

.button-register::before,
.push-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.button-register:hover::before,
.push-primary:hover::before {
    left: 100%;
}

.button-register:hover,
.push-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.45);
}

.button-register:active,
.push-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Version mobile des boutons */
.header-mobile-signup {
    padding: 7px 14px !important;
    font-size: 11px !important;
}

/* =========================================
   6. HEADER MOBILE
   ========================================= */
#top-owner-mobile {
    display: none;
}

#top-owner-mobile .header-container {
    background: linear-gradient(180deg,
            rgba(30, 30, 30, 0.92),
            rgba(20, 20, 20, 0.95)) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: none;
    /* Supprime la ligne fine */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 0 !important;
    /* Réduit de 12px à 10px */
}

.profile-layout {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
}

.item-container i {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 22px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Zone Recherche Mobile (Overlay) */
.location-search-area {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
}

.location-search-area:not(.is-hidden) {
    display: block;
}

.location-search-section {
    padding: 20px;
}

.location-searchbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    height: 48px;
    padding: 0 20px 0 48px;
    font-size: 15px;
}

.location-searchbar:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: #e63946;
    outline: none;
}

#searchAnnonceForMobile {
    cursor: pointer;
    transition: transform 0.2s;
}

#searchAnnonceForMobile:hover {
    transform: scale(1.1);
}

/* Bloquer le scroll du body quand dropdown ouvert */
body.dropdown-open {
    overflow: hidden;
    position: relative;
}

/* Overlay sombre désactivé - dropdown s'ouvre sans griser la page */
/* .dropdown-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.dropdown-backdrop.active {
  opacity: 1;
  visibility: visible;
} */

/* Dropdown au-dessus du contenu normal */
.user-dropdown-menu {
    z-index: 10001;
}

/* Alternative : Fermer au scroll si vous préférez */
@media (min-width: 976px) {

    /* Sur desktop, on peut fermer au scroll */
    body.dropdown-open-scroll-close {
        overflow: auto;
        /* Permet le scroll */
    }
}

/* =========================================
   7. RESPONSIVE - MOBILE FIRST
   ========================================= */
/* 📊 TABLETTE (768px - 1200px) */
@media (min-width: 768px) {
    #header_top_menu .container-fluid {
        padding: 0 12px;
    }

    .brandlogo {
        width: 32px !important;
        height: 32px !important;
    }

    .brand {
        font-size: 22px;
    }

    .desktop-searchbar-wrapper {
        max-width: 600px;
        /* Plus grand sur tablette */
        margin: 0 10px !important;
    }

    .search-pill-container {
        padding: 5px 6px 5px 12px;
    }

    .search-pill-icon {
        font-size: 15px;
        margin-right: 10px;
    }

    .search-pill-input {
        font-size: 13px;
        height: 36px;
    }

    .search-pill-reset-btn {
        width: 26px;
        height: 26px;
        font-size: 17px;
    }

    .search-pill-submit-btn {
        width: 38px;
        height: 38px;
    }

    .search-pill-submit-btn i {
        font-size: 15px;
    }

    .nav-right {
        gap: 7px;
        margin-left: 10px;
    }

    .user-dropdown-trigger {
        gap: 7px;
        padding: 5px 11px 5px 5px;
    }

    .user-dropdown-trigger .user-avatar,
    .user-dropdown-trigger .user-avatar-initials {
        width: 32px;
        height: 32px;
    }

    .user-dropdown-trigger .user-avatar-initials {
        font-size: 13px;
    }

    .user-dropdown-badge {
        right: 28px;
        font-size: 10px;
        padding: 2px 5px;
        min-width: 16px;
    }

    .dropdown-arrow {
        font-size: 11px;
    }

    .user-dropdown-menu {
        width: 290px;
    }

    .dropdown-user-avatar,
    .dropdown-user-avatar-initials {
        width: 46px;
        height: 46px;
    }

    .dropdown-user-avatar-initials {
        font-size: 17px;
    }

    .dropdown-user-info strong {
        font-size: 15px;
    }

    .dropdown-user-info span {
        font-size: 12px;
    }

    .dropdown-item {
        padding: 11px 13px;
        gap: 11px;
    }

    .dropdown-item i {
        width: 19px;
        font-size: 17px;
    }

    .dropdown-item span {
        font-size: 14px;
    }

    .item-badge {
        font-size: 10px;
        padding: 3px 7px;
        min-width: 18px;
    }

    .btn-cherry {
        padding: 9px 16px !important;
        font-size: 13px;
    }

    .btn-cherry i {
        font-size: 12px;
        margin-right: 4px;
    }

    .push-white,
    .bg-white.push-white,
    .button-register,
    .push-primary {
        padding: 9px 14px !important;
        font-size: 13px !important;
    }
}

/* 💻 LAPTOP (900px+) - "GRAND ÉCRAN" DE RÉFÉRENCE */
@media (min-width: 976px) {
    #header_top_menu .container-fluid {
        padding: 0 16px;
    }

    .left-menu-icon {
        margin-right: 6px !important;
    }

    .brandlogo {
        width: 36px !important;
        height: 36px !important;
    }

    .brand {
        font-size: 24px;
    }

    .desktop-searchbar-wrapper {
        max-width: 750px;
        /* Grande zone comme YouTube */
        margin: 0 15px !important;
    }

    .search-pill-container {
        padding: 5px 6px 5px 14px;
    }

    .search-pill-icon {
        font-size: 16px;
        margin-right: 12px;
    }

    .search-pill-input {
        font-size: 14px;
        height: 40px;
    }

    .search-pill-reset-btn {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .search-pill-submit-btn {
        width: 40px;
        height: 40px;
    }

    .search-pill-submit-btn i {
        font-size: 16px;
    }

    .nav-right {
        gap: 6px;
        margin-left: 8px;
    }

    .user-dropdown-trigger {
        gap: 6px;
        padding: 4px 10px 4px 4px;
    }

    .user-dropdown-trigger .user-avatar,
    .user-dropdown-trigger .user-avatar-initials {
        width: 36px;
        height: 36px;
    }

    .user-dropdown-trigger .user-avatar-initials {
        font-size: 14px;
    }

    .user-dropdown-badge {
        right: 32px;
        font-size: 10px;
        padding: 2px 6px;
        min-width: 18px;
    }

    .dropdown-arrow {
        font-size: 12px;
    }

    .user-dropdown-menu {
        width: 300px;
        top: 80px;
        right: 15px;
    }

    .dropdown-user-header {
        gap: 14px;
        padding: 18px;
    }

    .dropdown-user-avatar,
    .dropdown-user-avatar-initials {
        width: 48px;
        height: 48px;
    }

    .dropdown-user-avatar-initials {
        font-size: 18px;
    }

    .dropdown-user-info strong {
        font-size: 15px;
    }

    .dropdown-user-info span {
        font-size: 12px;
    }

    .dropdown-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .dropdown-item i {
        width: 20px;
        font-size: 18px;
    }

    .dropdown-item span {
        font-size: 14px;
    }

    .item-badge {
        font-size: 10px;
        padding: 3px 7px;
        min-width: 20px;
    }

    .btn-cherry {
        padding: 9px 16px !important;
        font-size: 13px;
    }

    .btn-cherry i {
        margin-right: 4px;
        font-size: 12px;
    }

    .push-white,
    .bg-white.push-white,
    .button-register,
    .push-primary {
        padding: 9px 14px !important;
        font-size: 13px !important;
    }
}

/* 🖥️ TRÈS GRAND LAPTOP (1600px+) - SUPPRIMÉ
   Application mobile-first : max supporté = 1600px
   Au-delà, le body est centré avec max-width dans completion_main.css
*/

/* Entre 749px et 899px : cache "nyasse" */
@media screen and (max-width: 975px) and (min-width: 749px) {
    #navbarTitle {
        display: none !important;
    }

    .desktop-searchbar-wrapper {
        max-width: 500px;
        /* Zone de recherche plus grande même sans le titre */
    }
}

/* Point de bascule à 748px */
@media screen and (max-width: 748px) {
    .desktop-searchbar-wrapper {
        display: none !important;
    }

    #top-owner-mobile {
        display: block !important;
    }

    .brand {
        display: inline-flex !important;
    }
}

/* Mobile très petit */
@media (max-width: 480px) {
    .user-dropdown-menu {
        width: calc(100vw - 20px);
        right: 10px;
        left: 10px;
    }
}

/* =========================================
   ICÔNE NOTIFICATIONS (CLOCHE)
   ========================================= */
.header-icon-dropdown {
    position: relative;
    margin-right: 8px;
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.05);
}

.header-icon-btn.active {
    background: var(--cherry);
    color: #fff;
}

.header-icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--cherry);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--header-bg);
    line-height: 1;
}

/* =========================================
   DROPDOWN NOTIFICATIONS
   ========================================= */
.header-dropdown-menu {
    position: fixed;
    top: 75px;
    right: 10px;
    width: 340px;
    background: #2a2a2a;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow: hidden;
}

.header-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.header-dropdown-menu .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-dropdown-menu .dropdown-header span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.mark-all-read {
    font-size: 12px;
    color: var(--cherry);
    text-decoration: none;
    border: none;
    background: none;
    transition: opacity 0.2s;
}

.mark-all-read:hover {
    opacity: 0.8;
}

.header-dropdown-menu .dropdown-content {
    max-height: 320px;
    overflow-y: auto;
}

.header-dropdown-menu .dropdown-content::-webkit-scrollbar {
    width: 4px;
}

.header-dropdown-menu .dropdown-content::-webkit-scrollbar-track {
    background: transparent;
}

.header-dropdown-menu .dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.dropdown-empty {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.dropdown-empty i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.dropdown-empty p {
    margin: 0;
    font-size: 13px;
}

.dropdown-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-notif-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-notif-item.unread {
    background: rgba(230, 57, 70, 0.08);
}

.dropdown-notif-item .notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.dropdown-notif-item .notif-icon.notif-icon-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.dropdown-notif-item .notif-icon.notif-icon-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.dropdown-notif-item .notif-icon.notif-icon-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.dropdown-notif-item .notif-icon.notif-icon-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.dropdown-notif-item .notif-icon.notif-icon-primary {
    background: rgba(230, 57, 70, 0.15);
    color: var(--cherry);
}

.dropdown-notif-item .notif-icon.notif-icon-default {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-notif-item .notif-content {
    flex: 1;
    min-width: 0;
}

.dropdown-notif-item .notif-title {
    margin: 0;
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dropdown-notif-item .notif-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    display: block;
}

.header-dropdown-menu .dropdown-footer {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-dropdown-menu .dropdown-footer a {
    font-size: 13px;
    color: var(--cherry);
    text-decoration: none;
    font-weight: 500;
}

.header-dropdown-menu .dropdown-footer a:hover {
    text-decoration: underline;
}

/* =========================================
   SECTION FAVORIS DANS USER DROPDOWN
   ========================================= */
.dropdown-section {
    padding: 12px 0;
}

.dropdown-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-section-header i {
    color: var(--cherry);
}

.dropdown-section-header .section-count {
    margin-left: auto;
    background: rgba(230, 57, 70, 0.2);
    color: var(--cherry);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.dropdown-empty-small {
    padding: 15px 16px;
    text-align: center;
}

.dropdown-empty-small p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.dropdown-favorites-list {
    display: flex;
    flex-direction: column;
}

.dropdown-fav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-fav-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-fav-item .fav-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.dropdown-fav-item .fav-info {
    flex: 1;
    min-width: 0;
}

.dropdown-fav-item .fav-title {
    display: block;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-fav-item .fav-city {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.dropdown-see-all {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--cherry);
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5px;
}

.dropdown-see-all:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* =========================================
   RESPONSIVE NOTIFICATIONS
   ========================================= */
@media (max-width: 576px) {
    .header-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .header-dropdown-menu {
        width: calc(100vw - 20px);
        right: 10px;
        left: 10px;
        top: 70px;
        position: fixed;
    }
}

/* =========================================
   RESPONSIVE 990px - 1060px (Ajustement header)
   ========================================= */

@media (min-width: 990px) and (max-width: 1060px) {
    .desktop-searchbar-wrapper {
        max-width: 350px !important;
        margin: 0 8px !important;
    }

    .header-icon-container {
        margin: 0 4px !important;
    }

    .header-icon-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }

    .user-dropdown-trigger {
        padding: 6px 8px !important;
        font-size: 13px !important;
    }

    .user-avatar,
    .user-avatar-initials {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    .dropdown-arrow {
        font-size: 11px !important;
    }
}

/* =========================================
   CHAT ORIA BUTTON
   ========================================= */

#oriaChatBtn {
    position: relative;
}

#oriaChatBtn i {
    background: linear-gradient(135deg, #e63946 0%, #c13584 50%, #7f56d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    transition: transform 0.2s;
}

#oriaChatBtn:hover i {
    transform: scale(1.1);
}

#oriaChatBtn:active i {
    transform: scale(0.95);
}
