@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2E7D32;
    --primary-hover: #1B5E20;
    --primary-light: rgba(46, 125, 50, 0.08);
    --primary-rgb: 46, 125, 50;

    --gold: #F2C93B;
    --gold-hover: #E5B726;
    --gold-light: rgba(242, 201, 59, 0.08);
    --gold-rgb: 242, 201, 59;
    --bg-light: #F3F4F6; /* soft modern grey */
    --success-emerald: #10B981;
    --success-light: rgba(16, 185, 129, 0.08);
    --dark-slate: #0B2411; /* Deep forest green/slate */
    --text-muted: #6B7280;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --hover-shadow: 0 15px 35px rgba(var(--gold-rgb), 0.15);
    --border-color: #E5E7EB;
    --seat-w: 42px;
    --seat-gap: 8px;
}

/* Base resets & typography */
* {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--dark-slate);
    -webkit-font-smoothing: antialiased;
}

.h-font {
    font-family: 'Outfit', sans-serif;
    color: var(--gold);
    font-weight: 700;
}

/* Custom background & buttons */
.custom-bg {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #fff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-bg:hover:not(:disabled) {
    background-color: var(--primary-hover) !important;
    border: 1px solid var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.custom-bg:disabled {
    background-color: #D1D5DB !important;
    border-color: #D1D5DB !important;
    color: #9CA3AF !important;
    cursor: not-allowed;
}

.navbar-nav .nav-link.active,
.bottom-nav-item.active {
    color: var(--gold) !important;
}

.chover:hover {
    color: var(--gold-hover) !important;
    transition: color 0.2s ease;
}

.h-line {
    width: 80px;
    margin: 0 auto;
    height: 3px;
    background-color: var(--gold) !important;
    border-radius: 2px;
}

/* Custom modern alerts */
.custom-alert {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Premium 20px rounded cards */
.premium-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Home search hero card */
.hero-search-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    margin-top: -40px;
    z-index: 10;
    position: relative;
}

/* Swap button animation & style */
.btn-swap-route {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--gold-light);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-swap-route:hover {
    background-color: var(--gold);
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 4px 10px rgba(var(--gold-rgb), 0.25);
}

/* City dropdown visual styling */
.city-dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 8px 0;
    margin-top: 5px;
    background: #fff;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
}

.city-dropdown-menu li a {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--dark-slate);
    transition: all 0.2s ease;
}

.city-dropdown-menu li a:hover {
    background-color: var(--gold-light);
    color: var(--gold);
}

/* Floating labels */
.form-floating-custom {
    position: relative;
}

.form-floating-custom input,
.form-floating-custom select {
    width: 100%;
    padding: 14px 16px 14px 16px;
    font-size: 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.3s ease;
    color: var(--dark-slate);
    outline: none;
}

.form-floating-custom input:focus,
.form-floating-custom select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.1);
}

.form-floating-custom label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    font-size: 14px;
    background: transparent;
    padding: 0;
}

.form-floating-custom input:focus ~ label,
.form-floating-custom input:not(:placeholder-shown) ~ label,
.form-floating-custom select:focus ~ label,
.form-floating-custom select:valid ~ label {
    top: 0;
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    background-color: #ffffff;
    padding: 0 6px;
    transform: translateY(-50%) scale(0.95);
    left: 12px;
}

/* Swiper overrides for luxury touch */
.swiper-testimonials .swiper-slide {
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: transform 0.3s ease;
}

.swiper-testimonials .swiper-slide-active {
    border-color: var(--gold-light);
}

/* Mobile Sticky Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(229, 231, 235, 0.7);
    display: none; /* hidden on desktop */
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--gold);
}

.bottom-nav-item:active i {
    transform: scale(0.85);
}

/* Modern route timeline indicator */
.route-timeline {
    position: relative;
    padding: 0 10px;
}

.route-node {
    position: relative;
    font-weight: 700;
    color: var(--dark-slate);
}

.route-node::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: 2px solid #fff;
    z-index: 2;
}

.route-node.start::after {
    background-color: var(--gold);
}

.route-node.end::after {
    background-color: var(--success-emerald);
}

