/* Hide Angular templates until the app boots (prevents {{ }} flash). */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/* ------------------------------------------------------------------
   Bus search engine (_Searchenginebus.cshtml)

   Deliberately mirrors hotel.css rule for rule so flight / hotel / bus
   look like one product: a single white pill with divider-separated
   fields, borderless bold inputs, and the site blue submit.
   ------------------------------------------------------------------ */

/* Put navbar in normal flow on bus pages (same as flight-home / hotel-home). */
body.bus-page header {
    position: relative;
    z-index: 2100;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

body.bus-page nav.navbar {
    position: relative !important;
    top: 0 !important;
    width: 100%;
    height: auto !important;
    min-height: 0;
    box-shadow: none;
    transform: none !important;
    -webkit-transform: none !important;
}

/* Hero. custom.css used to point at a broken protocol-relative URL. */
.Bus_top_banner {
    background-image: linear-gradient(rgba(9, 16, 44, .55), rgba(9, 16, 44, .55)), url(/images/Banner/Bus-banner.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    width: 100%;
    height: auto;
    padding: 200px 0 100px 0;
}

/* ---------------------------------------------------------------- intro */
.mtp-bus-search__intro {
    max-width: 720px;
    margin-bottom: 28px;
    color: #fff;
}

.mtp-bus-search__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 87, 173, 0.18);
    color: #B8D4F0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mtp-bus-search__title {
    margin: 16px 0 10px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.mtp-bus-search__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    max-width: 560px;
}

/* ---------------------------------------------------------------- card */
.mtp-bus-search__card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(11, 30, 51, 0.22);
    overflow: visible;
}

.mtp-bus-search__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 20px;
}

.mtp-bus-search__field {
    flex: 1 1 180px;
    min-width: 0;
    padding: 18px 20px;
    border-right: 1px solid #eef1f6;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mtp-bus-search__row .mtp-bus-search__field:first-child {
    border-radius: 20px 0 0 20px;
}

.mtp-bus-search__field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa3b5;
}

.mtp-bus-search__field label i {
    color: #0057AD;
    margin-right: 6px;
}

.mtp-bus-search__input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0B1E33;
    padding: 0;
}

.mtp-bus-search__input::placeholder {
    color: #b6bdcb;
    font-weight: 500;
}

/* The native date control needs the same borderless treatment. */
.mtp-bus-search__input[type="date"] {
    font-family: inherit;
    cursor: pointer;
    min-height: 27px;
}

.mtp-bus-search__sub {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #676977;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1rem;
}

/* --------------------------------------------------------------- swap */
.mtp-bus-search__field--swap {
    flex: 0 0 62px;
    align-items: center;
    padding: 18px 0;
}

.mtp-bus-search__swap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eef1f6;
    background: #fff;
    color: #0057AD;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(11, 30, 51, .08);
    transition: transform .15s ease;
}

.mtp-bus-search__swap:hover {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------- submit */
.mtp-bus-search__field--submit {
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background: linear-gradient(180deg, #fff 0%, #F5FAFE 100%);
    border-right: none;
    border-radius: 0 20px 20px 0;
}

.mtp-bus-search__submit {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0;
    background: linear-gradient(135deg, #0057AD 0%, #003E80 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.mtp-bus-search__submit:disabled { opacity: .6; cursor: not-allowed; }

/* ------------------------------------------------- city autocomplete */
.mtp-bus-city-panel {
    position: absolute;
    z-index: 60;
    left: 12px;
    right: 12px;
    top: 100%;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(11, 30, 51, .18);
    max-height: 300px;
    overflow: auto;
    display: none;
}

.mtp-bus-city-panel.is-open { display: block; }

.mtp-bus-city-panel ul { list-style: none; margin: 0; padding: 6px; }

.mtp-bus-city-panel li {
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0B1E33;
}

.mtp-bus-city-panel li:hover { background: #E8F3FC; }
.mtp-bus-city-panel li small { color: #9aa3b5; font-weight: 500; margin-left: 6px; }
.mtp-bus-city-panel li.is-note { cursor: default; color: #9aa3b5; font-weight: 500; }
.mtp-bus-city-panel li.is-error { cursor: default; color: #b42318; font-weight: 500; }

/* ------------------------------------------------------------ compact (results modify-search) */
.mtp-bus-search--compact {
    background: #f5f6fa;
    padding: 20px 0 8px;
}

.mtp-bus-search--compact .mtp-bus-search__card {
    box-shadow: 0 10px 26px rgba(11, 30, 51, .12);
    border-radius: 16px;
}

.mtp-bus-search--compact .mtp-bus-search__field { padding: 12px 16px; }
.mtp-bus-search--compact .mtp-bus-search__input { font-size: 1rem; }
.mtp-bus-search--compact .mtp-bus-search__submit { padding: 12px 16px; }

/* ------------------------------------------------------------ results */
.mtp-bus-results,
.mtp-bus-review,
.mtp-bus-review-page,
.mtp-bus-confirm,
.mtp-bus-pay,
.mtp-bus-pay-result {
    --mtp-accent: #0057AD;
    --mtp-accent-deep: #003E80;
    --mtp-navy: #0B1E33;
    --mtp-muted: #676977;
    --mtp-soft: #8b93a7;
    --mtp-line: #e8ecf2;
    --mtp-page: #f3f4f8;
    --mtp-card: #ffffff;
    --mtp-radius: 14px;
    --mtp-shadow: 0 1px 2px rgba(11, 30, 51, 0.04), 0 8px 22px rgba(11, 30, 51, 0.06);
}

.mtp-bus-results {
    padding: 8px 0 80px;
    background: #f5f6fa;
    min-height: 40vh;
}

.mtp-bus-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.mtp-bus-filters-slot {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    align-self: start;
}

.mtp-bus-filters {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--mtp-card);
    border: 1px solid var(--mtp-line);
    border-radius: var(--mtp-radius);
    box-shadow: var(--mtp-shadow);
    padding: 14px 14px 18px;
    scrollbar-width: thin;
    scrollbar-color: #c5c9d4 transparent;
}

.mtp-bus-filters::-webkit-scrollbar {
    width: 4px;
}

.mtp-bus-filters::-webkit-scrollbar-track {
    background: transparent;
}

.mtp-bus-filters::-webkit-scrollbar-thumb {
    background: #c5c9d4;
    border-radius: 6px;
}

.mtp-bus-filters::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.mtp-bus-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f7;
}

.mtp-bus-filters__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mtp-navy);
}

.mtp-bus-filters__clear {
    border: 0;
    background: transparent;
    color: var(--mtp-accent);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.mtp-bus-filters__block {
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f7;
}

.mtp-bus-filters__block:last-child { border-bottom: 0; }

.mtp-bus-filters__block h3 {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mtp-soft);
}

.mtp-bus-chipgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mtp-bus-chip,
.mtp-bus-slot {
    border: 1px solid #e4e7ee;
    background: #fff;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mtp-navy);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.mtp-bus-chip:hover,
.mtp-bus-slot:hover {
    border-color: #9BC4E8;
}

.mtp-bus-chip.is-on,
.mtp-bus-slot.is-on {
    border-color: var(--mtp-accent);
    background: #E8F3FC;
    color: var(--mtp-accent-deep);
    box-shadow: inset 0 0 0 1px rgba(0, 87, 173, 0.15);
}

.mtp-bus-chip:focus-visible,
.mtp-bus-slot:focus-visible {
    outline: 2px solid var(--mtp-accent);
    outline-offset: 2px;
}

.mtp-bus-slotgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mtp-bus-slot {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 58px;
}

.mtp-bus-slot strong {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
}

.mtp-bus-slot span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--mtp-soft);
}

.mtp-bus-slot.is-on span { color: var(--mtp-accent-deep); }

.mtp-bus-filters__search {
    width: 100%;
    border: 1px solid #e2e6ec;
    border-radius: 9px;
    padding: 8px 10px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.mtp-bus-filters__search:focus {
    outline: none;
    border-color: var(--mtp-accent);
    box-shadow: 0 0 0 3px rgba(0, 87, 173, 0.12);
}

.mtp-bus-filters__ops {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c5c9d4 transparent;
}

.mtp-bus-filters__ops::-webkit-scrollbar {
    width: 4px;
}

.mtp-bus-filters__ops::-webkit-scrollbar-track {
    background: transparent;
}

.mtp-bus-filters__ops::-webkit-scrollbar-thumb {
    background: #c5c9d4;
    border-radius: 6px;
}

.mtp-bus-filters__ops::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.mtp-bus-filters__ops li { margin: 0; }

.mtp-bus-filters__ops label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mtp-navy);
    cursor: pointer;
    border-radius: 6px;
    min-width: 0;
}

.mtp-bus-filters__ops label span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mtp-bus-filters__ops label:hover { background: #f8f9fc; }

.mtp-bus-filters__ops input {
    margin-top: 2px;
    accent-color: var(--mtp-accent);
}

.mtp-bus-main__head { margin-bottom: 12px; }

.mtp-bus-main__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--mtp-navy);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.mtp-bus-main__sub {
    margin: 4px 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mtp-muted);
}

.mtp-bus-dates {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-bottom: 10px;
    scrollbar-width: thin;
}

.mtp-bus-dates__item {
    flex: 0 0 auto;
    min-width: 78px;
    border: 1px solid #e4e7ee;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    text-align: center;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.mtp-bus-dates__item:hover { border-color: #9BC4E8; }

.mtp-bus-dates__item.is-active {
    border-color: var(--mtp-accent);
    background: #E8F3FC;
    box-shadow: inset 0 0 0 1px rgba(0, 87, 173, 0.2);
}

.mtp-bus-dates__day {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mtp-navy);
}

.mtp-bus-dates__dow {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mtp-soft);
}

