header {
    position: relative;
}

.page-checkins {
    padding-bottom: 32px;
}

.checkins-container {
    max-width: 100%;
    width: 100%;
    padding: 24px 20px 0;
    margin: 0 auto;
}

.checkins-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkins-wrap {
    display: flex;
    flex-direction: column;
}

.heading-box .heading {
    font-size: var(--hg-font-xs);
    line-height: var(--hg-lh-xs);
    font-weight: var(--hg-font-bold);
}

@media (min-width: 576px) {
    .checkins-container {
        max-width: 480px;
    }
}

@media (min-width: 768px) {
    .checkins-container {
        max-width: 628px;
    }

    .heading-box .heading {
        font-size: var(--hg-font-s);
        line-height: var(--hg-lh-s);
    }
}

/* Progress Bar */
.checkins-progress {
    position: sticky;
    top: 0;
    width: 100%;
    height: 4px;
    background-color: var(--background-bg-beige40);
    z-index: 2;
}

.progress-line {
    width: 0;
    height: 4px;
    transition: width .6s ease;
    background-image: linear-gradient(to right, #005f2a, #1eb58f 40%, #1b6aff 70%, #002880);
}

/* Intro Page */
.intro-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    max-width: 320px;
    margin: 0 auto;
}

.intro-wrapper .heading {
    font-size: var(--hg-font-xs);
    line-height: var(--hg-lh-xs);
    font-weight: var(--hg-font-bold);
}

.intro-wrapper .detail {
    font-size: var(--hg-font-3xs);
    line-height: var(--hg-lh-3xs);
}

/* Lasted Search Data Car */
.lastedSearch-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: url(/content/images/carinfo/combined-shape.png), linear-gradient(268deg, #22C38E 8.15%, #0A764F 100%);
    background-size: contain, 100%;
    background-position: center right, center;
    background-repeat: no-repeat, no-repeat;
    padding: 8px 12px;
    margin-bottom: 16px;
    border-radius: 4px;
    color: var(--text-body-on-dark);
}

.lastedSearch-wrapper .heading {
    font-size: var(--hg-font-4xs);
    line-height: var(--hg-lh-4xs);
}

.lastedSearch-wrapper .detail {
    font-size: var(--hg-font-3xs);
    line-height: var(--hg-lh-3xs);
}

.btn-lastedSearch {
    padding: 2px 12px;
    margin-right: 0;
    border: none;
    outline: none;
    border-radius: 6px;
    width: auto;
    height: auto;
    max-width: 100%;
    min-height: 32px;
    font-size: var(--hg-font-4xs);
    background: var(--gradient-red, linear-gradient(90deg, #EE761D 0%, #F46A60 100%));
}

/* Radio Card */
.inp-rdo {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.lbl-rdo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.10);
    background-color: var(--background-bg-white);
    cursor: pointer;
}

.lbl-rdo:hover,
input[type="radio"]:checked.inp-rdo+label.lbl-rdo {
    outline: 2px solid var(--border-active);
    background-color: var(--background-bg-mint-light);
}

input[type="radio"]:disabled.inp-rdo+label.lbl-rdo {
    cursor: default;
    outline: none !important;
    background-color: var(--background-bg-disable);
    color: var(--text-disable);
    mix-blend-mode: luminosity;
}

/* Radio You Drive */
.rdo-youDrive-box {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.rdo-youDrive-items {
    position: relative;
}

.rdo-youDrive-items img {
    order: 1;
}

.rdo-youDrive-items .lbl-rdo {
    order: 0;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 88px;
    justify-content: space-between;
}

.lbl-youDrive {
    word-wrap: break-word;
    word-break: break-word;
}

.lbl-youDrive .badge {
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    height: 18px;
    border-radius: 4px;
    vertical-align: top;
    color: #2273bb;
    border: solid 1px #2273bb;
    background-color: transparent;
    margin-left: 8px;
}

@media (min-width: 768px) {
    .rdo-youDrive-box {
        grid-template-columns: repeat(3, 1fr);
    }

    .rdo-youDrive-items img {
        order: 0;
    }

    .rdo-youDrive-items .lbl-rdo {
        order: 1;
        min-height: 188px;
        padding-top: 32px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .lbl-youDrive {
        text-align: center;
    }
}

/* Radio Car Barnds */
.rdo-carBarnds-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rdo-carBarnds-items {
    position: relative;
    width: 100%;
    min-height: 96px;
}

.rdo-carBarnds-items .lbl-rdo {
    height: 100%;
}

@media (min-width: 768px) {
    .rdo-carBarnds-box {
        grid-template-columns: repeat(5, 1fr);
    }

    .rdo-carBarnds-items {
        min-height: 100px;
    }
}

/* Card No Sub Modal */
.card-noSubModal-wrap {
    padding: 24px 16px;
    border-radius: 8px;
    background-color: var(--system-error-light);
}

.card-noSubModal-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.card-noSubModal-content::after {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    background: url(/Content/images/carinfo/illustrate-heygoody-face-fail.svg) no-repeat center/48px;
}

/* CarInfo Insrunce */
.rdo-carInfo-noIns-items {
    position: relative;
}

/* Expiryyear */
.sec-carinfo-expiryyear .date-picker {
    max-width: 320px;
    right: auto;
    left: 0;
}

/* Province Insrunce */
.rdo-province-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rdo-province-items {
    position: relative;
}

.rdo-province-items .lbl-rdo {
    justify-content: flex-start;
}

/* tearmsConsent-wrapper */
.tearmsConsent-wrapper {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
}

.tearmsConsent-content {
    color: var(--text-caption-on-light);
    font-size: var(--hg-font-3xs);
    line-height: var(--hg-lh-3xs);
    text-align: center;
}

.tearmsConsent-content button {
    color: var(--text-caption-on-light);
    font-size: var(--hg-font-3xs);
    line-height: var(--hg-lh-3xs);
    font-weight: 400;
    padding: 0;
    border: none;
    outline: none;
    width: auto;
    height: auto;
    display: inline-block;
    text-decoration: underline;
    vertical-align: top;
}

.modal-tearmsConsent .fn-login-consent-head {
    display: none;
}

.modal-tearmsConsent .fn-login-consent-text {
    font-size: var(--hg-font-3xs);
    line-height: var(--hg-lh-sarabun-3xs);
    font-family: var(--hg-font-sarabun);
}

.modal-tearmsConsent .mb8 {
    margin-bottom: 8px;
}

.modal-tearmsConsent p.fn-textindent {
    text-indent: 28px;
    margin: 0;
}
.modal-tearmsConsent p.fn-textindent-2 {
    text-indent: 56px;
    margin: 0;
}
.fn-personal-car-note { color: #096B65; }