.route-line-bar {
    position: absolute;
    bottom: -11px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

/* Sort chips scrollable */
.sort-chips-container {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sort-chips-container::-webkit-scrollbar {
    display: none;
}

.sort-chip {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-chip.active {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(var(--gold-rgb), 0.1);
}

/* Floating Filters Button on mobile */
.btn-floating-filter {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: var(--dark-slate);
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 998;
    border: none;
    font-size: 14px;
    font-weight: 600;
    display: none; /* Mobile only */
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-floating-filter:active {
    transform: scale(0.95);
}

/* Interactive Seat Styles */
.steering-wheel-container {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F3F4F6;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.seat-btn {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease !important;
}

.seat-btn:active {
    transform: scale(0.88) !important;
}

.seat-btn.available {
    color: var(--success-emerald) !important;
}

.seat-btn.available.is-ladies {
    color: #EC4899 !important;
}

.seat-btn.available.is-reserved {
    color: #3B82F6 !important;
}

.seat-btn.available.selected {
    color: #ffffff !important;
}

.seat-btn.available.selected svg rect {
    fill: var(--gold) !important;
    stroke: var(--gold) !important;
}

.seat-btn.available.selected svg path,
.seat-btn.available.selected svg circle {
    stroke: #ffffff !important;
}

.seat-btn.available.selected svg g {
    fill: #ffffff !important;
}

/* Decks & layout */
.decks-container {
    background-color: #f8f9fa !important;
    padding: 24px !important;
    border-radius: 24px !important;
    width: 100%;
    border: 1px solid #e9ecef !important;
}

.decks-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 8px 4px !important;
    scrollbar-width: none;
}
.decks-slider-container::-webkit-scrollbar {
    display: none;
}

.deck-card {
    scroll-snap-align: center;
    flex: 0 0 100%; /* each deck takes 100% width of slider */
    max-width: 320px; /* locks size to clean layout */
    margin: 0 auto;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    border: 1px solid #e9ecef !important;
}

.deck-switcher-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.deck-switcher-btn {
    background-color: #e9ecef;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    transition: all 0.2s ease;
    cursor: pointer;
}

.deck-switcher-btn.active {
    background-color: var(--gold) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(var(--gold-rgb), 0.25);
}

.deck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5 !important;
}

.deck-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    font-family: "Outfit", sans-serif !important;
}

.bus-deck-grid {
    display: grid;
    grid-auto-rows: 92px; /* Fixed height for each row to align labels! */
    gap: 12px var(--seat-gap) !important;
    padding: 5px !important;
    background: transparent !important;
    justify-content: center;
    position: relative;
}

@media (max-width: 576px) {
    .bus-deck-grid {
        grid-auto-rows: 76px;
    }
}

.grid-cell-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 92px; /* Match grid-auto-rows */
    position: relative;
}

@media (max-width: 576px) {
    .grid-cell-wrapper {
        height: 76px;
    }
}

.seat-btn {
    position: relative;
    width: var(--seat-w) !important;
    height: var(--seat-w) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: none !important;
    user-select: none;
}

.seat-btn.sleeper {
    height: calc(var(--seat-w) * 1.55) !important; /* ~70px on desktop */
}

.seat-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.seat-btn:hover:not(:disabled) svg rect {
    stroke-width: 2.2px;
}

.seat-price-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-top: 4px;
    text-align: center;
    user-select: none;
    font-family: "Outfit", sans-serif !important;
}

@media (max-width: 576px) {
    .seat-price-label {
        font-size: 9px;
    }
}

.seat-price-label.sold {
    color: #9ca3af;
    font-weight: 500;
}

/* Step Wizard Progress Bar */
.step-wizard-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 400px;
    margin: 0 auto 30px auto;
    padding: 0 10px;
}

.step-wizard-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E5E7EB;
    z-index: 1;
    transform: translateY(-50%);
}

.step-progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%; /* Dynamic */
    height: 2.5px;
    background-color: var(--gold);
    z-index: 1;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.step-node {
    position: relative; /* relative for absolute children positioning */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-node.active {
    border-color: var(--gold);
    background-color: #ffffff;
    color: var(--gold);
    box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.15);
}

.step-node.completed {
    border-color: var(--gold);
    background-color: var(--gold);
    color: #ffffff;
}

