/* ==========================================================================
   METRO LUX DESIGN SYSTEM (Vibrant Modern Transit Theme)
   ========================================================================== */

/* Font & Color Token Overrides */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Elegant vibrant colors */
    --lux-primary: #0f52ba;
    /* Sapphire Blue */
    --lux-primary-gradient: linear-gradient(135deg, #0f52ba 0%, #1e90ff 100%);
    --lux-accent: #ff6b35;
    /* Electric Orange */
    --lux-accent-gradient: linear-gradient(135deg, #ff6b35 0%, #ff9f1c 100%);
    --lux-success: #2ec4b6;
    /* Mint Teal */
    --lux-danger: #e63946;
    /* Crimson Red */
    --lux-surface: rgba(255, 255, 255, 0.85);

    /* Glassmorphism styling */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 30px rgba(15, 82, 186, 0.08);
    --glass-shadow-soft: 0 5px 15px rgba(15, 82, 186, 0.04);
}

/* Typography Base overrides */
html {
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    background:
        radial-gradient(circle at 10% 20%, rgba(15, 82, 186, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #f4f7fb 0%, #eef3fa 100%);
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6,
.panel-title,
.brand-copy strong,
.search-title,
.route-title,
.route-line-label,
.station-entry-title,
.compact-station-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ==========================================================================
   HEADER & RESPONSIVE MOBILE DRAWER
   ========================================================================== */
.site-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 24, 52, 0.82) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.brand-mark {
    background: var(--lux-primary-gradient) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(15, 82, 186, 0.25) !important;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Collapse Container */
.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 40px;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(10, 24, 52, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 24px 40px;
        margin: 0;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
        z-index: 90;
    }

    .navbar-collapse.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar-collapse .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    .navbar-collapse .nav-links a {
        font-size: 16px;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-collapse .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

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

    /* Hamburger animation */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 10px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    /* Hide cities list dropdown completely on mobile (uses Bottom Sheet instead) */
    .dropdown-menu.cities-grid {
        display: none !important;
    }

    /* Disable hover-to-open for mobile dropdowns to prevent touch hover issues */
    .dropdown:not(.open):hover .dropdown-menu {
        display: none !important;
    }

    /* Reset cities dropdown wrapper on mobile to align with Home/Feedback links */
    .navbar-collapse .nav-links .dropdown.cities-dropdown {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    /* Reset trigger padding, margins and border to match Home/Feedback links */
    .navbar-collapse .nav-links .dropdown.cities-dropdown .dropdown-trigger {
        width: 100% !important;
        padding: 8px 0 !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        justify-content: flex-start !important;
        height: auto !important;
    }
}

/* ==========================================================================
   ROUTE PLANNER OVERHAUL & SWAP ICON
   ========================================================================== */
.route-search-box {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-search-box:hover {
    box-shadow: 0 15px 35px rgba(15, 82, 186, 0.12) !important;
}

.form-group label {
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #4b5563;
}

.form-group input,
.form-group select,
.form-group textarea,
.tom-select .ts-control {
    border-radius: 12px !important;
    border: 1px solid #d1d5db !important;
    background-color: #fff !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.tom-select.focus .ts-control {
    border-color: var(--lux-primary) !important;
    box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.15) !important;
}

/* Swap Button Placement overlap */
.form-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}

.swap-button {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: var(--lux-primary-gradient) !important;
    color: #fff !important;
    display: grid;
    place-items: center;
    border: 3px solid #fff !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
    margin: 0 -8px 0 -8px !important;
    z-index: 10;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swap-button:hover {
    transform: rotate(180deg) scale(1.08) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14) !important;
}

.swap-button:active {
    transform: rotate(180deg) scale(0.95) !important;
}

.search-button {
    background: var(--lux-primary-gradient) !important;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 15px !important;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 20px rgba(15, 82, 186, 0.22) !important;
}

.search-button:hover {
    transform: translateY(-1.5px) !important;
    box-shadow: 0 12px 24px rgba(15, 82, 186, 0.3) !important;
}

.btn-primary {
    background: var(--lux-accent-gradient) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.22) !important;
}

.btn-primary:hover {
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.3) !important;
}

@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .swap-button {
        margin: 4px auto !important;
        transform: rotate(90deg) !important;
    }

    .swap-button:hover {
        transform: rotate(270deg) scale(1.05) !important;
    }
}

/* ==========================================================================
   HOMEPAGE CITY SEARCH & FILTERS
   ========================================================================== */
.city-search-box {
    width: 100%;
    padding: 14px 20px !important;
    padding-left: 48px !important;
    border-radius: 30px !important;
    border: 1px solid #d1d5db !important;
    box-shadow: var(--glass-shadow-soft) !important;
    outline: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.city-search-box:focus {
    border-color: var(--lux-primary) !important;
    box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12) !important;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.filter-tab.active {
    background: var(--lux-primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 12px rgba(15, 82, 186, 0.15);
}

.city-card {
    border: 1px solid var(--glass-border) !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow-soft) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow) !important;
    border-color: rgba(15, 82, 186, 0.18) !important;
}

/* ==========================================================================
   TAB PANEL SYSTEM (Generic class switcher)
   ========================================================================== */
.custom-tabs {
    display: flex;
    background: rgba(15, 82, 186, 0.05);
    padding: 6px;
    border-radius: 16px;
    gap: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(15, 82, 186, 0.08);
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #4b5563;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--lux-primary);
    background: rgba(255, 255, 255, 0.4);
}

.tab-btn.active {
    background: #fff;
    color: var(--lux-primary);
    box-shadow: 0 4px 10px rgba(15, 82, 186, 0.06);
}

/* Tabs Mobile Hint & Chevron Indicators */
.tabs-mobile-hint {
    display: none;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--lux-primary);
    margin-bottom: 10px;
    padding-left: 6px;
}

