/* CORE NAVBAR LAYOUT - CRITICAL STYLES */
.navbar {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 51, 102, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 51, 102, 0.005) 2px,
            rgba(0, 51, 102, 0.005) 4px
        ) !important;
    height: 141px !important;
    padding: 2px 25px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    box-shadow: 
        0 4px 20px rgba(0, 51, 102, 0.1),
        0 8px 40px rgba(0, 51, 102, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px) saturate(180%) brightness(1.1) !important;
    border-bottom: 2px solid var(--primary-blue) !important;
}

/* NAVBAR SECTIONS - THREE PART LAYOUT */
.navbar-left,
.navbar-center,
.navbar-right {
    padding-bottom: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
}

.navbar-left {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    position: relative !important;
    z-index: 50;
    pointer-events: auto;
    justify-content: flex-start;
}

.navbar-center {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1 !important;
}

.navbar-right {
    flex: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    gap: 20px !important;
    justify-content: flex-end !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* PHOENIX LOGO POSITIONING */
.phoenix-logo {
    height: 150px !important;
    width: auto !important;
    max-width: 300px !important;
    border-radius: 0 !important;
    filter: brightness(1.15) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    padding: 1px !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* NLA LOGO - SOPHISTICATED STEP FORMATION WITH ENHANCED EFFECTS */
.nla-logo {
    font-size: 84px !important;
    font-weight: 900 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    gap: 4px !important;
    letter-spacing: 3px !important;
    width: auto !important;
    padding-bottom: 20px !important;
    display: flex !important;
    align-items: flex-end !important;
    height: 100% !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    filter: drop-shadow(0 4px 12px rgba(0, 51, 102, 0.4)) drop-shadow(0 2px 6px rgba(255, 107, 53, 0.2)) !important;
    position: relative !important;
}

.nla-logo::before {
    content: '' !important;
    position: absolute !important;
    top: -10px !important;
    left: -10px !important;
    right: -10px !important;
    bottom: -10px !important;
    background: linear-gradient(45deg, 
        rgba(0, 115, 230, 0.1) 0%, 
        rgba(255, 107, 53, 0.1) 30%, 
        rgba(0, 51, 102, 0.1) 60%,
        rgba(0, 115, 230, 0.1) 100%) !important;
    border-radius: 15px !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    z-index: -1 !important;
}

.nla-logo:hover {
    transform: scale(1.08) translateY(-2px) !important;
    filter: drop-shadow(0 8px 20px rgba(0, 51, 102, 0.6)) 
           drop-shadow(0 4px 15px rgba(255, 107, 53, 0.4)) 
           drop-shadow(0 0 30px rgba(0, 115, 230, 0.3)) !important;
}

.nla-logo:hover::before {
    opacity: 1 !important;
}

.nla-letter {
    background: linear-gradient(135deg, 
        #0073e6 0%, 
        #ff6b35 25%, 
        #0052a3 50%, 
        #ff8f65 75%, 
        #003366 100%) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 3px !important;
    font-weight: 900 !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    text-shadow: none !important;
    animation: nla-gradient-shift 4s ease-in-out infinite !important;
}

.nla-letter::before {
    content: attr(data-letter) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: linear-gradient(135deg, 
        rgba(0, 115, 230, 0.6) 0%, 
        rgba(255, 107, 53, 0.6) 50%, 
        rgba(0, 51, 102, 0.8) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    z-index: -1 !important;
    filter: blur(2px) !important;
    transform: translate(2px, 2px) !important;
}

.nla-letter::after {
    content: attr(data-letter) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    z-index: 1 !important;
    opacity: 0.3 !important;
    transform: translate(-1px, -1px) !important;
}

/* CONSTRAINED STEP FORMATION FOR NLA LETTERS */
.nla-n {
    transform: translateY(8px) rotateZ(-1deg) !important; /* Reduced movement */
    animation: nla-pulse-n 3.5s ease-in-out infinite alternate !important;
}

.nla-l {
    transform: translateY(0px) rotateZ(0.5deg) !important; /* Reduced rotation */
    animation: nla-pulse-l 3.5s ease-in-out infinite alternate 0.7s !important;
}

.nla-a {
    transform: translateY(-8px) rotateZ(-0.5deg) !important; /* Reduced movement */
    animation: nla-pulse-a 3.5s ease-in-out infinite alternate 1.4s !important;
}

/* SOPHISTICATED NLA ANIMATIONS */
@keyframes nla-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes nla-pulse-n {
    0% { 
        filter: drop-shadow(0 0 8px rgba(0, 115, 230, 0.4)) drop-shadow(0 0 15px rgba(0, 115, 230, 0.2));
        transform: translateY(20px) rotateZ(-2deg) scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(0, 115, 230, 0.8)) drop-shadow(0 0 35px rgba(0, 115, 230, 0.4));
        transform: translateY(20px) rotateZ(-2deg) scale(1.02);
    }
}

@keyframes nla-pulse-l {
    0% { 
        filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.4)) drop-shadow(0 0 15px rgba(255, 107, 53, 0.2));
        transform: translateY(0px) rotateZ(1deg) scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 35px rgba(255, 107, 53, 0.4));
        transform: translateY(0px) rotateZ(1deg) scale(1.02);
    }
}