.step-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%); /* horizontally center label below node */
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.step-node.active .step-label {
    color: var(--gold);
}

/* Sticky Bottom Summary Bar */
.sticky-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
    padding: 16px 24px;
    z-index: 1100;
    display: none; /* Shown dynamically on mobile when items selected */
    animation: slideUp 0.3s ease;
}

@media screen and (min-width: 768px) {
    .sticky-summary-bar {
        display: none !important; /* Never show on desktop viewports */
    }
}

@media screen and (max-width: 767px) {
    .sticky-summary-bar {
        bottom: 0px !important; /* Position at the very bottom since there is no bottom nav bar */
    }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Ticket perforated visual styling */
.ticket-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.ticket-header-perf {
    background: var(--gold-light);
    border-bottom: 2px dashed var(--border-color);
    position: relative;
    padding: 24px;
}

.ticket-header-perf::before,
.ticket-header-perf::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-light);
    z-index: 10;
}

.ticket-header-perf::before {
    left: -10px;
}

.ticket-header-perf::after {
    right: -10px;
}

/* Animated success checkmark */
.success-checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-emerald);
    font-size: 38px;
    animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scalePop {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsiveness media queries */
@media screen and (max-width: 767px) {
    .bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 80px; /* space for bottom nav */
    }
    
    .btn-floating-filter {
        display: flex;
    }
    
    .desktop-only-sidebar {
        display: none !important;
    }
    
    .hero-search-card {
        margin-top: 10px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==========================================================================
   PREMIUM BUS DETAILS & MOBILE BOTTOM SHEET STYLING
   ========================================================================== */

/* Bottom Sheet Drawer Styling */
.bottom-sheet-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    pointer-events: none;
}

.bottom-sheet-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bottom-sheet-drawer.backdrop-active .bottom-sheet-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90vh; /* Max height */
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    transform: translateY(calc(90vh - 145px)); /* Initial Collapsed State */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Touch dynamic dragging disables transition */
.bottom-sheet-content.dragging {
    transition: none !important;
}

.bottom-sheet-drag-area {
    width: 100%;
    padding: 12px 0 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    user-select: none;
    touch-action: none; /* Critical for touch drag */
}

.bottom-sheet-drag-area:active {
    cursor: grabbing;
}

.drag-handle-bar {
    width: 40px;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.bottom-sheet-drag-area:hover .drag-handle-bar {
    background-color: #bdbdbd;
}

.bottom-sheet-header {
    background: #ffffff;
    user-select: none;
}

.bottom-sheet-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 30px;
    -webkit-overflow-scrolling: touch;
}

/* State helper classes for transform overrides */
.bottom-sheet-drawer.state-collapsed .bottom-sheet-content {
    transform: translateY(calc(90vh - 145px)) !important;
}

.bottom-sheet-drawer.state-half .bottom-sheet-content {
    transform: translateY(calc(90vh - 50vh)) !important;
}

.bottom-sheet-drawer.state-full .bottom-sheet-content {
    transform: translateY(0) !important;
}

/* Swiper styling for bottom sheet */
.bus-swiper-gallery {
    width: 100%;
    height: 180px;
}
.bus-swiper-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline component */
.timeline {
    position: relative;
    padding-left: 24px;
    margin-left: 8px;
    border-left: 2px dashed #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -31px;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--gold);
    z-index: 2;
}

.timeline-marker.boarding {
    border-color: #10b981;
}

.timeline-marker.dropping {
    border-color: #ef4444;
}

.timeline-content {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #f0f0f0;
}

/* Sticky tabs on desktop info pane */
.sticky-top-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
}

.bus-info-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -webkit-overflow-scrolling: touch;
}

.bus-info-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Edge */
}

.bus-info-tabs .nav-item {
    flex: 0 0 auto !important;
}

.bus-info-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 13.5px;
}

.bus-info-tabs .nav-link:hover {
    color: var(--gold);
}

.bus-info-tabs .nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold) !important;
    background: none;
}

