/* ========== HEADER & NAVIGATION STYLES ========== */
:root {
    --primary: #8C52FF;
    --primary-dark: #6C3FE8;
    --secondary: #4E6AFF;
    --accent: #FF3C78;
    --dark: #121212;
    --light: #FFFFFF;
    --gray: #888888;
    --gray-light: rgba(255, 255, 255, 0.1);
    --success: #00C896;
    --warning: #FFC107;
    --danger: #FF5252;
    --info: #03A9F4;
    --gradient-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, #FF6B6B 100%);
    --success-gradient: linear-gradient(135deg, var(--success) 0%, #00E0B0 100%);
    --warning-gradient: linear-gradient(135deg, var(--warning) 0%, #FFD94C 100%);
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --card-bg: rgba(30, 30, 40, 0.8);
    --nav-bg: rgba(35, 35, 45, 0.8);
    --item-hover: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.08);
}

/* Header */
.main-header {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Header Menu Styles */
.header-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 30px; /* Add margin to create gap between menu and account icon */
}

.header-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.header-nav-item {
    position: relative;
}

.header-nav-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--light);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-nav-link:hover {
    background: rgba(140, 82, 255, 0.15);
    color: var(--light);
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(140, 82, 255, 0.3);
    transform: translateY(-1px);
}

.header-nav-link.active {
    background: var(--primary);
    color: var(--light);
    font-weight: 600;
    border-radius: 5px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.vinyl-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: spin 8s linear infinite;
    position: relative;
    background: #2a2a2a;
    box-shadow: 0 0 20px rgba(140, 82, 255, 0.6),
        inset 0 0 40px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(140, 82, 255, 0.9);
    will-change: transform;
}

.vinyl-logo::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center,
            rgba(60, 60, 60, 0.8) 0px,
            rgba(80, 80, 80, 0.8) 1px,
            rgba(70, 70, 70, 0.8) 2px,
            rgba(80, 80, 80, 0.8) 3px,
            rgba(60, 60, 60, 0.8) 4px);
    z-index: 1;
}

.vinyl-logo::after {
    content: 'D•T';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--secondary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    font-family: 'Roboto', sans-serif;
    font-size: 5px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


.header-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.account-icon:hover {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 0 15px rgba(140, 82, 255, 0.6);
    transform: translateY(-1px);
    font-weight: 600; /* Maintain font weight on hover */
}

.account-icon i {
    font-size: 18px;
}

.account-dropdown-content {
    position: absolute;
    top: 45px;
    right: 0;
    background: rgba(25, 25, 35, 0.95);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--light);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.dropdown-item:hover {
    background: rgba(140, 82, 255, 0.2);
    color: var(--light);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(140, 82, 255, 0.3);
    transform: translateY(-1px);
}

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

/* Hamburger menu */
.hamburger-menu {
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hamburger-menu:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
}

.hamburger-menu i {
    font-size: 18px;
}

/* Main Navigation */
.main-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: 0;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 66px;
    /* This should match your header height */
    z-index: 900;
    border: 1px solid var(--border-light);
    border-top: none;
}

.nav-container {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: var(--light);
    text-decoration: none;
    text-align: left;
    justify-content: flex-start;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-link i {
    display: inline-block;
    margin-right: 5px;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--item-hover);
}

.nav-link.active {
    color: var(--light);
    font-weight: 600;
    background: linear-gradient(to bottom, rgba(126, 64, 250, 0.77), transparent);
    border-radius: 0;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--nav-bg);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1300;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.mobile-menu-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-menu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbars */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.mobile-menu-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.mobile-menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: var(--light);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: rgba(140, 82, 255, 0.15);
    border-left-color: var(--primary);
    color: var(--light);
    transform: translateY(-1px);
}

.mobile-menu-item.active {
    background: var(--primary);
    color: var(--light);
    font-weight: 600;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 700;
    font-size: 16px;
}

.mobile-user-details {
    flex: 1;
    min-width: 0;
}