@keyframes nla-pulse-a {
    0% { 
        filter: drop-shadow(0 0 8px rgba(0, 51, 102, 0.4)) drop-shadow(0 0 15px rgba(0, 51, 102, 0.2));
        transform: translateY(-20px) rotateZ(-1deg) scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(0, 51, 102, 0.8)) drop-shadow(0 0 35px rgba(0, 51, 102, 0.4));
        transform: translateY(-20px) rotateZ(-1deg) scale(1.02);
    }
}

/* USER INFO STYLING */
.user-info {
    color: white !important;
    font-weight: 500 !important;
    margin-right: 10px !important;
}

.welcome-text {
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
}

/* CLEANED DROPDOWN STYLES - Removed duplicates and excessive !important */

/* Quick Links Container */
.quick-links {
    display: flex;
    margin-left: 0;
    gap: 6px;
}

/* QUICK LINKS - POSITIONED NEXT TO HAMBURGER AT BOTTOM EDGE */
.quick-links {
    display: flex !important;
    margin-left: 15px !important;
    gap: 4px !important;
    align-items: flex-end !important;
    margin-bottom: 0px !important;
    height: auto !important;
    position: absolute !important;
    bottom: 1px !important;
    left: 55px !important;
    z-index: 60;
    pointer-events: auto;
}

.quick-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 3px !important;
    background: linear-gradient(145deg, rgba(0, 115, 230, 0.15), rgba(0, 115, 230, 0.10)) !important;
    border: 1px solid rgba(0, 115, 230, 0.3) !important;
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 101 !important;
}

.quick-link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

.quick-link:hover::before {
    left: 100% !important;
}

.quick-link:hover {
    background: linear-gradient(145deg, var(--primary-blue), #004080) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 3px 8px rgba(0, 115, 230, 0.4), 0 1px 4px rgba(0, 115, 230, 0.2) !important;
    border-color: rgba(0, 115, 230, 0.6) !important;
}

.quick-link .icon {
    font-size: 12px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
    transition: all 0.25s ease !important;
}

.quick-link:hover .icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    transform: scale(1.03) !important;
}

/* Universal Header Sizing Standards - Applied to all pages */
h1, h1 *, .profile-header h1, .hero-card h1, .athlete-name, .hero-profile-name, #profile-title {
    font-size: 32px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 20px 0 16px 0 !important;
}

/* Ensure athlete name gets proper font weight with higher specificity */
h1.athlete-name, .athlete-name-rating-section .athlete-name {
    font-weight: 900 !important;
    font-size: 32px !important;
}

h2, h2 *, .hero-card h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 18px 0 14px 0 !important;
}

h3, h3 *, .hero-card h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 16px 0 12px 0 !important;
}

h4, h4 *, .hero-card h4, .dropdown-section h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 14px 0 10px 0 !important;
}

h5, h5 *, .hero-card h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 12px 0 8px 0 !important;
}