.mtp-bus-dates__item.is-active .mtp-bus-dates__day,
.mtp-bus-dates__item.is-active .mtp-bus-dates__dow {
    color: var(--mtp-accent-deep);
}

.mtp-bus-nomatch {
    background: #fff;
    border: 1px dashed #d8dde8;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    color: var(--mtp-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.mtp-bus-nomatch button {
    display: inline-block;
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: var(--mtp-accent);
    font-weight: 800;
    cursor: pointer;
}

.mtp-bus-trip__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 0 22px;
    border-top: 1px solid #f0f2f7;
    background: #fafbfd;
    min-height: 42px;
}

.mtp-bus-trip__links .mtp-bus-trip__policy {
    border-top: 0;
    padding: 0;
    background: transparent;
    flex: 1 1 auto;
}

.mtp-bus-trip__links .mtp-bus-trip__policy summary {
    padding: 10px 0;
}

.mtp-bus-trip__live {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f7b3e;
    background: #eaf7ef;
    border-radius: 999px;
    padding: 3px 10px;
}

.mtp-bus-loading,
.mtp-bus-empty {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 16px;
    background: var(--mtp-card);
    border: 1px solid var(--mtp-line);
    border-radius: var(--mtp-radius);
    box-shadow: var(--mtp-shadow);
}

.mtp-bus-loading p,
.mtp-bus-empty p {
    margin: 10px 0 0;
    color: var(--mtp-muted);
    font-size: 0.95rem;
}

.mtp-bus-empty h3 {
    margin: 12px 0 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mtp-navy);
}

.mtp-bus-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #E8F3FC;
    color: var(--mtp-accent);
}

.mtp-bus-loading__pulse {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid #B8D4F0;
    border-top-color: var(--mtp-accent);
    animation: mtp-bus-spin 0.8s linear infinite;
}

/* ---- Search loading skeleton (flight-style shimmer) ---- */
@keyframes mtpBusSkelShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.mtp-bus-skel__line,
.mtp-bus-skel__chips span,
.mtp-bus-skel__dates span,
.mtp-bus-skel__sort span,
.mtp-bus-skel__tags span,
.mtp-bus-skel__rail,
.mtp-bus-skel__btn {
    background: linear-gradient(90deg, #e7ebf0 25%, #f4f6f9 37%, #e7ebf0 63%);
    background-size: 400% 100%;
    animation: mtpBusSkelShimmer 1.4s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
    .mtp-bus-skel__line,
    .mtp-bus-skel__chips span,
    .mtp-bus-skel__dates span,
    .mtp-bus-skel__sort span,
    .mtp-bus-skel__tags span,
    .mtp-bus-skel__rail,
    .mtp-bus-skel__btn {
        animation: none;
        background: #eceff3;
    }
}

.mtp-bus-skel {
    margin-bottom: 8px;
}

.mtp-bus-skel__filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.mtp-bus-skel__line {
    display: block;
    height: 14px;
    border-radius: 6px;
    width: 100%;
}

.mtp-bus-skel__line--title {
    height: 16px;
    width: 42%;
    margin-top: 6px;
}

.mtp-bus-skel__line--route {
    height: 22px;
    width: 58%;
}

.mtp-bus-skel__line--sub {
    height: 12px;
    width: 28%;
    margin-top: 8px;
}

.mtp-bus-skel__line--count {
    height: 14px;
    width: 120px;
}

.mtp-bus-skel__line--name {
    height: 16px;
    width: 70%;
}

.mtp-bus-skel__line--type {
    height: 12px;
    width: 48%;
    margin-top: 8px;
}

.mtp-bus-skel__line--clock {
    height: 18px;
    width: 54px;
    flex: 0 0 auto;
}

.mtp-bus-skel__line--price {
    height: 22px;
    width: 88px;
    margin-left: auto;
}

.mtp-bus-skel__line--seats {
    height: 12px;
    width: 72px;
    margin: 8px 0 0 auto;
}

.mtp-bus-skel__chips,
.mtp-bus-skel__tags,
.mtp-bus-skel__sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mtp-bus-skel__chips span {
    display: block;
    height: 34px;
    width: calc(50% - 4px);
    border-radius: 8px;
}

.mtp-bus-skel__tags {
    margin-top: 10px;
}

.mtp-bus-skel__tags span {
    display: block;
    height: 22px;
    width: 56px;
    border-radius: 999px;
}

.mtp-bus-skel__head {
    margin-bottom: 12px;
}

.mtp-bus-skel__dates {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.mtp-bus-skel__dates span {
    flex: 0 0 78px;
    height: 52px;
    border-radius: 10px;
}

.mtp-bus-skel__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mtp-bus-skel__sort span {
    display: block;
    height: 32px;
    width: 72px;
    border-radius: 8px;
}

.mtp-bus-skel__card {
    background: var(--mtp-card);
    border: 1px solid var(--mtp-line);
    border-radius: var(--mtp-radius);
    box-shadow: var(--mtp-shadow);
    margin-bottom: 12px;
    overflow: hidden;
}

.mtp-bus-skel__card-main {
    display: grid;
    grid-template-columns: minmax(140px, 1.05fr) minmax(180px, 1.35fr) minmax(120px, 0.8fr);
    gap: 16px 20px;
    align-items: center;
    padding: 18px 20px;
}

.mtp-bus-skel__timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mtp-bus-skel__rail {
    display: block;
    flex: 1 1 auto;
    height: 4px;
    border-radius: 999px;
}

.mtp-bus-skel__fare {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mtp-bus-skel__btn {
    display: block;
    width: 110px;
    height: 36px;
    border-radius: 10px;
    margin-top: 12px;
}

@media (max-width: 991.98px) {
    .mtp-bus-skel__card-main {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .mtp-bus-skel__fare {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mtp-bus-skel__line--price,
    .mtp-bus-skel__line--seats {
        margin: 0;
    }

    .mtp-bus-skel__btn {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .mtp-bus-skel__card-main {
        grid-template-columns: 1fr;
    }
}

.mtp-bus-loading__pulse--sm {
    width: 22px;
    height: 22px;
    border-width: 2px;
    margin: 0;
}

@keyframes mtp-bus-spin {
    to { transform: rotate(360deg); }
}

.mtp-bus-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--mtp-line);
    border-radius: 12px;
}

.mtp-bus-toolbar__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mtp-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
}

.mtp-bus-toolbar__count {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mtp-navy);
}

.mtp-bus-sort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.mtp-bus-sort__btn {
    border: 1px solid #e4e7ee;
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #4a5163;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mtp-bus-sort__btn:hover {
    border-color: #9BC4E8;
    color: var(--mtp-accent-deep);
}

.mtp-bus-sort__btn.is-active {
    background: linear-gradient(135deg, var(--mtp-accent) 0%, var(--mtp-accent-deep) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 87, 173, 0.28);
}

.mtp-bus-sort__btn:focus-visible {
    outline: 2px solid var(--mtp-accent);
    outline-offset: 2px;
}

.mtp-bus-trip {
    background: var(--mtp-card);
    border: 1px solid var(--mtp-line);
    border-radius: var(--mtp-radius);
    padding: 0;
    margin-bottom: 12px;
    box-shadow: var(--mtp-shadow);
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.mtp-bus-trip:hover {
    border-color: #dde2ec;
    box-shadow: 0 2px 4px rgba(11, 30, 51, 0.04), 0 12px 28px rgba(11, 30, 51, 0.08);
}

.mtp-bus-trip.is-open {
    border-color: #A8CBF0;
    box-shadow: 0 2px 4px rgba(0, 87, 173, 0.06), 0 14px 32px rgba(11, 30, 51, 0.1);
}

.mtp-bus-trip__main {
    display: grid;
    grid-template-columns: minmax(160px, 1.05fr) minmax(220px, 1.35fr) minmax(140px, 0.8fr);
    gap: 16px 20px;
    align-items: center;
    padding: 18px 20px;
}

.mtp-bus-trip__name {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 0;
    color: var(--mtp-navy);
    letter-spacing: -0.01em;
}

.mtp-bus-trip__type {
    font-size: 0.82rem;
    color: var(--mtp-muted);
    margin-top: 4px;
    line-height: 1.35;
}

.mtp-bus-trip__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.mtp-bus-trip__tag {
    display: inline-block;
    background: #E8F3FC;
    color: var(--mtp-accent-deep);
    border: 1px solid #B8D4F0;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.7rem;
    font-weight: 700;
    margin: 0;
}

.mtp-bus-trip__route {
    font-size: 0.75rem;
    color: var(--mtp-soft);
    margin-top: 6px;
}

.mtp-bus-trip__timeline {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.mtp-bus-trip__node { text-align: left; min-width: 0; }
.mtp-bus-trip__node--arr { text-align: right; }

.mtp-bus-trip__clock {
    display: block;
    font-size: 1.28rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--mtp-navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.mtp-bus-trip__node-label {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--mtp-soft);
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mtp-bus-trip__node--arr .mtp-bus-trip__node-label {
    margin-left: auto;
}

.mtp-bus-trip__span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 4px;
}

.mtp-bus-trip__dur {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mtp-muted);
}

.mtp-bus-trip__rail {
    display: block;
    width: 100%;
    max-width: 140px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #A8CBF0 0%, #c7d7fe 100%);
    position: relative;
}

.mtp-bus-trip__rail::before,
.mtp-bus-trip__rail::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mtp-accent);
    transform: translateY(-50%);
}

.mtp-bus-trip__rail::before { left: 0; }
.mtp-bus-trip__rail::after {
    right: 0;
    background: #2563eb;
}

.mtp-bus-trip__nextday {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--mtp-accent-deep);
    background: #E8F3FC;
    border-radius: 6px;
    padding: 2px 6px;
}

