/* Shared Header Styles - Based on search_optimized.php */
/* Include this CSS file in all pages that use shared_header.php */

/* Image Fallback System Styles */
.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-loading {
    opacity: 0.5;
    filter: blur(1px);
    transition: opacity 0.3s ease;
}

.image-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.image-failed {
    opacity: 0.3;
}

.image-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    color: #6c757d;
}

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

.whisky-image-fallback {
    transition: all 0.3s ease;
}

.whisky-image-fallback:hover {
    transform: scale(1.02);
}

:root {
    --primary: #1e40af;
    --secondary: #f59e0b;
    --accent: #10b981;
    --dark: #1f2937;
    --light: #f8fafc;
    --gray: #6b7280;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 0 0 10px;
}

.logo-small {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-small:hover {
    transform: scale(1.05);
}

.search-container {
    width: 600px;
    height: 71.59px;
    display: flex;
    justify-content: center;
    justify-self: center;
    transform: translateX(160px);
}

@media (max-width: 1200px) {
    .search-container {
        width: 500px;
        transform: translateX(100px);
    }
}

@media (max-width: 992px) {
    .search-container {
        width: 400px;
        transform: translateX(50px);
    }
}

.search-box {
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 10px;
    right: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9998;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s ease;
    position: relative;
}

.mobile-nav-btn:hover {
    background: #e9ecef;
}

.mobile-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-nav-btn.logout-btn {
    background: #dc3545;
    color: white;
}

.mobile-nav-btn.logout-btn:hover {
    background: #c82333;
}

/* Mobile Nav Badges */
.mobile-nav-btn .nav-badge {
    position: static;
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.mobile-nav-btn .vault-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.mobile-nav-btn .watchlist-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Header Navigation (Desktop) */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    position: relative;
    margin: 0 8px;
}

.nav-btn::before {
    content: attr(data-label);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 1000;
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-btn.logout-btn {
    background: rgba(220, 53, 69, 0.8);
    border-color: rgba(220, 53, 69, 0.9);
}

.nav-btn.logout-btn:hover {
    background: rgba(220, 53, 69, 1);
}

.nav-btn.login-btn,
.nav-btn.register-btn {
    width: auto;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn.login-btn {
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.register-btn {
    background: var(--primary);
    border-color: var(--primary);
}

.nav-btn.register-btn:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
}

/* Navigation Badges */
.nav-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.vault-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: pulse-green 2s infinite;
}

.watchlist-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation: pulse-orange 2s infinite;
}

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

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5); }
    100% { transform: scale(1); box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3); }
}

@keyframes pulse-orange {
    0% { transform: scale(1); box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5); }
    100% { transform: scale(1); box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3); }
}

.nav-btn:hover .nav-badge {
    transform: scale(1.2);
    animation: none;
}

/* Disabled Navigation Buttons */
.disabled-nav-btn {
    opacity: 0.4;
    cursor: not-allowed;
}

.disabled-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
    box-shadow: none;
}

.disabled-nav-btn::before {
    content: attr(data-label);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 1000;
}

.disabled-nav-btn:hover::before {
    opacity: 1;
}

