.bus-booking-landing-page,
.bus-booking-search-page {
    background: #f5f6f8;
}

.bus-landing-hero,
.bus-search-hero {
    background-color: #0f8f43;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 48px 0;
    position: relative;
}

.bus-landing-hero::before {
    background: rgba(8, 29, 15, 0.66);
    content: "";
    inset: 0;
    position: absolute;
}

.bus-landing-hero .container,
.bus-search-hero .container {
    position: relative;
    z-index: 1;
}

.bus-landing-hero__overlay {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 1.15fr 1fr;
}

.bus-landing-hero__content {
    color: #fff;
}

.bus-landing-hero__eyebrow {
    color: #d8ffe6;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.bus-landing-hero__content h1,
.bus-search-hero__head h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.bus-landing-hero__content p,
.bus-search-hero__head p {
    font-size: 16px;
    margin-bottom: 0;
    max-width: 680px;
}

.bus-landing-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.bus-landing-hero__highlights span {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
}

.bus-landing-hero__form,
.bus-search-hero__card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.15);
    padding: 24px;
}

.bus-search-hero__head {
    margin-bottom: 18px;
}

.bus-booking-form__grid {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) minmax(180px, 0.9fr) minmax(180px, 0.9fr) 140px;
}

.bus-booking-form__field label {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.bus-booking-form__field input {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    color: #111827;
    font-size: 15px;
    height: 54px;
    padding: 0 16px;
    width: 100%;
}

.bus-booking-form__swap {
    align-items: center;
    background: #f2f4f7;
    border: 1px solid #d0d5dd;
    border-radius: 50%;
    color: #0f8f43;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin: 0 auto 4px;
    width: 46px;
}

.bus-booking-form__action .btn {
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    height: 54px;
    width: 100%;
}

.bus-search-content,
.bus-landing-content {
    padding: 30px 0 48px;
}

.bus-search-shell {
    display: grid;
    gap: 24px;
    grid-template-columns: 290px minmax(0, 1fr);
}

.bus-search-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bus-filter-card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
    padding: 18px;
}

.bus-filter-card__title {
    color: #101828;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.bus-summary-item {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
}

.bus-summary-item span {
    color: #667085;
    font-size: 12px;
    text-transform: uppercase;
}

.bus-summary-item strong {
    color: #101828;
    font-size: 15px;
}

.bus-filter-check {
    align-items: center;
    color: #344054;
    display: flex;
    font-size: 14px;
    gap: 10px;
    margin-bottom: 10px;
}

.bus-filter-card .btn-sm,
.bus-filter-card .form-control {
    margin-top: 10px;
}

.bus-reset-link,
.bus-reset-filters {
    color: #0f8f43;
    font-size: 14px;
    font-weight: 700;
}

.bus-search-results {
    min-width: 0;
}

