.bus-route-summary {
    border: 1px solid #e9edf5;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.bus-card {
    border: 1px solid #e4e8f0;
    border-radius: 16px;
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bus-card:hover {
    transform: translateY(-2px);
    border-color: #ababab;
}

.bus-card-body {
    padding: 16px 18px;
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(280px, 1.5fr) minmax(180px, 0.8fr);
    align-items: center;
    gap: 18px;
}

.bus-identity {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bus-identity .bus-discount-badge {
    width: fit-content;
}

.bus-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bus-brand-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: #f4f7fd;
    padding: 6px;
}

.bus-travel-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.bus-type-name {
    font-size: 12px;
    color: #667085;
    margin-top: 3px;
    font-weight: 500;
}

.bus-seat-chip {
    width: fit-content;
    font-size: 12px;
    font-weight: 700;
    color: #0d7a55;
    background: #e8f7f1;
    border: 1px solid #c7eadc;
    border-radius: 999px;
    padding: 5px 12px;
}

.bus-time-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.bus-time-col {
    text-align: center;
}

.bus-time-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #6b7280;
    font-weight: 600;
}

.bus-time-value {
    margin-top: 3px;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    line-height: 1;
}

.bus-duration-col {
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.bus-duration-line {
    width: 90px;
    height: 2px;
    background-color: #d8dee9;
    position: relative;
}

.bus-duration-line::before,
.bus-duration-line::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #c0cadb;
    position: absolute;
    top: -3px;
}

.bus-duration-line::before {
    left: 0;
}

.bus-duration-line::after {
    right: 0;
}

.bus-duration-value {
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
    white-space: nowrap;
}

.bus-price-cta {
    display: flex;
    gap: 12px;
    border-left: 1px dashed #d3dae6;
    padding-left: 16px;
    flex-direction: column;
    align-items: end;
}

.bus-price-cta-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bus-details-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    background: #fff;
    color: #475467;
    padding: 0;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bus-details-trigger i,
.bus-amenities-trigger i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    display: block;
    -webkit-font-smoothing: antialiased;
    color: #8f8f8f;
}

.bus-details-trigger:hover {
    background: color-mix(in srgb, var(--dynamic-text) 8%, #fff);
    border-color: color-mix(in srgb, var(--dynamic-text) 25%, #d0d5dd);
    color: var(--dynamic-text);
}

.bus-amenities-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #c7eadc;
    border-radius: 999px;
    background: #e8f7f1;
    color: #0d7a55;
    padding: 0;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bus-amenities-trigger:hover {
    background: #d8f1e8;
    border-color: #9fd9c3;
    color: #066644;
}

.bus-fare-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    text-align: end;
}

.bus-fare-block {
    min-width: 0;
    flex: 1;
}

.bus-fare-value {
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    color: #111827;
    margin-top: 3px;
    white-space: nowrap;
}

.bus-discount-badge {
    /* margin-top: 8px; */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ad1515;
    background: #fff3e8;
    border: 1px solid #ffd7bf;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
}

.bus-discount-badge span {
    white-space: nowrap;
}

.bus-discount-badge svg {
    width: 12px !important;
    height: 12px;
    flex-shrink: 0;
}

.bus-view-seat-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 4px;
    padding: 5px 26px;
    background: var(--dynamic-text);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.bus-view-seat-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.35);
    opacity: 0.96;
}

.bus-gov-group {
    position: relative;
}

.bus-gov-group-wrap {
    position: relative;
    padding-bottom: 16px;
}

.bus-gov-group-card {
    position: relative;
    z-index: 3;
    overflow: hidden;
    background: #fff;
}

.bus-gov-stack-deck {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16px;
    pointer-events: none;
    z-index: 1;
}

.bus-gov-stack-deck::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 9px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e4e8f0;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 3px 8px rgba(16, 24, 40, 0.04);
}

.bus-gov-stack-sheet {
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    border: 1px solid #e4e8f0;
    border-top: 0;
    border-radius: 0 0 14px 14px;
}

.bus-gov-stack-sheet-1 {
    bottom: 0;
    left: 8px;
    right: 8px;
    z-index: 2;
    box-shadow: 0 5px 12px rgba(16, 24, 40, 0.06);
}

