.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: var(--button-text);
}

.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-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: linear-gradient(135deg, #0d6efd 0%, #367cff 100%);
    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;
}

@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;
}