.bus-results-toolbar {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bus-results-toolbar h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.bus-results-toolbar p {
    color: #667085;
    margin-bottom: 0;
}

.bus-results-toolbar__hint {
    margin-top: 4px;
}

.bus-sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bus-sort-buttons a {
    background: #fff;
    border: 1px solid #12b76a;
    border-radius: 999px;
    color: #067647;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
}

.bus-sort-buttons a.active {
    background: #12b76a;
    color: #fff;
}

.bus-ticket-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bus-results-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bus-ticket-card {
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 18px 20px 12px;
}

.bus-ticket-card__main {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(240px, 320px) minmax(300px, 1fr) 190px;
    padding-bottom: 14px;
}

.bus-ticket-card__operator {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.bus-ticket-card__media {
    flex: 0 0 74px;
}

.bus-ticket-card__media a {
    display: block;
}

.bus-ticket-card__media img,
.bus-ticket-card__placeholder {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    height: 74px;
    object-fit: contain;
    padding: 6px;
    width: 74px;
}

.bus-ticket-card__placeholder {
    align-items: center;
    color: #0f8f43;
    display: flex;
    font-size: 34px;
    justify-content: center;
}

.bus-ticket-card__operator-text {
    min-width: 0;
}

.bus-ticket-card__operator-text h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.bus-ticket-card__operator-text h3 a {
    color: #101828;
}

.bus-ticket-card__meta,
.bus-ticket-card__route {
    color: #667085;
    font-size: 14px;
    line-height: 1.4;
}

.bus-ticket-card__route strong {
    color: #98a2b3;
    font-weight: 700;
}

.bus-ticket-card__schedule {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) minmax(0, 1fr);
}

.bus-ticket-card__time-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bus-ticket-card__time-block strong {
    color: #101828;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}

.bus-ticket-card__time-block span {
    color: #667085;
    font-size: 13px;
}

.bus-ticket-card__time-block.is-end {
    text-align: right;
}

.bus-ticket-card__timeline {
    align-items: center;
    display: flex;
    justify-content: center;
}

.bus-ticket-card__timeline-line {
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    text-align: center;
    width: 100%;
}

.bus-ticket-card__timeline-line::before {
    background: #f79009;
    content: "";
    height: 4px;
    left: 12px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.bus-ticket-card__timeline-line::after {
    background: #f79009;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #f79009;
    content: "";
    height: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
}

.bus-ticket-card__timeline-line span {
    background: #fff;
    padding: 0 12px;
    position: relative;
    z-index: 1;
}

.bus-ticket-card__aside {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    text-align: right;
}

.bus-ticket-card__old-price {
    color: #98a2b3;
    font-size: 16px;
    line-height: 1;
    text-decoration: line-through;
}

.bus-ticket-card__price {
    color: #101828;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.bus-ticket-card__book-btn {
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    min-width: 158px;
    padding: 12px 20px;
    text-transform: uppercase;
}

.bus-ticket-card__seat-text {
    color: #667085;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.bus-ticket-card__discount {
    align-items: center;
    color: #f79009;
    display: flex;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 0;
}

.bus-ticket-card__discount i {
    font-size: 13px;
}

.bus-ticket-card__footer {
    align-items: center;
    border-top: 1px solid #d9dde3;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding-top: 12px;
}

.bus-ticket-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bus-ticket-card__chips span {
    background: #e4f1ea;
    border-radius: 999px;
    color: #079455;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
}

.bus-ticket-card__notice {
    align-items: center;
    border: 2px solid #079455;
    border-radius: 999px;
    color: #067647;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 8px 14px;
    text-align: center;
}

.bus-ticket-card__notice-badge {
    background: #fff3eb;
    border: 1px solid #f79009;
    border-radius: 999px;
    color: #b54708;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
}

.bus-ticket-empty {
    background: #fff;
    border: 1px dashed #d0d5dd;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
}

.bus-ticket-empty h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.bus-ticket-empty p {
    color: #667085;
    margin-bottom: 0;
}

.bus-ticket-pagination {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
    margin-top: 0;
    padding: 16px 20px;
}

.bus-ticket-pagination .count-string {
    color: #667085;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

.bus-ticket-pagination .pagination {
    margin: 0;
}

.bus-landing-content__inner {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(16, 24, 40, 0.06);
    padding: 24px;
}

@media (max-width: 1399px) {
    .bus-ticket-card__main {
        grid-template-columns: minmax(220px, 290px) minmax(250px, 1fr) 180px;
    }
}

@media (max-width: 1199px) {
    .bus-booking-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bus-booking-form__swap {
        display: none;
    }

    .bus-search-shell,
    .bus-landing-hero__overlay {
        grid-template-columns: 1fr;
    }

    .bus-ticket-card__main {
        grid-template-columns: 1fr;
    }

    .bus-ticket-card__schedule {
        grid-template-columns: 1fr;
    }

    .bus-ticket-card__time-block.is-end,
    .bus-ticket-card__aside {
        align-items: flex-start;
        text-align: left;
    }

    .bus-ticket-card__timeline {
        justify-content: flex-start;
    }

    .bus-ticket-card__timeline-line {
        max-width: 240px;
    }

    .bus-ticket-card__footer {
        align-items: flex-start;
    display: flex;
    flex-direction: column;
    }
}

@media (max-width: 767px) {
    .bus-landing-hero,
    .bus-search-hero {
        padding: 28px 0;
    }

    .bus-landing-hero__content h1,
    .bus-search-hero__head h1 {
        font-size: 28px;
    }

    .bus-booking-form__grid {
        grid-template-columns: 1fr;
    }

    .bus-results-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .bus-ticket-card {
        border-radius: 16px;
        padding: 16px 16px 12px;
    }

    .bus-ticket-card__operator {
        flex-direction: column;
    }

    .bus-ticket-card__media {
        flex-basis: auto;
    }

    .bus-ticket-card__operator-text h3,
    .bus-ticket-card__time-block strong {
        font-size: 18px;
    }

    .bus-ticket-card__book-btn {
        min-width: 0;
        width: 100%;
    }

    .bus-ticket-card__notice {
        justify-content: flex-start;
        width: 100%;
    }
}

body.bus-seat-modal-open {
    overflow: hidden;
}

.bus-seat-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 1055;
}

.bus-seat-modal.is-open {
    display: block;
}

.bus-seat-modal__backdrop {
    background: rgba(15, 23, 42, 0.55);
    inset: 0;
    position: absolute;
}

.bus-seat-modal__panel {
    background: #fff;
    border-radius: 24px 0 0 24px;
    box-shadow: -24px 0 60px rgba(16, 24, 40, 0.28);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 680px;
    position: absolute;
    right: 0;
    top: 0;
    width: min(680px, 96vw);
}

.bus-seat-modal__header {
    align-items: center;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    justify-content: space-between;
    padding: 16px 22px;
}

.bus-seat-modal__header-title {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 16px;
    min-width: 0;
}

.bus-seat-modal__title {
    color: #101828;
    font-size: 20px;
    font-weight: 800;
}

.bus-seat-modal__timer {
    background: #ecfdf3;
    border: 1px solid #a6f4c5;
    border-radius: 999px;
    color: #027a48;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-left: auto;
    margin-right: 12px;
    min-width: 72px;
    padding: 6px 12px;
    text-align: center;
}

.bus-seat-modal__timer.is-warning {
    background: #fff6ed;
    border-color: #f9dbaf;
    color: #b54708;
}

.bus-seat-modal__timer.is-expired {
    background: #fef3f2;
    border-color: #fecdca;
    color: #b42318;
}

.bus-seat-modal__close {
    background: transparent;
    border: 0;
    color: #667085;
    font-size: 26px;
    line-height: 1;
    padding: 0 6px;
}

.bus-seat-modal__tabs {
    border-bottom: 1px solid #eaecf0;
    display: flex;
    justify-content: space-between;
    padding: 12px 18px 0;
}

.bus-seat-modal__tabs button {
    background: transparent;
    border: 0;
    color: #667085;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0 10px 14px;
    position: relative;
    text-align: center;
}

.bus-seat-modal__tabs button.active {
    color: #0f8f43;
}

.bus-seat-modal__tabs button.active::after {
    background: #0f8f43;
    border-radius: 999px 999px 0 0;
    bottom: 0;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 48px;
}

.bus-seat-modal__tabs button i {
    font-size: 24px;
    line-height: 1;
}

.bus-seat-modal__body {
    overflow: auto;
    padding: 18px 18px 0;
}

.bus-seat-modal__info {
    background: #fff;
    border: 1px solid #eff2f6;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
    margin: -18px -18px 18px;
    padding: 22px 28px 18px;
}

.bus-seat-modal__info-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bus-seat-modal__operator-row {
    align-items: flex-start;
    display: flex;
    gap: 18px;
}

.bus-seat-modal__operator {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.bus-seat-modal__logo-wrap {
    align-items: center;
    display: flex;
    flex: 0 0 112px;
    height: 112px;
    justify-content: center;
}

.bus-seat-modal__logo {
    height: 112px;
    object-fit: contain;
    width: 112px;
}

.bus-seat-modal__logo-fallback {
    align-items: center;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 24px;
    color: #079455;
    display: flex;
    font-size: 42px;
    height: 112px;
    justify-content: center;
    width: 112px;
}

.bus-seat-modal__operator-copy {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 4px;
}

.bus-seat-modal__operator-name {
    color: #101828;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.bus-seat-modal__operator-meta {
    color: #667085;
    font-size: 15px;
    margin-top: 8px;
}

.bus-seat-modal__route-note {
    color: #667085;
    font-size: 13px;
    margin-top: 10px;
}

.bus-seat-modal__journey-row {
    align-items: center;
    display: flex;
    gap: 18px;
    padding-top: 4px;
}

.bus-seat-modal__summary-col {
    min-width: 0;
}

.bus-seat-modal__summary-col--arrival {
    margin-left: auto;
    text-align: right;
}

.bus-seat-modal__summary-label {
    color: #98a2b3;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bus-seat-modal__summary-city {
    color: #344054;
    font-size: 17px;
    margin-top: 4px;
}

.bus-seat-modal__summary-time {
    color: #101828;
    font-size: 18px;
    font-weight: 800;
    margin-top: 2px;
}

.bus-seat-modal__summary-date {
    color: #079455;
    font-size: 16px;
    font-weight: 800;
    margin-top: 2px;
}

.bus-seat-modal__summary-line {
    border-bottom: 1px dashed #d0d5dd;
    flex: 1 1 auto;
    min-width: 60px;
}

.bus-seat-modal__traffic-note {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.bus-seat-modal__highlight {
    align-items: center;
    border: 2px solid #16a34a;
    border-radius: 999px;
    color: #067647;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    gap: 10px;
    padding: 8px 14px;
}

.bus-seat-modal__highlight-badge {
    background: #fff7ed;
    border: 1px solid #f59e0b;
    border-radius: 999px;
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
}

.bus-seat-modal__notice {
    background: #fff7e0;
    border: 1px solid #f9dbaf;
    border-radius: 14px;
    color: #7a2e0e;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 16px 18px;
    text-align: center;
}

.bus-seat-modal__status {
    background: #f8fafc;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    padding: 10px 12px;
}

.bus-seat-modal__content {
    display: none;
}

.bus-seat-modal__content.active {
    display: block;
}

.bus-seat-modal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 16px;
}

.bus-seat-legend-item {
    align-items: center;
    color: #667085;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
}

.bus-seat {
    align-items: center;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 54px;
}

.bus-seat--available {
    background: #fff;
    border-color: #98a2b3;
    color: #101828;
}

.bus-seat--sold {
    background: #d0d5dd;
    border-color: #d0d5dd;
    color: #667085;
}

.bus-seat--selected {
    background: #12b76a;
    border-color: #12b76a;
    color: #fff;
}

.bus-seat--gap {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

.bus-seat-empty {
    align-items: center;
    color: #667085;
    display: flex;
    justify-content: center;
    min-height: 120px;
    text-align: center;
}

.bus-seat-modal__deck-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.bus-deck-tab {
    background: #fff;
    border: 1px solid #12b76a;
    border-radius: 999px;
    color: #067647;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 18px;
}

.bus-deck-tab.active {
    background: #ecfdf3;
    border-color: #12b76a;
    color: #067647;
}

.bus-seat-modal__grid {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    padding: 14px 14px 10px;
}

.bus-seat-row {
    display: grid;
    gap: 14px;
    margin-bottom: 12px;
}

.bus-seat-row:last-child {
    margin-bottom: 0;
}

.bus-seat-modal__points {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
}

.bus-seat-modal__point label {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.bus-seat-modal__rich {
    color: #344054;
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 18px;
}

.bus-seat-chip {
    background: #f2f4f7;
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin: 0 8px 8px 0;
    padding: 8px 12px;
}

.bus-seat-modal__trip h4 {
    font-size: 14px;
    font-weight: 800;
    margin: 18px 0 10px;
}

.bus-seat-point-item {
    background: #f2f4f7;
    border-radius: 12px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 10px 12px;
}

.bus-seat-point-empty {
    color: #667085;
    font-size: 13px;
    padding: 10px 0;
}

.bus-seat-modal__footer {
    border-top: 1px solid #eaecf0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
}

.bus-seat-modal__footer-row {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.bus-seat-modal__point-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 10px;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    width: 100%;
}

.bus-seat-modal__selected {
    color: #12b76a;
    font-size: 13px;
    font-weight: 800;
}

.bus-seat-modal__continue {
    border-radius: 14px;
    font-weight: 800;
    padding: 12px 18px;
    width: 55%;
}

.bus-seat-modal__continue[disabled] {
    opacity: 0.55;
}

@media (max-width: 420px) {
    .bus-seat-row {
        gap: 8px;
    }

    .bus-seat-modal__points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .bus-seat-modal__panel {
        border-radius: 18px 0 0 18px;
        width: min(100vw, 680px);
    }

    .bus-seat-modal__tabs {
        gap: 0;
        overflow-x: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    .bus-seat-modal__tabs button {
        flex: 0 0 110px;
    }

    .bus-seat-modal__info {
        border-radius: 0 0 18px 18px;
        margin-left: -18px;
        margin-right: -18px;
        padding: 18px;
    }

    .bus-seat-modal__operator {
        flex-direction: column;
    }

    .bus-seat-modal__operator-row {
        flex-direction: column;
    }

    .bus-seat-modal__logo-wrap {
        flex-basis: auto;
        height: auto;
    }

    .bus-seat-modal__journey-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .bus-seat-modal__summary-col--arrival {
        margin-left: 0;
        text-align: left;
    }

    .bus-seat-modal__summary-line {
        width: 100%;
    }

    .bus-seat-modal__legend {
        gap: 14px;
    }

    .bus-seat-legend-item {
        font-size: 14px;
    }
}

/* Prototype cabin (LiveZan-Demo-80) */
.bus-seat-modal__panel.seat-map-dialog {
    background: #f1faf3;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.28);
    height: auto;
    left: 50%;
    max-height: 96dvh;
    max-width: 440px;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, calc(100% - 16px));
}
.seat-map-dialog .dialog-head,
.seat-map-dialog .bus-seat-modal__header {
    background: #009900;
    border-bottom: 0;
    color: #fff;
    margin: 0;
    padding: 12px 16px 0;
}
.seat-map-dialog .bus-seat-modal__header {
    align-items: flex-start;
    padding: 14px 16px 12px;
}
.seat-map-dialog .bus-seat-modal__header-title {
    display: block;
    flex: 1;
}
.seat-map-dialog .bus-seat-modal__title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}
.seat-map-dialog .bus-seat-modal__date {
    color: rgba(255,255,255,.9);
    font-size: 13px;
    margin-top: 2px;
}
.seat-map-dialog .bus-seat-modal__operator {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
}
.seat-map-dialog .bus-seat-modal__close {
    color: #fff;
    font-size: 26px;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 1;
}
.seat-map-dialog .bus-seat-modal__timer {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.28);
    color: #fff;
}
.seat-map-intro {
    background: #009900;
    color: #fff;
    display: grid;
    gap: 3px;
    padding: 3px 16px 12px;
}
.seat-map-intro p { font-size: 8px; letter-spacing: 1.5px; opacity: .8; margin: 0; }
.seat-map-intro strong { font-size: 13px; }
.seat-map-intro > span { font-size: 12px; }
.seat-map-intro-meta { opacity: .85; font-size: 11px !important; }
.seat-map-dialog .bus-seat-modal__tabs {
    background: #e8f6ec;
    border-bottom: 0;
    padding: 0 8px;
}
.seat-map-dialog .bus-seat-modal__tabs button { color: #3d6a4c; }
.seat-map-dialog .bus-seat-modal__tabs button.active { color: #009900; }
.seat-gender {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 7px 12px; font-size: 12px; font-weight: 600;
}
.seat-gender select {
    background: #fff; border: 1px solid #b8d7c0; border-radius: 8px; padding: 5px 10px; font-size: 12px;
}
.female-seat-note { font-size: 10px; color: #962559; margin: 0 12px 5px; }
.seat-map-legend {
    display: flex; flex-wrap: wrap; justify-content: flex-start; column-gap: 12px; row-gap: 5px;
    padding: 9px 10px; margin: 7px 10px; background: #fff; border-radius: 12px; font-size: 10px;
}
.seat-map-legend > span { display: flex; align-items: center; gap: 4px; }
.seat-map-legend i {
    width: 18px; height: 18px; border: 1px solid #15934b; border-radius: 5px;
    display: grid; place-items: center; font-style: normal; font-size: 11px;
}
.seat-map-legend i.available { background: #fff; }
.seat-map-legend i.selected { background: #009900; border-color: #009900; color: #fff; }
.seat-map-legend i.blocked {
    background: repeating-linear-gradient(135deg, #d9e0e7 0px, #d9e0e7 5px, #c7d1dc 5px, #c7d1dc 10px);
    border: 1.5px solid #697c90; color: #263d54;
}
.seat-map-legend i.booked { background: #ffd9b5; border: 1.5px solid #c66b24; color: #793b0d; }
.seat-map-legend i.female-booked { background: #ffd6e8; border: 1.5px solid #dc6198; color: #962559; }
.bus-cabin {
    margin: 0 10px 7px; padding: 9px; border: 2px solid #fff; border-radius: 22px;
    background: linear-gradient(120deg, #e1f2e8, #f7fcf8);
}
.bus-front { display: flex; justify-content: space-between; gap: 34px; margin-bottom: 8px; align-items: center; }
.bus-entrance, .bus-driver {
    width: 46%; text-align: center; border-radius: 12px; background: #d5eddf; padding: 6px;
    font-size: 11px; color: #087c31;
}
.bus-entrance { background: #d5eddf; color: #087c31; font-weight: 600; line-height: 1.3; }
.bus-driver { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.bus-driver .icon { width: 25px; height: 25px; border: 2px solid #158943; border-radius: 50%; padding: 3px; }
.seat-map-grid {
    position: relative; display: grid; grid-template-columns: 1fr 1fr 25px 1fr 1fr; gap: 5px;
}
.bus-aisle {
    grid-column: 3; grid-row: 1 / span var(--aisle-rows, 10);
    background: #dceee6; border-radius: 10px; display: grid; place-items: center;
}
.bus-aisle span {
    writing-mode: vertical-rl; font-size: 9px; letter-spacing: 3px; color: #83958a; transform: rotate(180deg);
}
.map-seat {
    width: 100%; height: 29px; display: flex; justify-content: center; align-items: center; gap: 3px;
    border: 1.5px solid #138b45; border-radius: 8px; background: #fff;
    font: 600 11px Outfit, ui-sans-serif, sans-serif; color: #153b27;
}
.map-seat .icon { width: 12px; height: 12px; }
.map-seat.available:not(.selected) { background: #fff; border: 1.5px solid #138b45; color: #153b27; }
.map-seat.selected, .map-seat[aria-pressed="true"] { background: #009900; border-color: #009900; color: #fff; }
.map-seat.blocked {
    background: repeating-linear-gradient(135deg, #d9e0e7 0px, #d9e0e7 5px, #c7d1dc 5px, #c7d1dc 10px);
    border: 1.5px solid #697c90; color: #263d54;
}
.map-seat.booked { background: #ffd9b5; border: 1.5px solid #c66b24; color: #793b0d; }
.map-seat.booked.female-booked { background: #ffd6e8; border: 1.5px solid #dc6198; color: #962559; }
.map-seat.available[data-female-only="true"],
.map-seat.available.female-adj {
    border: 1.5px dashed #7d8b84;
    outline: none;
}
.want-female-beside .map-seat.available.female-adj {
    border-color: #dc6198;
    box-shadow: 0 0 0 2px #ffd6e8;
}
.seat-passenger-card {
    background: #fff;
    border: 1px solid #dce7de;
    border-radius: 16px;
    margin: 8px 10px 10px;
    padding: 12px 14px;
}
.seat-passenger-card__head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.seat-passenger-card__change, .seat-guide-link {
    background: none; border: 0; color: #009900; font-weight: 700; font-size: 13px; padding: 0;
}
.seat-passenger-card__summary p { margin: 0 0 4px; font-size: 13px; color: #3d4f45; }
.seat-passenger-card__edit { display: grid; gap: 6px; margin: 8px 0; }
.seat-passenger-card__edit[hidden] { display: none; }
.seat-passenger-card__edit input {
    border: 1px solid #d0d5dd; border-radius: 10px; padding: 8px 10px; font-size: 14px;
}
.seat-gender { display: flex; gap: 10px; margin-top: 10px; }
.seat-gender label {
    flex: 1; border: 1px solid #d0d5dd; border-radius: 999px; padding: 8px 12px;
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.seat-female-beside { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 13px; }
.seat-female-beside[hidden], .seat-female-nb[hidden] { display: none; }
.seat-female-nb { color: #b42318; font-size: 12px; margin: 6px 0 0; }
.seat-map-section-head {
    display: flex; justify-content: space-between; align-items: center;
    margin: 4px 12px 0; font-size: 15px;
}
.map-seat:disabled { cursor: not-allowed; }
.bus-rear-seats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; border-top: 1px dashed #87bba0; padding-top: 6px; margin-top: 7px; }
.bus-rear-label { text-align: center; color: #87958d; font-size: 10px; margin: 6px 0 0; }
.seat-map-footer {
    display: flex; flex-direction: column; background: #fff; padding: 10px 12px; border-radius: 16px; margin: 0 8px 8px;
}
.seat-map-footer .bus-seat-modal__footer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seat-map-footer small { display: block; font-size: 10px; color: #85918a; margin-top: 3px; }
.seat-map-footer .primary {
    width: auto; flex-shrink: 0; font-size: 13px; padding: 10px 15px; border-radius: 12px;
    background: #009900; color: #fff; font-weight: 700; border: 0;
}
.seat-map-footer .primary:disabled { background: #dce4df; color: #849089; }
.seat-map-dialog .bus-seat-modal__body { overflow: auto; max-height: calc(96dvh - 210px); }
.seat-map-dialog .bus-seat-modal__notice { font-size: 11px; color: #c2410c; margin: 6px 12px 0; }
.seat-map-dialog .bus-seat-modal__points { margin: 10px 12px 4px; }
@media (max-width: 350px) {
    .seat-map-legend { font-size: 9px; }
    .seat-map-grid { grid-template-columns: 1fr 1fr 20px 1fr 1fr; }
    .map-seat { font-size: 10px; }
}