.bus-gov-stack-sheet-2 {
    bottom: 7px;
    left: 4px;
    right: 4px;
    z-index: 1;
    box-shadow: 0 3px 8px rgba(16, 24, 40, 0.05);
}

.bus-gov-group.is-open .bus-gov-group-wrap {
    padding-bottom: 0;
}

.bus-gov-group.is-open .bus-gov-stack-deck {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bus-gov-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
}

.bus-gov-group-info {
    min-width: 0;
    flex: 1;
}

.bus-gov-group-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.bus-view-buses-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bus-gov-chevron {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.bus-gov-group-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 0 solid #e4e8f0;
}

.bus-gov-group.is-open .bus-gov-group-body {
    max-height: 8000px;
    border-top-width: 1px;
}

.bus-gov-group.is-open .bus-gov-chevron {
    transform: rotate(180deg);
}

.bus-gov-group-buses {
    padding: 16px 18px 18px;
}

@media (max-width: 1199.98px) {
    .bus-card-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bus-price-cta {
        border-left: 0;
        border-top: 1px dashed #d3dae6;
        padding-left: 0;
        padding-top: 12px;
    }

    .bus-time-value {
        font-size: 16px;
    }

    .bus-fare-value {
        font-size: 16px;
    }

    .bus-discount-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .bus-price-cta {
        flex-wrap: wrap;
        align-items: flex-start;
    }
}


/* New seat Layouts Offcanvas Css */

.offcanvas.offcanvas-bottom {
    height: 90dvh;
    border-radius: 24px 24px 0 0;
}

.offcanvas-header {
    padding: 26px 26px 16px 26px;
    border-bottom: 1px solid #ddd;
}

.offcanvas-title {
    font-size: 18px;
    font-weight: bold;
}

.offcanvas-body {
    background: #f2f2f8;
}

.offcanvasClose {
    margin: 0 !important;
    opacity: 0.9 !important;
    padding: 0 !important;
    margin-right: 19px !important;
}

.loader-bus {
    height: 66dvh;
    width: 26%;
    background: white;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.seat-loader-wrap {
    align-items: center;
}

.loader-seat-center {
    height: 66dvh;
    width: 34%;
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-seat-wheel {
    width: 40px !important;
    height: 40px !important;
    margin-left: auto;
}

.loader-seat-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
}

.loader-seat-item {
    width: calc((100% - 52px) / 4);
    height: 34px !important;
    margin-right: 10px;
    margin-bottom: 10px;
}

.loader-seat-item:nth-child(4n+2) {
    margin-right: 32px;
}

.loader-seat-item:nth-child(4n) {
    margin-right: 0;
}

.busOpenrName {
    font-size: 18px;
    font-weight: 600;
}

.busOpenrTIMEnn {
    font-size: 12px;
    font-weight: 600;
    color: #898989;
    margin-top: 6px;
}

/* Bus listing filter sidebar */
.bus-filter-panel {
    background: #fff;
}

.bus-filter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #eceff4;
}

.bus-filter-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.bus-filter-subtitle {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.bus-filter-clear-btn {
    border: 0;
    background: transparent;
    color: var(--dynamic-text);
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.bus-filter-static {
    padding: 6px 18px 0;
}

.bus-filter-section {
    padding: 14px 0 16px;
    border-bottom: 1px solid #f0f2f6;
}

.bus-filter-section:last-child {
    border-bottom: 0;
}

.bus-filter-section-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.bus-type-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.bus-type-filter-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 78px;
    padding: 10px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bus-type-filter-btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bus-type-filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #4b5563;
}

.bus-type-filter-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.bus-type-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    text-align: center;
    line-height: 1.2;
}

.bus-type-filter-btn:hover,
.bus-type-filter-btn.is-active {
    border-color: var(--dynamic-text);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dynamic-text) 8%, transparent);
}

.bus-type-filter-btn:hover .bus-type-filter-icon,
.bus-type-filter-btn:hover .bus-type-filter-label,
.bus-type-filter-btn.is-active .bus-type-filter-icon,
.bus-type-filter-btn.is-active .bus-type-filter-label {
    color: var(--dynamic-text);
}

.bus-price-range-wrap {
    padding-top: 2px;
}

.bus-price-range-slider {
    position: relative;
    height: 24px;
    margin: 8px 4px 0;
}

.bus-price-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #eceff4;
}