.mtp-bus-trip__deal {
    text-align: right;
    justify-self: end;
    width: 100%;
    max-width: 180px;
}

.mtp-bus-trip__from {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mtp-soft);
}

.mtp-bus-trip__fare {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--mtp-navy);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.mtp-bus-trip__seats {
    font-size: 0.78rem;
    color: var(--mtp-muted);
    margin-top: 4px;
}

.mtp-bus-trip__seats strong {
    color: #0f7b3e;
    font-weight: 800;
}

.mtp-bus-trip__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border: none;
    background: linear-gradient(135deg, var(--mtp-accent, #0057AD) 0%, var(--mtp-accent-deep, #003E80) 100%);
    background-color: #0057AD;
    color: #fff !important;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.3;
    cursor: pointer;
    width: 100%;
    text-decoration: none !important;
    text-align: center;
    transition: transform 150ms ease, filter 150ms ease, box-shadow 200ms ease;
    box-shadow: 0 4px 12px rgba(0, 87, 173, 0.22);
}

.mtp-bus-trip__btn:hover:not(:disabled) {
    filter: brightness(1.04);
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 87, 173, 0.3);
}

.mtp-bus-trip__btn:focus-visible {
    outline: 2px solid var(--mtp-accent, #0057AD);
    outline-offset: 2px;
}

.mtp-bus-trip__btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }

.mtp-bus-trip__policy {
    border-top: 1px solid #f0f2f7;
    padding: 0 22px;
    background: #fafbfd;
}

.mtp-bus-trip__policy summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mtp-muted);
    user-select: none;
}

.mtp-bus-trip__policy summary::-webkit-details-marker { display: none; }

.mtp-bus-trip__policy summary::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--mtp-accent);
}

.mtp-bus-trip__policy[open] summary::after {
    border-top: 0;
    border-bottom: 5px solid var(--mtp-accent);
}

.mtp-bus-trip__policy ul {
    margin: 0 0 14px;
    padding-left: 1.15rem;
    color: var(--mtp-navy);
    font-size: 0.86rem;
}

.mtp-bus-trip__policy li { margin-bottom: 4px; }

.mtp-bus-trip__seatpane {
    border-top: 1px solid var(--mtp-line);
    padding: 14px 16px 16px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f7f8fb 100%);
    /* Leave room for sticky mobile bar / site header when scrolling into view */
    scroll-margin-top: 96px;
}

@media (min-width: 992px) {
    .mtp-bus-trip__seatpane {
        scroll-margin-top: 24px;
    }
}

.mtp-bus-seat-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mtp-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 0;
}

@media (max-width: 1100px) {
    .mtp-bus-layout {
        grid-template-columns: 1fr;
    }
    .mtp-bus-filters {
        position: static;
        max-height: none;
    }
    .mtp-bus-filters-slot {
        position: static;
        max-height: none;
    }
}

@media (max-width: 991px) {
    .mtp-bus-trip__main {
        grid-template-columns: 1fr 1fr;
    }
    .mtp-bus-trip__deal {
        grid-column: 1 / -1;
        max-width: none;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px 16px;
        align-items: center;
        text-align: left;
    }
    .mtp-bus-trip__btn {
        grid-row: 1 / span 2;
        grid-column: 2;
        width: auto;
        min-width: 140px;
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .mtp-bus-trip__main {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .mtp-bus-trip__deal {
        grid-template-columns: 1fr;
    }
    .mtp-bus-trip__btn {
        grid-row: auto;
        grid-column: auto;
        width: 100%;
    }
    .mtp-bus-filters { top: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .mtp-bus-loading__pulse { animation: none; }
    .mtp-bus-trip,
    .mtp-bus-sort__btn,
    .mtp-bus-trip__btn,
    .mtp-bus-chip,
    .mtp-bus-slot { transition: none; }
}

/* --------------------------------------------------------- seat deck — MakeMyTrip-style cabin */
.mtp-bus-seatmap {
    margin-top: 0;
/*    border: 1px solid var(--mtp-line);*/
/*    border-radius: var(--mtp-radius);*/
/*    background: var(--mtp-card);*/
/*    padding: 14px 16px 16px;*/
/*    box-shadow: 0 1px 2px rgba(11, 30, 51, 0.03);*/
}

.mtp-bus-seatmap__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.mtp-bus-seatmap__head > strong,
.mtp-bus-seatmap__head > div > strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mtp-navy);
}

.mtp-bus-seatmap__hint {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: var(--mtp-soft);
    font-weight: 500;
}

.mtp-bus-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 0.78rem;
    color: var(--mtp-muted);
}

.mtp-bus-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.mtp-bus-legend__ico {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    object-fit: contain;
    margin-right: 0;
}

.mtp-bus-panel__nudge {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f5f6fa;
    border: 1px dashed #d8dde8;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mtp-muted);
    text-align: center;
}

/* Front row styles live with .mtp-bus-deck__scroll further below */

.mtp-bus-deck__label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #4a4f63;
    margin-bottom: 8px;
    text-align: center;
}

.mtp-bus-seat__name {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: var(--mtp-navy);
    line-height: 1;
    margin-bottom: 1px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.mtp-bus-seat.is-taken .mtp-bus-seat__name {
    color: #9aa3b5;
}

.mtp-bus-seat.is-selected .mtp-bus-seat__name {
    color: var(--mtp-accent-deep);
}

.mtp-bus-seatmap__body {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: stretch;
}

.mtp-bus-seatmap__body > .mtp-bus-deck {
    flex: 0 0 auto;
}

/* MakeMyTrip-style seat stage: cabin | boarding+drop lists */
.mtp-bus-seatmap--mmt {
    padding: 0;
    overflow: visible;
}

.mtp-bus-seatmap__stage {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 0;
    /* Stretch so boarding/drop column matches cabin height on desktop */
    align-items: stretch;
    min-height: 0;
}

.mtp-bus-seatmap__cabin {
    padding: 14px 16px 16px;
    border-right: 1px solid var(--mtp-line);
    background: #fff;
    min-width: 0; /* let the grid column shrink so overflow scrolls instead of spilling */
    overflow: hidden;
}

/* Title + legend + decks: scroll sideways when both berths don't fit */
.mtp-bus-seatmap__cabin-scroll {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.mtp-bus-seatmap__stops {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: 100%;
    align-self: stretch;
    background: #fafbfd;
    padding: 14px 14px 0;
}

.mtp-bus-stops__head {
    margin-bottom: 12px;
    flex: 0 0 auto;
}

.mtp-bus-stops__head strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mtp-navy);
}

.mtp-bus-stops {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
}

.mtp-bus-stops__col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    height: 100%;
}

.mtp-bus-stops__title {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mtp-soft);
    flex: 0 0 auto;
}