.tab-chevron {
    display: inline-block;
    transition: transform 0.25s ease;
    font-size: 9px;
    margin-left: auto;
    opacity: 0.7;
}

.tab-btn.active .tab-chevron {
    transform: rotate(0deg);
    opacity: 1;
}

.tab-btn:not(.active) .tab-chevron {
    transform: rotate(-90deg);
}

@media (min-width: 641px) {
    .tab-chevron {
        display: none !important;
    }
}

.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

@media (max-width: 640px) {
    .tabs-mobile-hint {
        display: block !important;
    }

    .custom-tabs {
        flex-direction: column !important;
        border-radius: 16px !important;
        background: rgba(15, 82, 186, 0.04) !important;
        border: 1px solid rgba(15, 82, 186, 0.08) !important;
        padding: 8px !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .tab-btn {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 14px 18px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.6) !important;
        border: 1px solid rgba(15, 82, 186, 0.04) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01) !important;
        text-align: left !important;
        color: #4b5563 !important;
        transition: all 0.2s ease !important;
    }

    .tab-btn:hover {
        background: rgba(255, 255, 255, 0.9) !important;
        color: var(--lux-primary) !important;
    }

    .tab-btn.active {
        background: #fff !important;
        color: var(--lux-primary) !important;
        border-color: rgba(15, 82, 186, 0.15) !important;
        box-shadow: 0 4px 12px rgba(15, 82, 186, 0.06) !important;
        font-weight: 800 !important;
    }
}

/* ==========================================================================
   STAT SLATE WIDGETS
   ========================================================================== */
.stat-widget-card {
    background: #fff;
    border: 1px solid rgba(216, 225, 240, 0.7);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--glass-shadow-soft);
    transition: transform 0.2s ease;
}

.stat-widget-card:hover {
    transform: translateY(-2px);
}

.stat-widget-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 82, 186, 0.08);
    color: var(--lux-primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.stat-widget-details {
    display: flex;
    flex-direction: column;
}

.stat-widget-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
}

.stat-widget-value {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin-top: 2px;
}

/* ==========================================================================
   LINE TIMELINE (Vertical transformation on mobile)
   ========================================================================== */
.line-pills {
    justify-content: center;
    margin-bottom: 24px;
}