/* Desktop Navigation - Show by default */
.header-nav {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Mobile Navigation - Higher specificity to override page-specific styles */
@media (max-width: 768px) {
    .header {
        padding: 0.4rem 0 !important; /* Reduced by 20% from 0.5rem */
    }

    .header-content {
        grid-template-columns: auto 1fr auto !important;
        gap: 0.5rem !important;
        padding: 0 10px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .logo-small {
        height: 40px !important; /* Reduced by 20% from 50px */
    }

    .header-nav {
        display: none !important;
    }

    .nav-buttons {
        gap: 0.3rem !important;
    }

    .nav-btn {
        width: 32px !important; /* Reduced by 20% from 40px */
        height: 32px !important; /* Reduced by 20% from 40px */
        font-size: 0.72rem !important; /* Reduced by 20% from 0.9rem */
        margin: 0 3.2px !important; /* Reduced by 20% from 4px */
    }

    .nav-btn::before {
        font-size: 0.48rem !important; /* Reduced by 20% from 0.6rem */
        top: -16px !important; /* Reduced by 20% from -20px */
    }

    .nav-badge {
        min-width: 12.8px !important; /* Reduced by 20% from 16px */
        height: 12.8px !important; /* Reduced by 20% from 16px */
        font-size: 0.48rem !important; /* Reduced by 20% from 0.6rem */
        top: -4.8px !important; /* Reduced by 20% from -6px */
        right: -4.8px !important; /* Reduced by 20% from -6px */
    }

    .nav-btn.login-btn,
    .nav-btn.register-btn {
        padding: 4.8px 9.6px !important; /* Reduced by 20% from 6px 12px */
        font-size: 0.64rem !important; /* Reduced by 20% from 0.8rem */
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .header .search-container,
    body .header .search-container,
    .search-container {
        grid-column: 1 / -1 !important;
        padding-top: 0.3rem !important; /* Reduced by 25% from 0.4rem */
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        max-width: 54% !important; /* Reduced by 25% from 72% */
        margin: 0 auto !important;
        box-sizing: border-box !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .header .search-box,
    body .header .search-box,
    .search-box {
        padding: 4.8px !important; /* Reduced by 25% from 6.4px */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        gap: 4.8px !important; /* Reduced by 25% from 6.4px */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .header .search-input,
    body .header .search-input,
    .header .search-box .search-input,
    body .header .search-box .search-input {
        padding: 6px 7.2px !important; /* Reduced by 25% from 8px 9.6px */
        font-size: 0.48rem !important; /* Reduced by 25% from 0.64rem */
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 7.2px !important; /* Reduced by 25% from 9.6px */
        margin: 0 !important;
    }

    .header .search-btn,
    body .header .search-btn,
    .header .search-box .search-btn,
    body .header .search-box .search-btn {
        padding: 6px 7.2px !important; /* Reduced by 25% from 8px 9.6px */
        font-size: 0.48rem !important; /* Reduced by 25% from 0.64rem */
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 7.2px !important; /* Reduced by 25% from 9.6px */
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.2rem 0 !important; /* Reduced by 20% from 0.25rem */
    }

    .header-content {
        padding: 0 5px !important;
        gap: 0.25rem !important;
    }

    .logo-small {
        height: 32px !important; /* Reduced by 20% from 40px */
    }

    .nav-buttons {
        gap: 0.2rem !important;
    }

    .nav-btn {
        width: 28px !important; /* Reduced by 20% from 35px */
        height: 28px !important; /* Reduced by 20% from 35px */
        font-size: 0.64rem !important; /* Reduced by 20% from 0.8rem */
        margin: 0 1.6px !important; /* Reduced by 20% from 2px */
    }

    .nav-btn::before {
        font-size: 0.44rem !important; /* Reduced by 20% from 0.55rem */
        top: -14.4px !important; /* Reduced by 20% from -18px */
    }

    .nav-badge {
        min-width: 11.2px !important; /* Reduced by 20% from 14px */
        height: 11.2px !important; /* Reduced by 20% from 14px */
        font-size: 0.44rem !important; /* Reduced by 20% from 0.55rem */
        top: -4px !important; /* Reduced by 20% from -5px */
        right: -4px !important; /* Reduced by 20% from -5px */
    }

    .nav-btn.login-btn,
    .nav-btn.register-btn {
        padding: 3.2px 6.4px !important; /* Reduced by 20% from 4px 8px */
        font-size: 0.6rem !important; /* Reduced by 20% from 0.75rem */
    }

    .header .search-container,
    body .header .search-container,
    .search-container {
        padding-top: 0.15rem !important; /* Reduced by 25% from 0.2rem */
        max-width: 51% !important; /* Reduced by 25% from 68% */
        box-sizing: border-box !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .header .search-box,
    body .header .search-box,
    .search-box {
        padding: 3.6px !important; /* Reduced by 25% from 4.8px */
        box-sizing: border-box !important;
        flex-direction: column !important;
        gap: 3.6px !important; /* Reduced by 25% from 4.8px */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .header .search-input,
    body .header .search-input,
    .header .search-box .search-input,
    body .header .search-box .search-input {
        padding: 4.8px 6px !important; /* Reduced by 25% from 6.4px 8px */
        font-size: 0.45rem !important; /* Reduced by 25% from 0.6rem */
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 6px !important; /* Reduced by 25% from 8px */
        margin: 0 !important;
    }

    .header .search-btn,
    body .header .search-btn,
    .header .search-box .search-btn,
    body .header .search-box .search-btn {
        padding: 4.8px 6px !important; /* Reduced by 25% from 6.4px 8px */
        font-size: 0.45rem !important; /* Reduced by 25% from 0.6rem */
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 6px !important; /* Reduced by 25% from 8px */
        margin: 0 !important;
    }

    .mobile-nav-btn {
        font-size: 0.72rem !important; /* Reduced by 20% from 0.9rem */
        padding: 0.4rem 0.6rem !important; /* Reduced by 20% from 0.5rem 0.75rem */
    }
}

/* Additional Mobile Content Styling for All Pages */
@media (max-width: 768px) {
    /* Main content area adjustments */
    .main-content {
        margin-top: 160px !important;
        padding: 1.5rem 1rem !important;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Card adjustments */
    .card {
        margin-bottom: 1rem !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .btn-sm {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Form adjustments */
    .form-control {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Grid adjustments */
    .row {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }
    
    .col-12, .col-md-6, .col-lg-4, .col-lg-3 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Navigation adjustments */
    .breadcrumb {
        font-size: 0.8rem !important;
        padding: 0.5rem 0 !important;
    }
    
    /* Alert adjustments */
    .alert {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Table adjustments */
    .table {
        font-size: 0.8rem !important;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.25rem !important;
    }
    
    /* Modal adjustments */
    .modal-dialog {
        margin: 0.5rem !important;
    }
    
    .modal-content {
        border-radius: 0.5rem !important;
    }
    
    /* Badge adjustments */
    .badge {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    /* List adjustments */
    .list-group-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Image adjustments */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Text adjustments */
    .lead {
        font-size: 1rem !important;
    }
    
    .small {
        font-size: 0.75rem !important;
    }
    
    /* Spacing adjustments */
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .mt-4 {
        margin-top: 1.5rem !important;
    }
    
    .mt-3 {
        margin-top: 1rem !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .px-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small adjustments */
    .main-content {
        margin-top: 140px !important;
        padding: 1rem 0.5rem !important;
    }
    
    .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.3rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
    }
    
    .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    .card-body {
        padding: 0.75rem !important;
    }
    
    .form-control {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
    
    .alert {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    .table {
        font-size: 0.7rem !important;
    }
    
    .table th,
    .table td {
        padding: 0.4rem 0.2rem !important;
    }
    
    .badge {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .list-group-item {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
}

/* Mobile Header - Make Header Smaller */
@media (max-width: 768px) {
    .header {
        padding: 0.2rem 0 !important;
    }
    
    .logo-small {
        height: 40px !important;
        width: auto !important;
    }
    
    .header-content {
        padding: 0 5px !important;
        gap: 0.5rem !important;
    }
    
    .search-container {
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .search-box {
        padding: 4px !important;
    }
    
    .search-input {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }
    
    .search-btn {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
    }
    
    .nav-btn {
        padding: 6px 8px !important;
        font-size: 0.8rem !important;
    }
    
    .nav-btn i {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.1rem 0 !important;
    }
    
    .logo-small {
        height: 35px !important;
        width: auto !important;
    }
    
    .header-content {
        padding: 0 3px !important;
        gap: 0.3rem !important;
    }
    
    .search-container {
        width: 100% !important;
        max-width: 250px !important;
    }
    
    .search-box {
        padding: 3px !important;
    }
    
    .search-input {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
    
    .search-btn {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
    }
    
    .nav-btn {
        padding: 4px 6px !important;
        font-size: 0.7rem !important;
    }
    
    .nav-btn i {
        font-size: 0.9rem !important;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999;
}

/* Simple Hamburger Icon */
.hamburger-icon {
    display: block;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-icon {
    color: white;
    transform: scale(1.1);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 10px;
    right: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9998;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s ease;
    position: relative;
}

.mobile-nav-btn:hover {
    background: #e9ecef;
}

.mobile-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-nav-btn.logout-btn {
    background: #dc3545;
    color: white;
}

.mobile-nav-btn.logout-btn:hover {
    background: #c82333;
}

/* Mobile Nav Badges */
.mobile-nav-btn .nav-badge {
    position: static;
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.mobile-nav-btn .vault-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.mobile-nav-btn .watchlist-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
/ *   C a c h e   b u s t :   0 9 / 1 7 / 2 0 2 5   2 3 : 1 6 : 2 2   * / 
 
 