.mtp-bus-stops__list {
    flex: 1 1 auto;
    min-height: 0;
    /* Desktop: fill the stretched column; scroll when points overflow */
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid var(--mtp-line);
    border-radius: 12px;
    /* Thin faded scrollbar (Firefox) */
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 30, 51, 0.28) rgba(11, 30, 51, 0.06);
}

/* Thin faded scrollbar (Chrome / Edge / Safari / Android) */
.mtp-bus-stops__list::-webkit-scrollbar {
    width: 4px;
}

.mtp-bus-stops__list::-webkit-scrollbar-track {
    background: rgba(11, 30, 51, 0.05);
    border-radius: 999px;
    margin: 6px 0;
}

.mtp-bus-stops__list::-webkit-scrollbar-thumb {
    background: rgba(11, 30, 51, 0.28);
    border-radius: 999px;
}

.mtp-bus-stops__list::-webkit-scrollbar-thumb:active {
    background: rgba(11, 30, 51, 0.4);
}

.mtp-bus-stops__list::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.mtp-bus-stops__list::-webkit-scrollbar-corner {
    background: transparent;
}

.mtp-bus-stop {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f2f7;
    cursor: pointer;
    transition: background 160ms ease;
}

.mtp-bus-stop:last-child { border-bottom: 0; }

.mtp-bus-stop:hover { background: #F0F7FC; }

.mtp-bus-stop.is-on {
    background: #E8F3FC;
    box-shadow: inset 3px 0 0 var(--mtp-accent);
}

.mtp-bus-stop input {
    margin-top: 3px;
    accent-color: var(--mtp-accent);
    flex: 0 0 auto;
}

.mtp-bus-stop__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mtp-bus-stop__time {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--mtp-navy);
    font-variant-numeric: tabular-nums;
}

.mtp-bus-stop__name {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--mtp-navy);
    line-height: 1.3;
}

.mtp-bus-stop__detail {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--mtp-soft);
    line-height: 1.35;
}

.mtp-bus-stops__hint {
    margin: 8px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--mtp-soft);
}

.mtp-bus-seatmap__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 12px -14px 0;
    padding: 12px 14px;
    border-top: 1px solid var(--mtp-line);
    background: #fff;
    flex: 0 0 auto;
}

.mtp-bus-seatmap__sel {
    flex: 1 1 140px;
    min-width: 0;
}

.mtp-bus-seatmap__sel-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mtp-soft);
}

.mtp-bus-seatmap__sel strong {
    display: block;
    margin-top: 2px;
    font-size: 0.92rem;
    color: var(--mtp-navy);
}

.mtp-bus-seatmap__sel em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mtp-soft);
}

.mtp-bus-seatmap__payline {
    text-align: right;
}

.mtp-bus-seatmap__payline span {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mtp-soft);
}

.mtp-bus-seatmap__payline strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--mtp-navy);
    font-variant-numeric: tabular-nums;
}

.mtp-bus-seatmap__continue {
    width: auto;
    min-width: 132px;
    margin-top: 0;
    padding: 11px 22px;
}

.mtp-bus-seatmap__continue:disabled {
    background: #d8dde8;
    color: #fff;
    box-shadow: none;
    filter: none;
}

.mtp-bus-pax-step {
    border-top: 1px solid var(--mtp-line);
    padding: 14px 16px 16px;
    background: #f7f8fb;
    scroll-margin-top: 96px;
}

.mtp-bus-pax-step .mtp-bus-panel--pax {
    max-width: none;
    width: 100%;
}

.mtp-bus-seatmap__side {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
}

.mtp-bus-seatmap__points-col {
    flex: 0 1 280px;
    min-width: 220px;
    max-width: none;
    width: auto;
}

.mtp-bus-seatmap__points-col:only-child {
    flex: 1 1 0;
}

.mtp-bus-seatmap__pax-col {
    flex: 1 1 0;
    min-width: 280px;
    max-width: none;
}

.mtp-bus-seatmap__points-col .mtp-bus-panel,
.mtp-bus-seatmap__pax-col .mtp-bus-panel {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Soft UI panels — boarding + passenger */
.mtp-bus-panel {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(11, 30, 51, 0.04), 0 8px 24px rgba(11, 30, 51, 0.06);
    padding: 16px 16px 18px;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.mtp-bus-panel__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.mtp-bus-panel__head--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mtp-bus-panel__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0B1E33;
    letter-spacing: -0.01em;
}

.mtp-bus-panel__sub {
    margin: 4px 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: #8b93a7;
    line-height: 1.35;
}

.mtp-bus-panel__sub strong {
    color: #0B1E33;
    font-weight: 700;
}

.mtp-bus-panel__total {
    text-align: right;
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #F0F7FC 0%, #E8F3FC 100%);
    border: 1px solid #B8D4F0;
}

.mtp-bus-panel__total span {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c45a45;
}

.mtp-bus-panel__total strong {
    display: block;
    margin-top: 2px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0B1E33;
    font-variant-numeric: tabular-nums;
}

.mtp-bus-panel__cta {
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
    transition: transform 150ms ease, filter 150ms ease, box-shadow 200ms ease;
}

.mtp-bus-panel__cta:hover:not(:disabled) {
    filter: brightness(1.03);
    box-shadow: 0 4px 14px rgba(0, 87, 173, 0.28);
}

.mtp-bus-panel__cta:focus-visible {
    outline: 2px solid #0057AD;
    outline-offset: 2px;
}

.mtp-bus-panel__cta:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Journey timeline — pickup → drop */
.mtp-bus-journey {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.mtp-bus-journey__step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
}

.mtp-bus-journey__marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(11, 30, 51, 0.08);
}

.mtp-bus-journey__marker--pick {
    background: #E8F3FC;
    color: #003E80;
    border: 1.5px solid #A8CBF0;
}

.mtp-bus-journey__marker--drop {
    background: #eef4ff;
    color: #2563eb;
    border: 1.5px solid #c7d7fe;
}

.mtp-bus-journey__rail {
    width: 2px;
    height: 14px;
    margin: 2px 0 2px 13px;
    background: linear-gradient(180deg, #A8CBF0 0%, #c7d7fe 100%);
    border-radius: 2px;
}

.mtp-bus-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.mtp-bus-field__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b93a7;
}

.mtp-bus-field__label em {
    color: #0057AD;
    font-style: normal;
    font-weight: 800;
}

.mtp-bus-field__hint {
    font-size: 0.72rem;
    font-weight: 500;
    color: #9aa3b5;
    line-height: 1.3;
}

.mtp-bus-field input,
.mtp-bus-field select {
    width: 100%;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #0B1E33;
    background: #fff;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
    appearance: none;
    -webkit-appearance: none;
}

.mtp-bus-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b93a7' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.mtp-bus-field input::placeholder {
    color: #b6bdcb;
    font-weight: 400;
}

.mtp-bus-field input:hover,
.mtp-bus-field select:hover {
    border-color: #cfd5e0;
}

.mtp-bus-field input:focus,
.mtp-bus-field select:focus {
    outline: none;
    border-color: #0057AD;
    box-shadow: 0 0 0 3px rgba(0, 87, 173, 0.15);
    background: #fff;
}

.mtp-bus-field select:disabled {
    background-color: #f5f6fa;
    color: #676977;
    cursor: not-allowed;
}

/* Passenger cards */
.mtp-bus-pax-list--cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.mtp-bus-pax-card {
    background: #f8f9fc;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 12px;
}

.mtp-bus-pax-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 10px;
}

.mtp-bus-pax-card__seat {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0B1E33;
}

.mtp-bus-pax-card__fare {
    font-size: 0.82rem;
    font-weight: 600;
    color: #676977;
    font-variant-numeric: tabular-nums;
}

.mtp-bus-pax-card__badge {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a21caf;
    background: #fdf4ff;
    border: 1px solid #f5d0fe;
    border-radius: 999px;
    padding: 2px 8px;
}

.mtp-bus-pax-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
}

.mtp-bus-pax-card__grid .mtp-bus-field--span2 {
    grid-column: 1 / -1;
}