.line-pill {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.line-pill:hover {
    transform: scale(1.04);
}

.city-header-card {
    margin-bottom: 24px !important;
}

.full-width-layout {
    width: 100%;
}

/* Desktop Horizontal View rules */
.line-track {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin;
    padding: 120px 0 48px 0 !important;
    position: relative;
}

.line-track::before {
    display: none !important;
}

.line-track-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: relative !important;
    width: max-content !important;
    min-width: 100% !important;
    padding-left: 26px !important;
    padding-right: 110px !important;
    gap: 0 !important;
}

.line-track-inner::before {
    content: "" !important;
    position: absolute !important;
    left: 56px !important;
    /* padding-left (26px) + center of first line-stop (30px) = 56px */
    right: 140px !important;
    /* padding-right (110px) + center of last line-stop (30px) = 140px */
    top: 9px !important;
    /* aligns with dot center vertical position in desktop view */
    height: 4px !important;
    background: var(--line-color) !important;
    border-radius: 999px !important;
    z-index: 1 !important;
}

.line-stop-name {
    font-family: var(--font-body);
    font-weight: 700 !important;
}

/* Mobile Vertical Stack Switch */
@media (max-width: 768px) {
    .line-track {
        display: block !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-height: 400px;
        width: 100% !important;
        padding: 20px !important;
    }

    .line-track-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    .line-track-inner::before {
        display: block !important;
        left: 21px !important;
        top: 23px !important;
        bottom: 23px !important;
        right: auto !important;
        width: 4px !important;
        height: auto !important;
        transform: none !important;
    }

    .line-stop {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
        padding: 14px 0 14px 40px !important;
        margin: 0 !important;
    }

    .line-stop-dot {
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .line-stop-name {
        position: static !important;
        transform: none !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #1f2937 !important;
        white-space: normal !important;
        text-align: left !important;
    }
}

/* ==========================================================================
   ROUTE RESULTS TICKETING & COLLAPSIBLES
   ========================================================================== */
.route-hero {
    background: linear-gradient(135deg, #0d1e3d 0%, #152b52 100%) !important;
    color: #fff !important;
    border-radius: 24px !important;
    border: none !important;
    padding: 30px !important;
    position: relative;
    overflow: hidden;
}

.route-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.route-kicker {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #60a5fa !important;
    font-weight: 800;
}

.route-title {
    color: #fff !important;
    letter-spacing: -0.5px !important;
}

.route-subtitle {
    color: #94a3b8 !important;
}

.route-hero .route-fact {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.route-hero .route-fact-label {
    color: #94a3b8 !important;
}

.route-hero .route-fact-value {
    color: #fff !important;
}

.route-hero .route-fact-note {
    color: #64748b !important;
}

/* Toolbar CTAs */
.station-cta {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-weight: 700;
}

.station-cta.accent {
    background: var(--lux-accent-gradient) !important;
}

.station-cta.ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.station-cta.ghost:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Intermediate Stations Collapse toggler */
.intermediate-toggle-btn {
    width: 100%;
    background: rgba(15, 82, 186, 0.04);
    border: 1px dashed rgba(15, 82, 186, 0.18);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lux-primary);
    cursor: pointer;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.intermediate-toggle-btn:hover {
    background: rgba(15, 82, 186, 0.08);
}

.intermediate-stations-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.intermediate-stations-container.expanded {
    max-height: 1200px;
}

/* Interchange Visual Alert Card */
.route-change-note {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 159, 28, 0.08) 100%) !important;
    border: 1px solid rgba(255, 107, 53, 0.22) !important;
    color: #c04e0e !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.04);
    border-radius: 14px !important;
}

/* ==========================================================================
   STATION REVIEWS & VOTING UPGRADES
   ========================================================================== */
.review-card {
    background: #fff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(216, 225, 240, 0.7) !important;
    padding: 18px !important;
    box-shadow: var(--glass-shadow-soft) !important;
    margin-bottom: 12px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 82, 186, 0.1);
    color: var(--lux-primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13.5px;
    font-family: var(--font-heading);
}

.review-rating {
    color: var(--lux-accent) !important;
    background: rgba(255, 107, 53, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12.5px !important;
}

.vote-row {
    margin-top: 14px;
}

.vote-button {
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px !important;
    transition: all 0.2s ease !important;
}

.vote-button:hover {
    transform: translateY(-1px);
}

.vote-button.active-like {
    background: rgba(46, 196, 182, 0.12) !important;
    border-color: rgba(46, 196, 182, 0.25) !important;
    color: #1b8a7f !important;
}

.vote-button.active-dislike {
    background: rgba(230, 57, 70, 0.12) !important;
    border-color: rgba(230, 57, 70, 0.25) !important;
    color: var(--lux-danger) !important;
}

/* Accessibility Tap targets */
a,
button,
select,
input {
    min-height: 38px;
}

.tom-select .ts-control {
    min-height: 48px !important;
}

/* Footer Layout adjustments */
.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* ==========================================================================
   METRO PREMIUM AD PLACEHOLDERS & WRAPPERS
   ========================================================================== */
.metro-ad-wrapper {
    margin: 20px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    clear: both;
}

.metro-ad-placeholder {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    background: rgba(15, 82, 186, 0.03);
    border: 1px dashed rgba(15, 82, 186, 0.18);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.metro-ad-placeholder:hover {
    background: rgba(15, 82, 186, 0.05);
    border-color: rgba(15, 82, 186, 0.3);
}

.metro-ad-placeholder span {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.metro-ad-placeholder small {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

/* Sidebar Ad Layouts */
.metro-ad-wrapper.sidebar-ad {
    margin: 16px 0;
}

.metro-ad-wrapper.sidebar-ad .metro-ad-placeholder {
    max-width: 100%;
    min-height: 250px;
}

/* Desktop Cities Multi-Column Dropdown */
@media (min-width: 901px) {
    .navbar {
        position: relative !important;
    }

    .cities-dropdown {
        position: static !important;
    }

    .dropdown-menu.cities-grid {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(860px, 94vw) !important;
        min-width: 0 !important;
        display: none !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
        padding: 20px !important;
        border-radius: 20px !important;
        max-height: none !important;
        overflow: visible !important;
        margin-top: 14px !important;
    }

    .dropdown:hover .dropdown-menu.cities-grid,
    .dropdown.open .dropdown-menu.cities-grid {
        display: grid !important;
    }

    /* Center the menu items (home, cities, feedback) for desktop */
    .nav-links {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.cities-region-col {
    padding: 14px 14px 18px !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.cities-region-col:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.cities-region-label {
    font-family: var(--font-heading) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 8px !important;
    margin-bottom: 4px !important;
}

.cities-region-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.cities-region-list a {
    padding: 8px 10px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.15s ease !important;
    display: block !important;
    text-decoration: none !important;
}

.cities-region-list a:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
    padding-left: 14px !important;
}


/* Dropdown Alignment & Inline Fix */
.nav-links {
    display: flex !important;
    align-items: center !important;
}

.nav-links>a,
.nav-links>.dropdown {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
}

.nav-links>.dropdown>.dropdown-trigger {
    display: inline-flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Dropdown Tap-to-toggle logic support */
.dropdown.open .dropdown-menu {
    display: block !important;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg) !important;
}


/* App-like Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 24, 52, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    gap: 4px;
    cursor: pointer;
    flex: 1;
    height: 100%;
    transition: color 0.2s ease;
    padding: 0;
}

.mobile-bottom-item:hover,
.mobile-bottom-item.active {
    color: var(--lux-primary);
}

.mobile-bottom-item svg {
    transition: transform 0.2s ease;
}

.mobile-bottom-item:active svg {
    transform: scale(0.9);
}

@media (max-width: 900px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to body to prevent overlap */
    body {
        padding-bottom: 74px !important;
    }
}

/* App-like Slide-up Bottom Sheet */
.bottom-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bottom-sheet-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: #0a1834;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 1200;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    visibility: hidden;
}

.bottom-sheet.open {
    bottom: 0;
    visibility: visible;
}

.bottom-sheet-header {
    padding: 16px 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-sheet-drag-handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 12px;
}

.bottom-sheet-title-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-sheet-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.bottom-sheet-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.bottom-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 30px;
}

.cities-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.city-sheet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.city-sheet-item:hover,
.city-sheet-item:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--lux-primary);
}

.city-sheet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lux-primary);
    box-shadow: 0 0 8px var(--lux-primary);
}

@media (max-width: 480px) {
    .cities-sheet-grid {
        grid-template-columns: 1fr;
    }
}