.bus-price-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: inherit;
    background: var(--dynamic-text);
}

.bus-price-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.bus-price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--dynamic-text);
    background: #fff;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.bus-price-range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--dynamic-text);
    background: #fff;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.bus-price-range-input::-webkit-slider-runnable-track,
.bus-price-range-input::-moz-range-track {
    background: transparent;
    border: 0;
}

.bus-price-range-min {
    z-index: 3;
}

.bus-price-range-max {
    z-index: 4;
}

.bus-price-range-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.bus-time-filter-grid,
.departure_buttons,
.arrivalFilter_buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.arrivalFilterBtn,
.daprtFilterBtn {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    width: 100%;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.arrivalFilterBtn img,
.daprtFilterBtn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.arrivalFilterBtn:hover,
.daprtFilterBtn:hover,
.arrivalFilterBtn.filterBtn_active,
.daprtFilterBtn.filterBtn_active {
    border-color: var(--dynamic-text);
    color: var(--dynamic-text);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dynamic-text) 8%, transparent);
}

.bus-filter-accordion {
    padding: 8px 18px 18px;
}

.bus-filter-accordion .accordion-item {
    border: 0;
    background: transparent;
    margin-bottom: 10px;
}

.bus-filter-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.bus-filter-accordion .accordion-header {
    margin-bottom: 0;
}

.bus-filter-accordion .accordion-button {
    border: 1px solid #e5e7eb;
    border-radius: 999px !important;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    box-shadow: none;
}

.bus-filter-accordion .accordion-button:not(.collapsed) {
    background: #fff !important;
    color: #374151;
    box-shadow: none !important;
}

.bus-filter-accordion .accordion-button:focus {
    background: #fff !important;
    box-shadow: none !important;
    border-color: #d1d5db;
}

.bus-filter-accordion .accordion-button::after {
    width: 12px;
    height: 12px;
    background-size: 12px;
}

.bus-filter-accordion .accordion-collapse {
    border: 0;
}

.bus-filter-accordion .accordion-body {
    padding: 14px 4px 4px;
}

.bus-filter-search {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 12px;
    box-shadow: none;
}

.bus-filter-search:focus {
    border-color: var(--dynamic-text);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dynamic-text) 12%, transparent);
}

.bus-filter-scroll-box {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.listingul ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listingul ul li {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-transform: capitalize;
}

.listingul ul li label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
}

.listingul ul li input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--dynamic-text);
}

/* Main listing toolbar */
.bus-list-top-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bus-sort-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    margin-bottom: 10px;
}

.bus-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    flex-wrap: wrap;
    border: 1px solid #e8edf3;
    border-bottom: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    margin-bottom: -8px;
    z-index: 1;
    position: relative;
}