h6, h6 *, .hero-card h6 {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 10px 0 6px 0 !important;
}

/* First header in any container should have reduced top margin */
*:first-child h1,
*:first-child h2,
*:first-child h3,
*:first-child h4,
*:first-child h5,
*:first-child h6 {
    margin-top: 0 !important;
}

/* CLEAN DROPDOWN POSITIONING */
.dropdown {
    position: absolute;
    display: inline-block;
    bottom: 1px;
    left: 15px;
    z-index: 100;
}

.dropdown-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003366 100%) !important;
    color: white !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 115, 230, 0.2) !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}

/* CLEAN DROPDOWN BUTTON */
.dropdown-btn.icon-only {
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(0, 115, 230, 0.1), rgba(0, 115, 230, 0.05));
    border: 1px solid rgba(0, 115, 230, 0.2);
    box-shadow: 0 2px 8px rgba(0, 115, 230, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: var(--primary-blue);
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
    cursor: pointer;
}

.dropdown-btn.icon-only::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.dropdown-btn.icon-only:hover::before {
    left: 100% !important;
}

.dropdown-btn:hover {
    background: linear-gradient(135deg, #4da6ff 0%, #0052a3 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 115, 230, 0.3) !important;
}

.dropdown-btn.icon-only:hover {
    background: linear-gradient(145deg, var(--primary-blue), #004080) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 4px 16px rgba(0, 115, 230, 0.3), 
        0 2px 8px rgba(0, 115, 230, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(0, 115, 230, 0.6) !important;
}

/* Modern Hamburger Menu */
.hamburger-menu {
    width: 20px !important;
    height: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    pointer-events: none !important; /* Let clicks pass through to button */
}

.hamburger-line {
    width: 100% !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #4da6ff 100%) !important;
    border-radius: 2px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-origin: center !important;
    box-shadow: 0 1px 2px rgba(0, 115, 230, 0.3) !important;
    pointer-events: none !important; /* Let clicks pass through to button */
}

/* Hamburger hover effects */
.dropdown-btn.icon-only:hover .hamburger-line {
    background: linear-gradient(90deg, white 0%, #e6f2ff 100%) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Hamburger animation when active */
.dropdown.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}

.dropdown.active .hamburger-line:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}

.dropdown.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* Enhanced hover animation for hamburger lines */
.hamburger-line:nth-child(1) {
    animation: hamburger-line-bounce 2s ease-in-out infinite alternate !important;
}

.hamburger-line:nth-child(2) {
    animation: hamburger-line-bounce 2s ease-in-out infinite alternate 0.2s !important;
}

.hamburger-line:nth-child(3) {
    animation: hamburger-line-bounce 2s ease-in-out infinite alternate 0.4s !important;
}

@keyframes hamburger-line-bounce {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(0.9); }
    100% { transform: scaleX(1); }
}

.dropdown-btn.icon-only:hover .hamburger-line {
    animation: none !important;
}

.hamburger-icon {
    font-size: 18px;
}

.dropdown-content {
    display: none;
    position: absolute;
    /* Hybrid Black Marble-Gloss Background */
    background: 
        /* Gloss overlay for tech feel */
        linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%),
        /* Subtle marble veining */
        linear-gradient(25deg, transparent 40%, rgba(200, 200, 200, 0.03) 45%, transparent 50%),
        linear-gradient(165deg, transparent 60%, rgba(220, 220, 220, 0.02) 65%, transparent 70%),
        linear-gradient(85deg, transparent 30%, rgba(180, 180, 180, 0.02) 35%, transparent 40%),
        /* Deep black marble base */
        linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 30%, #0f0f0f 70%, #151515 100%);
    min-width: 300px;
    max-width: 340px;
    box-shadow: 
        /* Enhanced shadows for marble depth */
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.8),
        0 8px 20px rgba(255, 255, 255, 0.02),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    z-index: 99999;
    top: 100%;
    left: 0;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
}

.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownSlideIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Enhanced dropdown animations */
.dropdown.active .dropdown-section {
    animation: sectionFadeIn 0.4s ease forwards;
}