.mobile-user-name {
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-role {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

.mobile-logout-btn {
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.mobile-logout-btn:hover {
    background: var(--accent-gradient);
    color: var(--light);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 60, 120, 0.3);
}

/* Logout button */
.logout-btn {
    padding: 8px 15px;
    background: transparent;
    color: var(--light);
    border: 1px solid transparent;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 13px;
}

.logout-btn i {
    display: inline-block;
    margin-right: 5px;
}

.logout-btn:hover {
    background: var(--accent-gradient);
    color: var(--light);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(255, 60, 120, 0.3);
    border-radius: 5px;
}

/* Beta Badge */
.beta-badge {
    font-size: 0.6rem;
    background-color: var(--accent);
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: -1px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        margin-left: 10px; /* Move hamburger menu right by 10px */
    }
    
    .header-brand {
        margin-right: 15px; /* Move logo left by 15px to align with event title text */
    }
    
    .header-container {
        padding: 0 15px; /* Match container padding */
        justify-content: space-between;
        align-items: center;
    }

    .header-actions {
        display: none;
    }
    
    .header-dynamic-buttons {
        display: none; /* Hide dynamic buttons on mobile */
    }
    
    .header-menu {
        display: none; /* Hide header menu on mobile */
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1.25rem;
    }

    .vinyl-logo {
        width: 25px;
        height: 25px;
    }
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Dynamic Header Buttons */
.header-dynamic-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    margin-right: 30px; /* Increased from 20px to 30px for more gap */
}

.header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
}

.header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(140, 82, 255, 0.3);
    border-radius: 5px;
    background: rgba(140, 82, 255, 0.2);
    color: var(--light);
    border-color: rgba(140, 82, 255, 0.4);
}

.header-button.btn-primary {
    background: var(--gradient-bg);
}

.header-button.btn-success {
    background: var(--success-gradient);
}

.header-button.btn-warning {
    background: var(--warning-gradient);
}

.header-button.btn-danger {
    background: var(--accent-gradient);
}

.header-button.btn-outline {
    background: transparent;
    border: 1px solid var(--light);
}

.header-button.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation Menu Overlay */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1300;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.nav-menu.open {
    right: 0;
}

.nav-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.nav-menu-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.nav-menu-close {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
}

.nav-menu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbars */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.nav-menu-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--light);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.nav-menu-item:hover,
.nav-menu-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary);
}

.nav-menu-divider {
    height: 1px;
    background: var(--border-light);
    margin: 10px 0;
}

.logout-item {
    color: var(--accent);
}

.logout-item:hover {
    background: rgba(255, 60, 120, 0.1);
    border-left-color: var(--accent);
}

/* ========== LIGHT THEME STYLES ========== */