.bus-sort-count {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

.bus-sort-count span {
    color: var(--dynamic-text);
}

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

.bus-sort-label {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

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

.bus-sort-btn {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: #4b5563;
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.bus-sort-btn:hover,
.bus-sort-btn.is-active {
    color: var(--dynamic-text);
    font-weight: 600;
    background: transparent;
}

.bus-sort-banner {
    --bus-sort-banner-bg: color-mix(in srgb, var(--dynamic-text) 15%, #fff);
    background: var(--bus-sort-banner-bg);
    padding: 18px 18px 22px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    -webkit-mask:
        radial-gradient(11.33px at 50% calc(100% - 14.8px), #000 99%, transparent 101%) calc(50% - 16px) 0 / 32px 100%,
        radial-gradient(8.33px at 50% calc(100% + 4.8px), transparent 99%, #000 101%) 50% calc(100% - 8px) / 32px 100% repeat-x;
    mask:
        radial-gradient(11.33px at 50% calc(100% - 14.8px), #000 99%, transparent 101%) calc(50% - 16px) 0 / 32px 100%,
        radial-gradient(8.33px at 50% calc(100% + 4.8px), transparent 99%, #000 101%) 50% calc(100% - 8px) / 32px 100% repeat-x;
}

.bus-sort-banner-highlight {
    font-weight: 700;
    color: var(--dynamic-text);
}

@media (max-width: 991.98px) {
    .bus-sort-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .bus-sort-controls {
        width: 100%;
        justify-content: space-between;
    }

    .bus-sort-options {
        gap: 12px;
    }
}

.bus-popular-filters {
    position: relative;
    border-radius: 14px;
    background: linear-gradient(
        120deg,
        #eef5ff 0%,
        #f7faff 38%,
        #fef6ee 72%,
        #fff9f3 100%
    );
    padding: 16px 18px;
    overflow: hidden;
}

.bus-popular-filters-deco {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 88px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.bus-popular-filters-inner {
    position: relative;
    z-index: 2;
    padding-right: 0px;
}

.bus-popular-filters-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.bus-popular-filters-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.bus-popular-tab {
    border: 0;
    background: transparent;
    padding: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    position: relative;
    cursor: pointer;
}

.bus-popular-tab.is-active {
    color: var(--dynamic-text);
}

.bus-popular-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--dynamic-text);
    border-radius: 2px;
}

.bus-popular-filters-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
    margin-top: -12px;
}

.bus-popular-chips-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bus-popular-chips-row::-webkit-scrollbar {
    display: none;
}

.bus-popular-chips-skeleton {
    font-size: 14px;
}

.bus-popular-chip-skeleton {
    flex: 0 0 auto;
    height: 2.05em;
    border-radius: 6px;
    background-color: #e2e8f4;
    position: relative;
    overflow: hidden;
}

.bus-popular-chip-skeleton::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: bus-popular-skeleton-shimmer 1s infinite;
    content: "";
}

@keyframes bus-popular-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.bus-popular-chip {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 140px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #1f2937;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bus-popular-chip:hover,
.bus-popular-chip.is-active {
    border-color: var(--dynamic-text);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--dynamic-text) 12%, transparent);
}

.bus-popular-chip-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.bus-popular-chip--view-more {
    min-width: auto;
    max-width: none;
    padding: 0.35em 0.5em;
    font-size: 14px;
    flex-direction: row;
    gap: 0.45em;
    color: var(--dynamic-text);
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.bus-popular-chip--view-more:hover {
    border-color: transparent;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.35);
}

.bus-popular-view-more-icon {
    width: 1.75em;
    height: 1.75em;
    border-radius: 50%;
    background: var(--dynamic-text);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    flex-shrink: 0;
}

.bus-details-offcanvas .offcanvas-header {
    padding: 18px 20px;
}

.bus-details-offcanvas .offcanvas-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.bus-details-panel {
    padding: 18px 20px 24px;
}

.bus-details-head {
    margin-bottom: 16px;
}

.bus-details-operator {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.bus-details-bus-type {
    margin-top: 4px;
    font-size: 13px;
    color: #667085;
    font-weight: 500;
}

.bus-details-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.bus-details-tabs::-webkit-scrollbar {
    display: none;
}

.bus-details-tab-btn {
    flex-shrink: 0;
    border: 1px solid #d7deea;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.bus-details-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.bus-details-section-title i {
    color: var(--dynamic-text, #0d7a55);
    font-size: 15px;
}

.bus-details-tab-btn.is-active {
    border-color: var(--dynamic-text);
    color: var(--dynamic-text);
    background: color-mix(in srgb, var(--dynamic-text) 6%, #fff);
}

.bus-details-tab-pane {
    display: none;
}

.bus-details-tab-pane.is-active {
    display: block;
}

.bus-details-point-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
}

.bus-details-point-item:last-child {
    border-bottom: 0;
}

.bus-details-point-time {
    min-width: 72px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
}

.bus-details-point-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.bus-details-point-address,
.bus-details-point-city {
    margin-top: 3px;
    font-size: 12px;
    color: #667085;
}

.bus-details-table-wrap {
    border: 1px solid #e4e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.bus-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.bus-details-table th,
.bus-details-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
    text-align: left;
}

.bus-details-table th {
    background: #f8fafc;
    color: #475467;
    font-weight: 700;
}

.bus-details-table tr:last-child td {
    border-bottom: 0;
}

.bus-details-note {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: 12px;
    line-height: 1.5;
}

.bus-details-note i {
    margin-top: 2px;
}

.bus-details-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bus-details-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #344054;
}

.bus-details-amenity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e8f7f1;
    color: #0d7a55;
    flex-shrink: 0;
    font-size: 13px;
}

.bus-details-amenity-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    line-height: 1;
}

.bus-details-empty {
    margin: 0;
    font-size: 13px;
    color: #667085;
}