.bus-page {
    --bus-brand: #008cff;
    --bus-accent: #0a8f3a;
    --bus-bg: #eef4f8;
    --bus-card: #ffffff;
    --bus-text: #1f2937;
    --bus-muted: #6b7280;
}

.bus-page,
.bus-page * {
    box-sizing: border-box;
}

.bus-page .bus-input,
.bus-page .bus-btn,
.bus-page .bus-chip,
.bus-page .bus-filter-toggle {
    min-height: 44px;
}

.bus-page .bus-card {
    background: var(--bus-card);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.bus-page .bus-swap-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 22px;
    background: #fff;
    color: var(--bus-brand);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bus-filter-toggle {
    display: none;
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #0f172a;
    border-radius: 10px;
    font-weight: 700;
}

.busResultRow {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.busResultRow:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.bus-pax-accordion .busPaxRow {
    overflow: hidden;
}

.bus-pax-accordion .busPaxRowHdr {
    cursor: pointer;
}

.bus-pax-accordion .busPaxRowBody {
    padding-top: 10px;
}

.bus-pax-accordion .busPaxRow.is-collapsed .busPaxRowBody {
    display: none;
}

.busSeatZoomControls {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.busSeatZoomBtn {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    min-height: 34px;
    min-width: 34px;
    cursor: pointer;
}

.busSeatHtml {
    transform-origin: top left;
}

.bus-filter-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 350;
    background: rgba(15, 23, 42, 0.45);
}

@media (max-width: 991px) {
    .bus-page .busGrid {
        grid-template-columns: 1fr !important;
    }

    .bus-filter-toggle {
        display: block;
    }

    .bus-filter-drawer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 360;
        max-height: 78vh;
        overflow: auto;
        border-radius: 14px 14px 0 0;
        transform: translateY(102%);
        transition: transform 0.2s ease;
    }

    .bus-filter-drawer.is-open {
        transform: translateY(0);
    }

    .bus-filter-drawer-backdrop.is-open {
        display: block;
    }
}

@media (max-width: 767px) {
    .bus-page .flightsContainer {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .bus-page .busResultRow {
        grid-template-columns: 1fr !important;
    }

    .bus-page .busResultRight {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding-top: 8px;
        margin-top: 8px;
        border-top: 1px solid #eef2f7;
        align-items: stretch !important;
        text-align: left !important;
    }

    .bus-page .busViewSeatsBtn {
        width: 100%;
        text-align: center;
        min-height: 44px;
    }
}