/* Light theme CSS variables */
:root.light-theme {
    --primary: #8C52FF;
    --primary-dark: #6C3FE8;
    --secondary: #4E6AFF;
    --accent: #FF3C78;
    --dark: #FFFFFF;
    --light: #1A1A1A;
    --gray: #666666;
    --gray-light: rgba(0, 0, 0, 0.1);
    --success: #00C896;
    --warning: #FFC107;
    --danger: #FF5252;
    --info: #03A9F4;
    --gradient-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, #FF6B6B 100%);
    --success-gradient: linear-gradient(135deg, var(--success) 0%, #00E0B0 100%);
    --warning-gradient: linear-gradient(135deg, var(--warning) 0%, #FFD94C 100%);
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --card-bg: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(248, 249, 250, 0.95);
    --item-hover: rgba(0, 0, 0, 0.05);
    --border-light: rgba(0, 0, 0, 0.1);
}

/* Header background and main structure - Keep dark in light theme */
:root.light-theme .main-header {
    background: rgba(35, 35, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    border-bottom: none;
}

/* Header brand and title */
:root.light-theme .header-title {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header navigation links - Keep white text in light theme */
:root.light-theme .header-nav-link {
    color: #FFFFFF;
}

:root.light-theme .header-nav-link:hover {
    background: rgba(140, 82, 255, 0.1);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(140, 82, 255, 0.2);
}

:root.light-theme .header-nav-link.active,
:root.light-theme .header-nav-menu .header-nav-link.active,
:root.light-theme .header-menu .header-nav-link.active {
    background: var(--primary);
    color: white !important;
    font-weight: 600;
}

/* Account dropdown - Keep white text in light theme */
:root.light-theme .account-icon {
    color: #FFFFFF;
    border-color: var(--primary);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

:root.light-theme .account-icon:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(140, 82, 255, 0.4);
    font-weight: 600;
}

:root.light-theme .account-dropdown-content {
    background: rgba(25, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

:root.light-theme .dropdown-item {
    color: #FFFFFF;
}

:root.light-theme .dropdown-item:hover {
    background: rgba(140, 82, 255, 0.2);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(140, 82, 255, 0.3);
    transform: translateY(-1px);
}

/* Hamburger menu - Keep white in light theme */
:root.light-theme .hamburger-menu {
    color: #FFFFFF;
}

:root.light-theme .hamburger-menu:hover {
    color: var(--primary);
}

/* Main navigation */
:root.light-theme .main-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

:root.light-theme .nav-link {
    color: var(--light);
}

:root.light-theme .nav-link:hover {
    color: var(--primary);
    background: var(--item-hover);
}

:root.light-theme .nav-link.active {
    color: white;
    background: linear-gradient(to bottom, rgba(140, 82, 255, 0.8), transparent);
}

/* Mobile menu - Keep dark in light theme */
:root.light-theme .mobile-menu {
    background: rgba(35, 35, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

:root.light-theme .mobile-menu-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:root.light-theme .mobile-menu-title {
    color: #FFFFFF;
}

:root.light-theme .mobile-menu-close {
    color: #FFFFFF;
}

:root.light-theme .mobile-menu-item {
    color: #FFFFFF;
    border-left: 3px solid transparent;
}

:root.light-theme .mobile-menu-item:hover,
:root.light-theme .mobile-menu-item.active {
    background: rgba(140, 82, 255, 0.15);
    border-left-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-1px);
}

:root.light-theme .mobile-menu-item.active {
    background: var(--primary);
    color: white;
}

:root.light-theme .mobile-menu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

:root.light-theme .mobile-user-info {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:root.light-theme .mobile-user-name {
    color: #FFFFFF;
}

:root.light-theme .mobile-user-role {
    color: var(--gray);
}

:root.light-theme .mobile-logout-btn {
    color: var(--accent);
    border-color: var(--accent);
}

:root.light-theme .mobile-logout-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* Header dynamic buttons - Keep white text in light theme */
:root.light-theme .header-button {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

:root.light-theme .header-button:hover {
    background: rgba(140, 82, 255, 0.2);
    color: #FFFFFF;
    border-color: rgba(140, 82, 255, 0.4);
    box-shadow: 0 5px 15px rgba(140, 82, 255, 0.3);
    transform: translateY(-2px);
}

:root.light-theme .header-button.btn-primary {
    background: var(--gradient-bg);
    color: white;
}

:root.light-theme .header-button.btn-success {
    background: var(--success-gradient);
    color: white;
}

:root.light-theme .header-button.btn-warning {
    background: var(--warning-gradient);
    color: white;
}

:root.light-theme .header-button.btn-danger {
    background: var(--accent-gradient);
    color: white;
}

:root.light-theme .header-button.btn-outline {
    background: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

:root.light-theme .header-button.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Logout button - Keep white text in light theme */
:root.light-theme .logout-btn {
    color: #FFFFFF;
    border-color: transparent;
}

:root.light-theme .logout-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(255, 60, 120, 0.2);
}

/* Beta badge */
:root.light-theme .beta-badge {
    background-color: var(--accent);
    color: white;
}

/* Mobile navigation overlay */
:root.light-theme .mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Navigation menu overlay */
:root.light-theme .nav-menu-overlay {
    background: rgba(0, 0, 0, 0.5);
}

:root.light-theme .nav-menu {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

:root.light-theme .nav-menu-header {
    border-bottom: 1px solid var(--border-light);
}

:root.light-theme .nav-menu-title {
    color: var(--light);
}

:root.light-theme .nav-menu-close {
    color: var(--light);
}

:root.light-theme .nav-menu-item {
    color: var(--light);
    border-left: 3px solid transparent;
}

:root.light-theme .nav-menu-item:hover,
:root.light-theme .nav-menu-item.active {
    background: var(--item-hover);
    border-left-color: var(--primary);
}

:root.light-theme .nav-menu-divider {
    background: var(--border-light);
}

:root.light-theme .logout-item {
    color: var(--accent);
}

:root.light-theme .logout-item:hover {
    background: rgba(255, 60, 120, 0.05);
    border-left-color: var(--accent);
}