.dropdown.active .dropdown-section:nth-child(1) { animation-delay: 0.1s; }
.dropdown.active .dropdown-section:nth-child(2) { animation-delay: 0.15s; }
.dropdown.active .dropdown-section:nth-child(3) { animation-delay: 0.2s; }
.dropdown.active .dropdown-section:nth-child(4) { animation-delay: 0.25s; }
.dropdown.active .dropdown-section:nth-child(5) { animation-delay: 0.3s; }
.dropdown.active .dropdown-section:nth-child(6) { animation-delay: 0.35s; }
.dropdown.active .dropdown-section:nth-child(7) { animation-delay: 0.4s; }
.dropdown.active .dropdown-section:nth-child(8) { animation-delay: 0.45s; }
.dropdown.active .dropdown-section:nth-child(9) { animation-delay: 0.5s; }
.dropdown.active .dropdown-section:nth-child(10) { animation-delay: 0.55s; }

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@keyframes dropdownSlideOut {
    from {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown-section {
    /* Enhanced marble section background */
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
        linear-gradient(145deg, rgba(40, 40, 40, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin: 6px 0;
    padding: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dropdown-section:hover {
    /* Enhanced marble hover effect */
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(145deg, rgba(50, 50, 50, 0.7) 0%, rgba(30, 30, 30, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* PROFESSIONAL DROPDOWN STYLING */
.dropdown-section h4 {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 0 12px 0;
    margin: 0 0 10px 0;
    border-bottom: 2px solid rgba(74, 144, 226, 0.4);
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.dropdown-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #6bb6ff);
    border-radius: 1px;
}

.dropdown-section a {
    color: #e6f3ff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    display: block;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px;
    margin: 4px 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(74, 144, 226, 0.04));
    border: 1px solid rgba(74, 144, 226, 0.15);
    position: relative;
    overflow: hidden;
}

.dropdown-section a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-section a:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.25), rgba(74, 144, 226, 0.15));
    color: #ffffff;
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateX(3px) translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.dropdown-section a.logout-link {
    color: #ffb3ba;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(255, 107, 107, 0.04));
    border-color: rgba(255, 107, 107, 0.15);
}

.dropdown-section a.logout-link:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 107, 107, 0.15));
    color: #ffffff;
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 
        0 4px 12px rgba(255, 107, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dropdown-section:last-child {
    border-bottom: none;
}

/* Enhanced scrolling for dropdown content */
#fixed-dropdown,
.dropdown-content {
    max-height: 70vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    /* Smooth scrolling */
    scroll-behavior: smooth !important;
    /* Custom scrollbar for better UX */
    scrollbar-width: thin !important;
    scrollbar-color: var(--primary-blue) rgba(255, 255, 255, 0.1) !important;
}

/* Webkit scrollbar styling */
#fixed-dropdown::-webkit-scrollbar,
.dropdown-content::-webkit-scrollbar {
    width: 8px !important;
}

#fixed-dropdown::-webkit-scrollbar-track,
.dropdown-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

#fixed-dropdown::-webkit-scrollbar-thumb,
.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue) !important;
    border-radius: 4px !important;
}

#fixed-dropdown::-webkit-scrollbar-thumb:hover,
.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange) !important;
}

/* Ensure all dropdown sections are visible */
#fixed-dropdown .dropdown-section,
.dropdown-content .dropdown-section {
    flex-shrink: 0 !important;
    min-height: auto !important;
}

/* Ensure logout section is always visible */
#fixed-dropdown .dropdown-section:last-child,
.dropdown-content .dropdown-section:last-child {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}

/* Phoenix Logo Specific Fix - Targeted only */
.phoenix-logo,
.navbar-center .phoenix-logo,
body .navbar-center .phoenix-logo {
    height: 150px !important;
    width: auto !important;
    max-width: 300px !important;
    border-radius: 0 !important;
    filter: brightness(1.15) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    padding: 1px !important;
    /* Ensure it's not affected by global header styles */
    font-size: initial !important;
    font-weight: initial !important;
    line-height: initial !important;
    margin: 0 !important;
}