/* Tablet + mobile: tighten nested pax padding (step → panel → card) */
@media (max-width: 991.98px) {
    .mtp-bus-pax-step {
        padding: 8px 6px 10px;
        background: transparent;
        border-top-color: #eef1f6;
    }

    .mtp-bus-pax-step .mtp-bus-panel--pax {
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 1px 2px rgba(11, 30, 51, 0.04);
    }

    .mtp-bus-pax-step .mtp-bus-panel__head {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .mtp-bus-pax-step .mtp-bus-panel__head--split {
        gap: 8px;
    }

    .mtp-bus-pax-step .mtp-bus-pax-list--cards {
        gap: 8px;
        margin-bottom: 10px;
    }

    .mtp-bus-pax-step .mtp-bus-pax-card {
        padding: 10px;
        border-radius: 10px;
        background: #fff;
    }

    .mtp-bus-pax-step .mtp-bus-pax-card__meta {
        margin-bottom: 8px;
        gap: 4px 8px;
    }

    .mtp-bus-pax-step .mtp-bus-pax-card__grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mtp-bus-pax-step .mtp-bus-pax-card__grid .mtp-bus-field--span2 {
        grid-column: 1 / -1;
    }

    .mtp-bus-pax-step .mtp-bus-field {
        gap: 4px;
    }

    .mtp-bus-pax-step .mtp-bus-field input,
    .mtp-bus-pax-step .mtp-bus-field select {
        padding: 9px 10px;
        min-height: 42px; /* touch-friendly without extra wrapper space */
    }

    .mtp-bus-pax-step .mtp-bus-panel__cta {
        margin-top: 2px;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .mtp-bus-pax-step {
        padding: 6px 0 8px;
    }

    .mtp-bus-pax-step .mtp-bus-panel--pax {
        padding: 10px;
        border-radius: 10px;
    }

    .mtp-bus-pax-step .mtp-bus-pax-card {
        padding: 8px;
    }
}

.mtp-bus-deck__scroll {
    /* Scrollport can grow with the cabin; max-width keeps huge decks inside the stage. */
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    width: fit-content;
    box-sizing: border-box;
    border: 0.8px solid #d8d8d8;
    border-radius: 12px;
    background: #fff;
    padding: 8px 8px 12px;
    scrollbar-width: thin;
    margin-inline: auto;
}

/* Exact seat-map width — front + grid share this, so the wheel is always top-right of the bus. */
.mtp-bus-deck__cabin {
    box-sizing: border-box;
}

.mtp-bus-deck__front {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    height: 28px;
    margin-bottom: 4px;
    padding: 0 4px;
    box-sizing: border-box;
}

.mtp-bus-deck__front.is-spacer {
    /* Same footprint as lower-deck front row so upper seats align */
    visibility: hidden;
    pointer-events: none;
}

.mtp-bus-deck__front-label {
    grid-column: 2;
    justify-self: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8b93a7;
    line-height: 1;
}

.mtp-bus-deck__wheel {
    grid-column: 3;
    justify-self: end;
    position: static;
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: .9;
    pointer-events: none;
}

.mtp-bus-booking--side {
    margin-top: 0;
    padding: 12px;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    background: #f8f9fc;
}

.mtp-bus-booking--side .mtp-bus-booking__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
}

.mtp-bus-booking--side .mtp-bus-trip__btn {
    width: 100%;
}

.mtp-bus-pax--stacked {
    flex-direction: column;
    align-items: stretch;
}

.mtp-bus-pax--stacked .mtp-bus-pax__seat {
    flex: none;
}

.mtp-bus-pax--stacked input,
.mtp-bus-pax--stacked select {
    width: 100%;
    flex: none;
}

.mtp-bus-points--stacked {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mtp-bus-points--stacked label {
    display: block;
}

.mtp-bus-deck {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: stretch;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
}

/* Pane hugs each deck's cabin — no forced 50% so a 2-column bus is not a half-empty box. */
.mtp-bus-deck__pane {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mtp-bus-deck__pane:only-child {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.mtp-bus-deck__label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #4a4f63;
    margin-bottom: 8px;
    text-align: center;
}

.mtp-bus-deck__grid {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.mtp-bus-seat {
    position: absolute;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #4b5168;
    user-select: none;
    line-height: 1;
    transition: transform .12s, filter .12s;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: default;
}

.mtp-bus-seat__img {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100% - 22px);
    object-fit: contain;
    pointer-events: none;
    display: block;
}

.mtp-bus-seat__fare {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 600;
    color: #6b7285;
    line-height: 1.1;
    margin-top: 1px;
    white-space: nowrap;
    pointer-events: none;
}

.mtp-bus-seat__name {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #0B1E33;
    line-height: 1;
    margin-bottom: 1px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.mtp-bus-seat.is-sleeper {
    border-radius: 0;
}

.mtp-bus-seat.is-sleeper::before {
    display: none;
}

/* Horizontal berth (API width > length): rotate art only; fare stays upright.
   Transform doesn't affect layout, so take the icon out of flow and keep fare
   flush at the bottom (same tight gap as seater / vertical sleeper). */
.mtp-bus-seat.is-sleeper-horizontal {
    justify-content: flex-end;
    overflow: visible;
}

.mtp-bus-seat.is-sleeper-horizontal .mtp-bus-seat__img {
    position: absolute;
    left: 50%;
    /* Center in the space above the fare (~11px) */
    top: calc(50% - 5px);
    width: 26px;
    height: 76px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center center;
    flex: none;
    margin: 0;
}

.mtp-bus-seat.is-sleeper-horizontal .mtp-bus-seat__fare {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.mtp-bus-seat.is-taken {
    background: transparent;
    border: none;
    box-shadow: none;
    filter: grayscale(.25);
    opacity: .8;
}

.mtp-bus-seat.is-taken .mtp-bus-seat__fare {
    color: #9aa3b5;
}

.mtp-bus-seat.is-ladies,
.mtp-bus-seat.is-ladies.is-taken {
    border: none;
    background: transparent;
}

.mtp-bus-seat.is-window::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 10px;
    border-radius: 2px;
    background: rgba(56, 189, 248, 0.95);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.9);
    pointer-events: none;
    z-index: 2;
}

.mtp-bus-seat.is-free {
    cursor: pointer;
}
.mtp-bus-seat.is-free:hover {
    transform: translateY(-1px) scale(1.03);
    z-index: 2;
    filter: brightness(1.05);
}

.mtp-bus-seat.is-selected {
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 3;
}

.mtp-bus-seat.is-selected .mtp-bus-seat__fare {
    color: #0B1E33;
    font-weight: 700;
}

.mtp-bus-seat.is-selected.is-sleeper::before {
    display: none;
}

.mtp-bus-seat.is-selected.is-window::after {
    display: block;
    background: rgba(14, 165, 233, 1);
    box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 1);
}

.mtp-bus-seat:disabled {
    cursor: not-allowed;
}

.mtp-bus-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 0.8rem;
    color: #676977;
}

.mtp-bus-legend__ico {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    object-fit: contain;
    margin-right: 3px;
}

.mtp-bus-legend__window {
    display: inline-block;
    width: 8px;
    height: 10px;
    margin-right: 4px;
    vertical-align: -1px;
    border-radius: 2px;
    background: rgba(56, 189, 248, 0.95);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.9);
}