/* Mobile info tabs style like Redbus */
.mobile-info-tabs {
    border-bottom: 1.5px solid #eef0f2;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
}
.mobile-info-tabs::-webkit-scrollbar {
    display: none;
}
.mobile-info-tabs .nav-link {
    background: none !important;
    color: #5f6368 !important;
    border: none !important;
    font-weight: 600;
    padding: 10px 16px !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.mobile-info-tabs .nav-link.active {
    color: var(--gold) !important;
    border-bottom-color: var(--gold) !important;
}

/* Highlight badge or card style */
.highlight-card {
    background: #fcf8f2;
    border: 1px solid #f5ebd6;
    border-radius: 14px;
    padding: 16px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--gold-rgb), 0.1);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    color: #495057;
}

.policy-row-card {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.active-slab-row {
    background-color: rgba(25, 135, 84, 0.08) !important;
    border: 2px solid #198754 !important;
    font-weight: bold;
}

/* Brand Theme Utility Classes */
.text-gold {
    color: var(--gold) !important;
}
.bg-gold {
    background-color: var(--gold) !important;
}
.bg-gold-light {
    background-color: var(--gold-light) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.btn-view-details {
    color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    background-color: transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-view-details:hover {
    color: #fff !important;
    background-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.bus-info-tabs {
    scrollbar-width: none !important; /* Firefox */
}
.bus-info-tabs::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
}

/* ==========================================================================
   PWA NATIVE APP-LIKE SCREEN STYLES & FLOW STEPPER
   ========================================================================== */

.pwa-top-app-bar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.pwa-flow-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 16px;
    margin: 12px 0 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f3f4f6;
}

.pwa-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.pwa-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.pwa-step-item.active:not(:last-child)::after,
.pwa-step-item.completed:not(:last-child)::after {
    background: var(--gold);
}

.pwa-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    z-index: 2;
    transition: all 0.3s ease;
}

.pwa-step-item.active .pwa-step-circle {
    background: #ffffff;
    border: 2px solid var(--gold);
    color: var(--gold);
    box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.15);
}

.pwa-step-item.completed .pwa-step-circle {
    background: var(--gold);
    color: #ffffff;
}

.pwa-step-title {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    margin-top: 4px;
    text-align: center;
}

.pwa-step-item.active .pwa-step-title {
    color: var(--gold);
    font-weight: 700;
}

.pwa-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pwa-card:active {
    transform: scale(0.985);
}

.pwa-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: pwaSlideUp 0.3s ease forwards;
}

.pwa-qr-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px dashed #e5e7eb;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pwa-badge-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pwa-badge-confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pwa-badge-completed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pwa-badge-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* PWA Animations & Micro-Interactions */
@keyframes pwaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pwaSlideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes pwaScaleUp {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pwaPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes pwaShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton Shimmer Loaders */
.pwa-shimmer-card {
    position: relative;
    overflow: hidden;
}

.pwa-shimmer-line {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: pwaShimmer 1.5s infinite;
    border-radius: 6px;
}

/* Touch Bottom Sheet Drawer */
.pwa-bottom-sheet-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 10040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pwa-bottom-sheet-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.pwa-bottom-sheet-drawer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #ffffff;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.18);
    z-index: 10050;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.pwa-bottom-sheet-drawer.active {
    transform: translateY(0);
}

.pwa-sheet-drag-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 10px;
    margin: 12px auto 6px auto;
}

.pwa-btn-pulse {
    animation: pwaPulseGlow 2s infinite;
}

/* PWA Floating Shortcuts FAB Speed Dial */
.pwa-shortcuts-fab-wrap {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 10020;
}

.pwa-shortcuts-fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B0F17 0%, #1e293b 100%);
    color: #D4AF37;
    border: 2px solid #D4AF37;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pwa-shortcuts-fab-wrap.active .pwa-shortcuts-fab-btn {
    transform: rotate(45deg);
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.pwa-shortcuts-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 220px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: none;
    flex-direction: column;
    gap: 6px;
    animation: pwaScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pwa-shortcuts-fab-wrap.active .pwa-shortcuts-menu {
    display: flex;
}

.pwa-shortcut-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #ffffff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.pwa-shortcut-item:hover,
.pwa-shortcut-item:active {
    background: rgba(212, 175, 55, 0.18);
    color: #D4AF37;
}

/* Razorpay Checkout Alignment & Visual Corrections */
.razorpay-container {
    z-index: 9999999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

