html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Sơ đồ ghế */
.tang-xe {
    border: 2px solid #17233a;
    border-radius: 36px 36px 12px 12px;
    padding: 14px 22px 22px;
    margin: 0;
    min-width: 220px;
    flex: 1;
    background: #fff
}

    .tang-xe legend {
        float: none;
        width: auto;
        font-size: 1rem;
        font-weight: 600;
        padding: 0 10px;
        margin: 0
    }

.luoi-ghe {
    display: grid;
    grid-template-columns: 1fr 14px 1fr 14px 1fr;
    gap: 10px 0;
    margin-top: 6px
}

.ghe {
    position: relative;
    display: block;
    margin: 0 3px
}

    .ghe input {
        position: absolute;
        opacity: 0;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        cursor: pointer
    }

    .ghe span {
        display: block;
        text-align: center;
        padding: 10px 0;
        border: 2px solid #0e8f6b;
        border-radius: 6px 6px 10px 10px;
        font-weight: 600;
        font-size: .85rem;
        background: #fff
    }

    .ghe input:checked + span {
        background: #f0a500;
        border-color: #f0a500;
        color: #1d1400
    }

    .ghe input:focus-visible + span {
        outline: 3px solid #17233a;
        outline-offset: 2px
    }

    .ghe.da-dat span {
        background: #bcc6cf;
        border-color: #bcc6cf;
        color: #6b7785;
        text-decoration: line-through
    }

    .ghe.da-dat input {
        cursor: not-allowed
    }

.mau-mau {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 2px solid #0e8f6b;
    background: #fff;
    vertical-align: -2px
}

    .mau-mau.chon {
        background: #f0a500;
        border-color: #f0a500
    }

    .mau-mau.dat {
        background: #bcc6cf;
        border-color: #bcc6cf
    }
/* Trang chủ */
.hero-xe {
    background: linear-gradient(135deg,#14143c,#2a2a72);
    color: #fff;
    border-radius: 16px;
    padding: 48px 40px 28px;
    margin-top: 8px
}

.hero-nho {
    font-size: .85rem;
    opacity: .8;
    margin: 0 0 12px
}

.hero-xe h1 {
    font-size: clamp(2rem,5vw,3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px
}

    .hero-xe h1 span {
        color: #f5a623
    }

.hero-mota {
    max-width: 52ch;
    opacity: .85;
    margin: 0 0 28px
}

.the-tim {
    background: #fff;
    color: #1b1b3a;
    border-radius: 14px;
    padding: 18px 20px
}

.hang-tim {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr auto;
    gap: 12px;
    align-items: end
}

.o-chon label {
    display: block;
    font-size: .75rem;
    color: #6b6b8a;
    margin-bottom: 4px
}

.o-chon select, .o-chon input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d5d7e3;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    color: #1b1b3a
}

.nut-doi {
    width: 40px;
    height: 40px;
    border: 1px solid #d5d7e3;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    color: #2a2a72
}

    .nut-doi:hover {
        background: #eef0fa
    }

.nut-tim {
    background: #e03a2f;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 11px 26px;
    font-weight: 600;
    cursor: pointer
}

    .nut-tim:hover {
        filter: brightness(1.08)
    }

.chon-nhanh {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    font-size: .8rem;
    color: #6b6b8a;
    flex-wrap: wrap
}

    .chon-nhanh button {
        border: 0;
        border-radius: 999px;
        padding: 4px 14px;
        background: #eef0fa;
        color: #2a2a72;
        font-size: .8rem;
        cursor: pointer
    }

        .chon-nhanh button.dang-chon {
            background: #2a2a72;
            color: #fff
        }

.uu-diem {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding: 0;
    margin: 20px 0 0;
    font-size: .8rem;
    opacity: .9
}

    .uu-diem li::before {
        content: "★";
        color: #f5a623;
        margin-right: 6px
    }

@media (max-width:860px) {
    .hero-xe {
        padding: 28px 18px 20px
    }

    .hang-tim {
        grid-template-columns: 1fr
    }

    .nut-doi {
        justify-self: center
    }
}
/* Chuyến sắp khởi hành, tuyến phổ biến */
.khoi {
    margin-top: 40px
}

.khoi-tieu-de {
    font-size: 1.5rem;
    font-weight: 800;
    color: #14143c;
    margin-bottom: 16px
}

.bang-chuyen {
    border: 1px solid #d5d7e3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff
}

.bang-dau, .bang-hang {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 14px 20px;
    align-items: center
}

.bang-dau {
    font-size: .8rem;
    color: #6b6b8a;
    background: #f6f7fc
}

.bang-hang {
    border-top: 1px solid #e6e8f2;
    color: #1b1b3a;
    text-decoration: none
}

    .bang-hang:hover {
        background: #f6f7fc
    }

    .bang-hang small {
        display: block;
        color: #6b6b8a;
        font-size: .8rem
    }

.phai {
    text-align: right
}

.it-cho {
    color: #e03a2f;
    font-weight: 600
}

.luoi-tuyen {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 14px
}

.the-tuyen {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid #d5d7e3;
    border-radius: 14px;
    background: #fff;
    color: #1b1b3a;
    text-decoration: none
}

    .the-tuyen:hover {
        border-color: #2a2a72;
        box-shadow: 0 2px 10px rgba(42,42,114,.12)
    }

    .the-tuyen span {
        color: #6b6b8a;
        font-size: .85rem
    }

    .the-tuyen .gia {
        color: #e03a2f;
        font-weight: 700;
        font-size: 1rem;
        margin-top: 6px
    }

@media (max-width:860px) {
    .bang-dau {
        display: none
    }

    .bang-hang {
        grid-template-columns: 1fr 1fr
    }

        .bang-hang .phai {
            text-align: left
        }
}
.qr {
    width: 160px;
    height: 160px
}

    .qr svg {
        width: 100%;
        height: 100%
    }
.khung-bieu-do {
    position: relative;
    height: 260px
}

    .khung-bieu-do.cao {
        height: 340px
    }