@media (max-width: 1100px) {
    .mtp-bus-seatmap__body {
        flex-wrap: wrap;
    }
    .mtp-bus-seatmap__side {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .mtp-bus-seatmap__stage {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .mtp-bus-seatmap__cabin {
        border-right: 0;
        border-bottom: 1px solid var(--mtp-line);
    }
    .mtp-bus-seatmap__stops {
        height: auto;
        align-self: stretch;
    }
    .mtp-bus-stops {
        flex: 0 0 auto;
    }
    .mtp-bus-stops__col {
        height: auto;
    }
    .mtp-bus-stops__list {
        height: 200px;
        max-height: 200px;
        flex: 0 0 auto;
        position: relative;
        padding-right: 6px;
        /* Force scrollport so a thin bar can appear when content overflows */
        overflow-y: scroll;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color: rgba(11, 30, 51, 0.35) rgba(11, 30, 51, 0.08);
    }

    /* Always-visible faded rail when the list actually overflows (helps iOS) */
    .mtp-bus-stops__list.is-scrollable {
        box-shadow: inset -3px 0 0 rgba(11, 30, 51, 0.1);
    }

    .mtp-bus-stops__list::-webkit-scrollbar {
        width: 4px;
        -webkit-appearance: none !important;
        appearance: none;
        display: block !important;
        background: transparent;
    }

    .mtp-bus-stops__list::-webkit-scrollbar-track {
        background: rgba(11, 30, 51, 0.07);
        border-radius: 999px;
        margin: 4px 0;
    }

    .mtp-bus-stops__list::-webkit-scrollbar-thumb {
        background: rgba(11, 30, 51, 0.32);
        border-radius: 999px;
        min-height: 28px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background-clip: padding-box;
    }

    .mtp-bus-stops__list::-webkit-scrollbar-thumb:active {
        background: rgba(11, 30, 51, 0.45);
    }
}

@media (max-width: 720px) {
    .mtp-bus-seatmap__body {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .mtp-bus-seatmap__side {
        max-width: none;
        width: 100%;
        flex-direction: column;
        flex-wrap: wrap;
    }
    .mtp-bus-seatmap__points-col,
    .mtp-bus-seatmap__pax-col {
        max-width: none;
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }
    .mtp-bus-stops {
        grid-template-columns: 1fr;
    }
    .mtp-bus-stops__list {
        height: 180px;
        max-height: 180px;
        overflow-y: scroll;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color: rgba(11, 30, 51, 0.35) rgba(11, 30, 51, 0.08);
        padding-right: 6px;
    }
    .mtp-bus-stops__list.is-scrollable {
        box-shadow: inset -3px 0 0 rgba(11, 30, 51, 0.1);
    }
    .mtp-bus-stops__list::-webkit-scrollbar {
        width: 4px;
        -webkit-appearance: none !important;
        appearance: none;
        display: block !important;
    }
    .mtp-bus-stops__list::-webkit-scrollbar-track {
        background: rgba(11, 30, 51, 0.07);
        border-radius: 999px;
        margin: 4px 0;
    }
    .mtp-bus-stops__list::-webkit-scrollbar-thumb {
        background: rgba(11, 30, 51, 0.32);
        border-radius: 999px;
        min-height: 28px;
    }
    .mtp-bus-seatmap__footer {
        flex-direction: column;
        align-items: stretch;
    }
    .mtp-bus-seatmap__continue {
        width: 100%;
    }
    .mtp-bus-seatmap__payline {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
    }
    .mtp-bus-seatmap__payline span,
    .mtp-bus-seatmap__payline strong {
        display: inline;
    }
    .mtp-bus-panel__head--split {
        flex-direction: column;
        align-items: stretch;
    }
    .mtp-bus-panel__total {
        text-align: left;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
    }
    .mtp-bus-panel__total span,
    .mtp-bus-panel__total strong {
        display: inline;
    }
    .mtp-bus-deck {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .mtp-bus-deck__pane,
    .mtp-bus-deck__pane:only-child {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mtp-bus-panel,
    .mtp-bus-panel__cta,
    .mtp-bus-field input,
    .mtp-bus-field select {
        transition: none;
    }
}

.mtp-bus-msg { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: 0.92rem; font-weight: 500; }
.mtp-bus-msg--info { background: #E8F3FC; color: #003E80; }
.mtp-bus-msg--warn { background: #E8F3FC; color: #0A3A6B; }
.mtp-bus-msg--err { background: #fdecea; color: #b42318; }

/* -------------------------------------------------------- responsive */
@media (max-width: 991px) {
    .Bus_top_banner { padding: 120px 0 60px 0; }

    .mtp-bus-search__field {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid #eef1f6;
        border-radius: 0 !important;
    }

    .mtp-bus-search__field--swap { display: none; }

    .mtp-bus-search__field--submit {
        flex: 1 1 100%;
        border-bottom: none;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Panels injected by the product tabs. The tab bar stays put and only the
   engine below it changes, so panel heroes are slightly shorter than a full
   landing hero.
   -------------------------------------------------------------------------- */
#mtpEnginePanel { transition: opacity .15s ease; }

.mtp-visa-hero--panel,
.mtp-car-hero--panel { padding-top: 60px; padding-bottom: 60px; }

.mtp-visa-panel-popular { margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.85); }
.mtp-visa-panel-popular span { margin-right: 6px; }
.mtp-visa-panel-popular a {
    display: inline-block; margin: 4px 6px 0 0; padding: 4px 12px;
    border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; text-decoration: none;
}
.mtp-visa-panel-popular a:hover { background: rgba(255,255,255,.32); color: #fff; }

.mtp-car-panel-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.mtp-car-panel-field { flex: 1 1 190px; display: flex; flex-direction: column; }
.mtp-car-panel-field label {
    font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: #9aa3b5; margin-bottom: 6px;
}
.mtp-car-panel-field label i { color: #0057AD; margin-right: 6px; }
.mtp-car-panel-field input {
    border: 1px solid #e2e6ec; border-radius: 10px; padding: 11px 12px; font-size: 1rem; width: 100%;
}
.mtp-car-panel-field--submit { flex: 0 0 190px; }
.mtp-car-panel-note { margin: 10px 0 0; font-size: .82rem; color: #676977; }

/* --------------------------------------------------------------------------
   Seat selection → boarding points → passenger details → hold
   -------------------------------------------------------------------------- */
.mtp-bus-key {
    display: inline-block; width: 11px; height: 11px; border-radius: 3px;
    border: 1px solid #dfe3ea; vertical-align: -1px; margin-right: 2px;
}
.mtp-bus-key--free { background: #fff; }
.mtp-bus-key--sel { background: #0057AD; border-color: #003E80; }

.mtp-bus-booking:empty { display: none; }
.mtp-bus-booking {
    margin-top: 16px; padding: 16px; border: 1px solid #eef1f6;
    border-radius: 14px; background: #fafbfd;
}

.mtp-bus-booking__bar {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
    align-items: center; font-size: .92rem; color: #0B1E33; margin-bottom: 12px;
}
.mtp-bus-booking__total { font-size: 1.15rem; font-weight: 800; }

.mtp-bus-points { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.mtp-bus-points label {
    flex: 1 1 240px; display: flex; flex-direction: column;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: #9aa3b5; gap: 6px;
}
.mtp-bus-points select {
    border: 1px solid #e2e6ec; border-radius: 10px; padding: 10px 12px;
    font-size: .95rem; font-weight: 500; color: #0B1E33; background: #fff;
    text-transform: none; letter-spacing: 0;
}
.mtp-bus-points__hint {
    font-size: .72rem; font-weight: 500; color: #9aa3b5;
    text-transform: none; letter-spacing: 0; margin-top: 4px;
}

.mtp-bus-pax-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.mtp-bus-pax {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    background: #fff; border: 1px solid #eef1f6; border-radius: 12px; padding: 10px 12px;
}
.mtp-bus-pax__seat { flex: 0 0 150px; font-size: .9rem; color: #0B1E33; }
.mtp-bus-pax__seat span { color: #676977; }
.mtp-bus-pax__ladies { color: #d946ef; font-style: normal; font-size: .78rem; font-weight: 600; }
.mtp-bus-pax input, .mtp-bus-pax select {
    flex: 1 1 130px; min-width: 0; border: 1px solid #e2e6ec; border-radius: 9px;
    padding: 9px 11px; font-size: .95rem;
}
.mtp-bus-pax input[data-f="age"] { flex: 0 0 80px; }

.mtp-bus-hold { margin-top: 12px; }
.mtp-bus-hold__ok {
    background: #eaf7ef; color: #0f7b3e; border-radius: 10px;
    padding: 12px 14px; font-weight: 600; font-size: .95rem;
}
.mtp-bus-hold__ok code { background: rgba(15,123,62,.12); padding: 2px 7px; border-radius: 5px; }
.mtp-bus-hold__timer { margin-top: 8px; font-size: 1rem; color: #0B1E33; }
.mtp-bus-hold__timer strong { font-variant-numeric: tabular-nums; color: #003E80; font-size: 1.15rem; }
.mtp-bus-hold__next { margin: 10px 0 0; font-size: .85rem; color: #676977; }

.mtp-bus-pay-btn { margin-top: 12px; }
.mtp-bus-msg--info {
    background: #eef4ff; color: #1e3a8a; border: 1px solid #c7d7fe;
    border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: .92rem;
}

.mtp-bus-confirm { padding: 32px 0 64px; }
.mtp-bus-confirm__hero { margin-bottom: 24px; }
.mtp-bus-confirm__eyebrow {
    margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #0f7b3e;
}
.mtp-bus-confirm__hero h1 {
    margin: 0 0 8px; font-size: 1.75rem; color: #0B1E33;
}
.mtp-bus-confirm__hero h1 code {
    background: #f0f3f8; padding: 2px 8px; border-radius: 6px; font-size: 1.1rem;
}
.mtp-bus-confirm__route { margin: 0; font-size: 1.1rem; color: #676977; }
.mtp-bus-confirm__card {
    border: 1px solid #eef1f6; border-radius: 14px; background: #fafbfd; padding: 8px 0;
    margin-bottom: 24px;
}
.mtp-bus-confirm__row {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 10px 16px; border-bottom: 1px solid #eef1f6; font-size: .95rem;
}
.mtp-bus-confirm__row:last-child { border-bottom: 0; }
.mtp-bus-confirm__row span { color: #9aa3b5; }
.mtp-bus-confirm__row strong { color: #0B1E33; text-align: right; }
.mtp-bus-confirm__h { font-size: 1.1rem; margin: 0 0 10px; color: #0B1E33; }
.mtp-bus-confirm__pax { margin: 0 0 16px; padding-left: 1.2rem; color: #0B1E33; }
.mtp-bus-confirm__pax em { color: #676977; font-style: normal; font-size: .85rem; }
.mtp-bus-confirm__policy { font-size: .85rem; color: #676977; }
.mtp-bus-confirm__policy ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.mtp-bus-confirm__policy li { margin: .2rem 0; }
.mtp-bus-cancel {
    margin-top: 28px; padding: 16px; border: 1px solid #eef1f6; border-radius: 14px; background: #fff;
}
.mtp-bus-cancel__row { margin: 12px 0; }
.mtp-bus-cancel__row label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: #9aa3b5;
}
.mtp-bus-cancel__row select {
    border: 1px solid #e2e6ec; border-radius: 10px; padding: 10px 12px;
    font-size: .95rem; font-weight: 500; color: #0B1E33; text-transform: none; letter-spacing: 0;
}
.mtp-bus-cancel__quote { margin-top: 14px; }
.mtp-bus-cancel__confirm { background: #b91c1c; border-color: #b91c1c; }
/* --------------------------------------------------------------------------
   Bus landing page (design mockup applied below the search engine)
   -------------------------------------------------------------------------- */
.mtp-bus-home {
  --mtp-bus-accent: #0057AD;
  --mtp-bus-navy: #1e2554;
  --mtp-bus-muted: #6c757d;
  color: #444;
}

.mtp-bus-home .container { max-width: 1200px; }

.mtp-bus-info { padding: 56px 0 24px; }
.mtp-bus-info__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.mtp-bus-info__copy { flex: 1 1 55%; }
.mtp-bus-info__copy h2 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  color: #252733;
}
.mtp-bus-info__copy h2 span { color: var(--mtp-bus-accent); }
.mtp-bus-info__copy p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #777;
}
.mtp-bus-info__media { flex: 0 1 42%; }
.mtp-bus-info__media img {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.mtp-bus-routes { padding: 28px 0 48px; }
.mtp-bus-routes__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.mtp-bus-routes__mark {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 10px 7px 0;
  border-color: transparent var(--mtp-bus-accent) transparent transparent;
}
.mtp-bus-routes__head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #202124;
}

.mtp-bus-route-tabs .nav-link {
  color: #202124;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 12px 16px;
  text-align: left;
  border: none;
  background: transparent;
}
.mtp-bus-route-tabs .nav-link:hover { background: #eaecef; color: #202124; }
.mtp-bus-route-tabs .nav-link.active {
  background: var(--mtp-bus-accent);
  color: #fff;
  box-shadow: 0 4px 10px rgba(242, 85, 40, 0.25);
}

.mtp-bus-route-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mtp-bus-route-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}
.mtp-bus-route-card__img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.mtp-bus-route-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mtp-bus-route-card__title {
  font-weight: 700;
  color: #202124;
  font-size: 1rem;
}
.mtp-bus-route-card__sub {
  font-size: 0.78rem;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mtp-bus-route-placeholder {
  margin: 0;
  padding: 1rem;
  color: #6c757d;
  background: #f8f9fc;
  border-radius: 12px;
}

.mtp-bus-features { padding: 24px 0 40px; }
.mtp-bus-feature-card {
  border-radius: 18px;
  padding: 28px 24px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mtp-bus-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.mtp-bus-feature-card--blue { background: #f2f5fb; }
.mtp-bus-feature-card--cyan { background: #f4f8fb; }
.mtp-bus-feature-card--warm { background: #F0F7FC; }
.mtp-bus-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mtp-bus-navy);
  margin: 0 0 16px;
  line-height: 1.35;
}
.mtp-bus-feature-card h3 span { color: var(--mtp-bus-accent); }
.mtp-bus-feature-card ul {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
}
.mtp-bus-feature-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #4a5568;
  font-size: 0.92rem;
  font-weight: 500;
}
.mtp-bus-feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--mtp-bus-accent);
  border-radius: 50%;
}
.mtp-bus-feature-card img {
  display: block;
  max-height: 180px;
  width: auto;
  max-width: 100%;
  margin: 18px auto 0;
  object-fit: contain;
}

.mtp-bus-about {
  background: #f9fbfd;
  padding: 56px 0;
}
.mtp-bus-about__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.mtp-bus-about h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e2338;
  line-height: 1.3;
  margin: 0 0 14px;
}
.mtp-bus-about h2 span { color: var(--mtp-bus-accent); }
.mtp-bus-about__lead {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0 0 14px;
}
.mtp-bus-about p:last-child {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

.mtp-bus-why {
  background: #f6f8fd;
  padding: 56px 0;
}
.mtp-bus-why h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1d2342;
  margin: 0 0 1.25rem;
}
.mtp-bus-why h2 span { color: #1A6BC4; }
.mtp-bus-why__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mtp-bus-why__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #E8F3FC;
  color: #1A6BC4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}
.mtp-bus-why__item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #1d2342;
}
.mtp-bus-why__item p {
  margin: 0;
  font-size: 0.85rem;
  color: #7e879a;
  line-height: 1.35;
}
.mtp-bus-why__img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
}

.mtp-bus-promo { padding: 40px 0 56px; }
.mtp-bus-promo__banner {
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
}
.mtp-bus-promo__banner img {
  display: block;
  width: 100%;
  height: auto;
}
.mtp-bus-stats__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mtp-bus-stats__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #E8F3FC;
  color: #1A6BC4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mtp-bus-stats__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #212852;
}
.mtp-bus-stats__item span {
  font-size: 0.85rem;
  color: #1A6BC4;
  font-weight: 500;
}

.mtp-bus-faq { padding: 40px 0 72px; }
.mtp-bus-faq__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.65rem;
  font-weight: 800;
  color: #1c2138;
  margin: 0 0 1.25rem;
}
.mtp-bus-faq__title span {
  color: #1A6BC4;
  font-size: 0.9rem;
  transform: rotate(-90deg);
  display: inline-block;
}
.mtp-bus-accordion .accordion-item {
  border: 1px solid #e5e9f2;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.mtp-bus-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2b3148;
  box-shadow: none;
  background: #fff;
}
.mtp-bus-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: #2b3148;
}
.mtp-bus-accordion .accordion-body {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
}
.mtp-bus-faq__img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .mtp-bus-info__grid { flex-direction: column; }
  .mtp-bus-info__copy,
  .mtp-bus-info__media { flex: 1 1 auto; width: 100%; }
  .mtp-bus-route-tabs {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  .mtp-bus-route-tabs .nav-link {
    margin-bottom: 0;
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .mtp-bus-about h2 { font-size: 1.4rem; }
  .mtp-bus-info__copy h2 { font-size: 1.35rem; }
}

/* ==========================================================================
   Bus results — mobile bar + bottom sheets (hotel/flight pattern)
   Hide date cards & desktop toolbar below lg; Search/Filters/Sort open
   from offcanvas-bottom.
   ========================================================================== */

.mtp-bus-results__mobile-bar {
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 4px rgba(11, 30, 51, 0.08);
}

@media (max-width: 991.98px) {
    .mtp-bus-results__mobile-bar {
        position: sticky;
        top: 0;
        z-index: 2000;
        width: auto;
        max-width: none;
        min-height: 0;
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: 12px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 16px rgba(17, 24, 39, 0.1);
    }

    /* Hard-hide desktop-only chrome (date cards, title, sort toolbar) */
    .mtp-bus-dates,
    .mtp-bus-main__head,
    .mtp-bus-toolbar {
        display: none !important;
    }

    .mtp-bus-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mtp-bus-filters-slot,
    .mtp-bus-filters {
        position: static;
        max-height: none;
    }

    .mtp-bus-results {
        padding-top: 0;
        padding-bottom: 48px;
    }

    .mtp-bus-trip__main {
        flex-wrap: wrap;
    }
}

.mtp-bus-results__mobile-bar-info {
    margin-bottom: 10px;
}

.mtp-bus-results__mobile-title {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mtp-navy, #0B1E33);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.mtp-bus-results__mobile-meta {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mtp-muted, #676977);
}

.mtp-bus-results__mobile-count {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #555;
}

.mtp-bus-results__mobile-count strong {
    color: var(--mtp-navy, #0B1E33);
}

.mtp-bus-results__mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mtp-bus-results__mobile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 8px 6px;
    border: 1px solid #e8ebf0;
    border-radius: 8px;
    background: #fafbfc;
    color: var(--mtp-navy, #0B1E33);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.mtp-bus-results__mobile-btn i {
    font-size: 0.95rem;
    color: var(--mtp-accent, #0057AD);
}

.mtp-bus-results__mobile-btn:hover,
.mtp-bus-results__mobile-btn:focus-visible {
    border-color: rgba(0, 87, 173, 0.45);
    background: rgba(0, 87, 173, 0.06);
    color: var(--mtp-navy, #0B1E33);
    outline: none;
}

.mtp-bus-results__mobile-btn:disabled,
.mtp-bus-results__mobile-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Bottom offcanvas sheets ---- */
.mtp-bus-offcanvas {
    height: 55vh !important;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.mtp-bus-offcanvas .offcanvas-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #eef0f4;
}

.mtp-bus-offcanvas .offcanvas-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mtp-navy, #0B1E33);
}

.mtp-bus-offcanvas .offcanvas-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

.mtp-bus-offcanvas--filters {
    height: 70vh !important;
    max-height: 85vh;
}

.mtp-bus-offcanvas--filters .offcanvas-body {
    padding: 8px 12px 12px;
}

.mtp-bus-offcanvas__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #eef0f4;
    background: #fff;
}

.mtp-bus-offcanvas__footer .btn-primary {
    background: var(--mtp-accent, #0057AD);
    border-color: var(--mtp-accent, #0057AD);
}

.mtp-bus-offcanvas__footer .btn-primary:hover {
    background: var(--mtp-accent-deep, #003E80);
    border-color: var(--mtp-accent-deep, #003E80);
}

/* Filters look clean inside the sheet (no sticky / card chrome) */
.mtp-bus-offcanvas .mtp-bus-filters {
    position: static;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.mtp-bus-offcanvas .mtp-bus-filters__head h2 {
    display: none;
}

.mtp-bus-offcanvas .mtp-bus-filters__head {
    margin-bottom: 8px;
    justify-content: flex-end;
}

/* Modify search stacked in bottom sheet */
.mtp-bus-offcanvas #busModifySearchRoot {
    padding: 0 0 16px;
}

.mtp-bus-offcanvas #busModifySearchRoot .container {
    max-width: none;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search--compact {
    margin: 0;
    padding: 0;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search__card {
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search__row {
    flex-direction: column;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search__field,
.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search__field--submit {
    flex: 1 1 100%;
    width: 100%;
    border-right: none;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search__field--swap {
    display: none;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-search__submit {
    width: 100%;
    min-height: 48px;
}

.mtp-bus-offcanvas #busModifySearchRoot .mtp-bus-city-panel {
    z-index: 1055;
}

#busModifyOffcanvas.offcanvas {
    overflow: visible;
}

#busModifyOffcanvas .offcanvas-body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Sort options list */
.mtp-bus-sort-options {
    display: flex;
    flex-direction: column;
}

.mtp-bus-sort-option {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #f0f2f7;
    background: #fff;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.mtp-bus-sort-option:last-child {
    border-bottom: 0;
}

.mtp-bus-sort-option.is-active {
    color: var(--mtp-accent, #0057AD);
    font-weight: 700;
    background: #E8F3FC;
}

.mtp-bus-sort-option:hover {
    background: #f8f9fc;
}


/* ---- Bus review (flight booking chrome) ---- */
.mtp-bus-review-page {
    --mtp-fb-accent: #0057AD;
    background: #f5f6fb;
    padding-bottom: 88px;
}

.mtp-bus-review-page .main-continer::after {
    content: "";
    display: table;
    clear: both;
}

.mtp-bus-review-page .pass-new > .note,
.mtp-bus-review-page .mtp-bus-review-policy > .note {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #F0F7FC;
    border: 1px solid #B8D4F0;
    color: #64748B;
    font-size: 0.88rem;
    line-height: 1.45;
}

.mtp-bus-review-page .pass-new > .note span {
    color: #0057AD;
    font-weight: 700;
}

.mtp-bus-review-page .flights-details h2 i {
    margin-right: 7px;
    color: #0057AD;
}

.mtp-bus-review-trip__badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dfe3ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0057AD;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mtp-bus-review-info .info-card .value {
    word-break: break-word;
}

.mtp-bus-review-seatmap {
    margin-top: 18px;
    padding: 14px 14px 10px;
    background: #f8fbff;
    border-radius: 16px;
}

.mtp-bus-review-seatmap__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.mtp-bus-review-seatmap__change {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0057AD;
    text-decoration: none;
}

.mtp-bus-review-seatmap__change:hover {
    text-decoration: underline;
    color: #003E80;
}

.mtp-bus-review-seatmap__root .mtp-bus-seatmap__stage {
    display: block;
}

.mtp-bus-review-seatmap__root .mtp-bus-seatmap__cabin {
    width: 100%;
    max-width: 100%;
}

.mtp-bus-review-seatmap__root .mtp-bus-seat {
    pointer-events: none;
    cursor: default;
}

.mtp-bus-review-seatmap__root .mtp-bus-seat.is-selected {
    filter: drop-shadow(0 0 0.5px rgba(0, 87, 173, 0.35));
}

.mtp-bus-review-pax-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.mtp-bus-review-pax-head__left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
}

.mtp-bus-review-pax-fare {
    margin-left: 0;
    color: #0A3A6B;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.mtp-bus-review-pill {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0057AD;
    background: #E8F3FC;
    padding: 3px 9px;
    border-radius: 999px;
}

.mtp-bus-review-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 110px minmax(200px, 0.9fr);
    gap: 16px 18px;
    align-items: end;
}

.mtp-bus-review-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.mtp-bus-review-field > label,
.mtp-bus-review-field__label {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #29344f;
    line-height: 1.2;
}

.mtp-bus-review-field > label span,
.mtp-bus-review-field__label span {
    color: #29344f;
    margin-left: 2px;
}

.mtp-bus-review-field .form-control {
    width: 100%;
    height: 44px;
    border: 1px solid #d2d9e8;
    border-radius: 10px;
    background: #fff !important;
    padding: 0 14px;
    font-size: 14px;
    color: #1E293B;
    box-shadow: none;
}

.mtp-bus-review-field .form-control:focus {
    border-color: #0057AD;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 87, 173, 0.12);
}

.mtp-bus-review-gender {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 6px;
    margin: 0;
    background: #fff;
    border: 1px solid #d2d9e8;
    border-radius: 10px;
}

.mtp-bus-review-radio {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 8px;
    height: 100%;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    cursor: pointer;
    white-space: nowrap;
}

.mtp-bus-review-radio input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #0057AD;
}

.mtp-bus-review-radio span {
    display: inline !important;
    margin: 0 !important;
    line-height: 1;
    color: inherit;
}

.mtp-bus-review-gender-locked {
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E293B;
    background: #fff;
    border: 1px solid #d2d9e8;
    border-radius: 10px;
    padding: 0 14px;
}

.mtp-bus-review-policy__list {
    margin: 0;
    padding-left: 1.15rem;
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mtp-bus-review-policy__list li {
    margin: 0.4rem 0;
}

.mtp-bus-review-policy .header-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EFEEFA;
    color: #303b68;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.mtp-bus-review-fare-lines {
    margin: 0 0 12px;
}

.mtp-bus-review-fare-lines .flex {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eef1f6;
    font-size: 0.9rem;
    color: #64748B;
}

.mtp-bus-review-fare-lines .flex span:last-child {
    color: #1E293B;
    font-weight: 600;
    white-space: nowrap;
}

.mtp-bus-review-hold-note {
    margin: 10px 0 14px;
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.45;
}

.mtp-bus-review-actions {
    margin-top: 20px;
    margin-bottom: 24px;
}

.mtp-bus-review-back {
    text-decoration: none;
    background: #fff !important;
    color: #30355f !important;
    border: 1px solid #dfe3ef !important;
}

.mtp-bus-review-back:hover {
    background: #EFEEFA !important;
    color: #0057AD !important;
}

.mtp-bus-review-page .mtp-fb-mobile-bar__cta {
    border: 0;
    cursor: pointer;
}

.mtp-bus-pay__hold {
    margin: 0 0 16px; padding: 10px 14px; border-radius: 10px;
    background: #F0F7FC; border: 1px solid #B8D4F0; color: #0B1E33; font-size: .92rem;
}
.mtp-bus-pay__hold.is-expired { background: #E8F3FC; border-color: #f5c2c0; color: #b42318; }
.mtp-bus-pay-result__card { max-width: 640px; }

.mtp-bus-confirm .mtp-bus-trip__btn,
.mtp-bus-cancel .mtp-bus-trip__btn {
    width: auto;
    min-width: 180px;
    margin-top: 12px;
    padding: 12px 22px;
    font-size: 0.95rem;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .mtp-bus-review-fields {
        grid-template-columns: 1fr 110px;
    }

    .mtp-bus-review-field--gender {
        grid-column: 1 / -1;
    }

    .mtp-bus-confirm .mtp-bus-trip__btn,
    .mtp-bus-cancel .mtp-bus-trip__btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .mtp-bus-review-fields {
        grid-template-columns: 1fr;
    }

    .mtp-bus-review-field--age,
    .mtp-bus-review-field--gender {
        grid-column: auto;
    }
}
