/* Custom select2 header */
.select.change-lang .select2-selection__arrow {
    width: 0 !important;
    height: 0 !important;
    top: 2px !important;
    right: -4px !important;
}
.select.change-lang .select2-selection,
.select.change-lang .select2-selection__arrow b {
    border: none !important;
}

.select.change-lang .select2-dropdown {
    border: none;
    border-radius: 0;
}

.desktop-img {
    display: none;
}

.desktop-nav {
    display: none;
}

.highlight {
    position: relative;
}

.highlight-desc {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.highlight-desc h1 {
    color: white;
    margin-bottom: 20px;
}

.highlight-desc p {
    color: white;
}

.mobile-nav {
    padding: 20px;
    background-color: white;
}

.item-group {
    display: flex;
    align-items: center;
}

.item-group > img {
    width: 35px;
    margin-right: 15px;
}

.item-group .item-title {
    font-size: 24px;
    font-family: "DBHelvethaicaXBdv";
    color: #222;
    line-height: 2.2rem;
}

.item-group .item-subtitle {
    font-size: 20px;
    font-family: "DBHelvethaicaXBdv";
    color: #bbb;
    line-height: 2.2rem;
}

.nav-item {
    display: none;
    justify-content: space-between;
    align-items: center;
}

.nav-item.active {
    display: flex;
}

.item-number {
    font-size: 24px;
    font-family: "nissanBrandBold";
    color: #bbb;
}

.item-number .current-number {
    color: #c40330;
}

.tab-body {
    padding: 40px 20px;
    background-color: #f2f4f6;
}

.step-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.step-head .step {
    font-family: "nissanBrandBold";
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    background-color: #c40330;
    line-height: 1rem;
    margin-bottom: 10px;
}

.step-head h2 {
    font-size: 30px;
    font-family: "DBHelvethaicaXBdv";
    margin-bottom: 10px;
}

.step-head .detail {
    color: #222;
    font-family: "DBHelvethaicaXMedv";
    text-align: center;
    font-size: 20px;
    line-height: 2.2rem;
}

.related-contract-link {
    font-family: "DBHelvethaicaXBdv";
    text-decoration: underline;
}

.idCard-wrap {
    margin-bottom: 60px;
    padding: 20px;
}

.input-border-bt {
    font-family: "DBHelvethaicaXMedv";
    width: 100%;
    border: 0;
    border-bottom: 2px solid #cccccc;
    background-color: transparent;
    font-size: 24px;
}

.body-wrap .row-content .title,
.body-wrap .row-content .select-label {
    font-size: 18px;
    line-height: 2.2rem;
    font-family: "DBHelvethaicaXBdv";
    color: #222;
}

.body-wrap .row-content .title .more-detail {
    font-family: "DBHelvethaicaXMedv";
}

.body-wrap .row-content {
    margin-bottom: 10px;
}

.select2-dropdown {
    z-index: 99999 !important;
}

.select-field.margin {
    margin: 20px 0;
}

.select-field .select2-container {
    width: 100% !important;
}

.select-field .select2-selection__rendered {
    line-height: 40px !important;
}
.select-field .select2-container .select2-selection--single {
    height: 45px !important;
    border: 2px solid #ccc;
}
.select-field .select2-selection__arrow {
    height: 40px !important;
}

.select-field .select2-selection__arrow b {
    border: none !important;
    position: relative;
}
.select-field .select2-selection__arrow b:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(10px, -30%);
    width: 20px;
    height: 20px;
    background: url("../img/arrow-down.png") no-repeat center center / 70%;
    transition: transform 0.3s ease;
}

.select-field .select2-container--open .select2-selection__arrow b:after {
    transform: rotate(180deg) translate(-10px, 27%);
}

.select-field .select2-selection__rendered,
.select-field .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select-field .select2-results__option--selectable {
    font-family: "nissanBrandBold";
    font-size: 16px;
    color: #222;
    padding-left: 10px !important;
}

.select-field .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f2f4f6 !important;
    color: #222 !important;
}

.select-field .select2-dropdown {
    border: 2px solid #ccc !important;
    border-top: none !important;
}

.warning-message {
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e8e8e8;
    border-radius: 8px;
}

.warning-message > img {
    width: 50px;
    margin-bottom: 10px;
}

.warning-message > p {
    font-size: 20px;
    font-family: "DBHelvethaicaXMedv";
    color: #222;
    line-height: 2.2rem;
}

.warning-message > p > a {
    text-decoration: underline;
}

.submit-wrap {
    padding: 20px;
    text-align: center;
}

.submit-btn,
.submit-btn-2 {
    font-family: "DBHelvethaicaXBdv";
    font-size: 22px;
    color: white;
    background-color: #c40030;
    border: 0;
    width: 100%;
    border-radius: 50px;
    height: 50px;
    cursor: pointer;
}

.submit-btn.disable {
    background-color: #ccc;
}

.submit-btn svg {
    width: 10px;
    margin-bottom: -5px;
    margin-left: 5px;
}

.submit-btn-2 svg {
    width: 10px;
    margin-right: 5px;
    margin-bottom: -6px;
}

.card-head {
    font-family: "DBHelvethaicaXBdv";
    font-size: 30px;
    color: white;
    padding: 20px;
    background-color: #222222;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-head h3 {
    color: white;
    margin-bottom: 20px;
}

.card-head-icon {
    font-family: "nissanBrandBold";
    font-size: 20px;
}

.card-head-icon img {
    width: 35px;
    margin-right: 10px;
}

.card-profile .card-body {
    background-color: white;
    padding: 30px 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.card-flex {
    display: flex;
    align-items: center;
}

.card-profile .card-body .topic {
    font-size: 14px;
    font-family: "DBHelvethaicaXBdv";
    color: #222;
}

.card-profile .card-body .channel {
    font-size: 18px;
    font-family: "nissanBrandBold";
    color: #222;
}

.card-profile .card-body .desc {
    font-size: 18px;
    font-family: "DBHelvethaicaXMedv";
    color: #777;
}

.card-flex .icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.card-profile .card-body .data,
.card-profile .card-body .data.placeholder {
    font-family: "nissanBrandBold";
    font-size: 16px;
    color: #222;
}

.card-profile .card-body .data.placeholder {
    color: #999;
    font-size: 14px;
}

.card-profile .card-body .edit-btn {
    font-family: "DBHelvethaicaXBdv";
    border: 3px solid #c40030;
    color: #c40030;
    margin-left: 10px;
    border-radius: 20px;
    padding: 5px 15px;
    line-height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-profile .card-body .edit-btn svg {
    width: 15px;
    margin-right: 5px;
}

.card-profile .card-body .body-title {
    font-size: 20px;
    font-family: "DBHelvethaicaXBdv";
    color: #222;
}

.card-detail {
    padding: 10px;
    margin: 20px 0;
    text-align: center;
}

.card-detail p {
    font-size: 12px;
    color: #222;
}

.card-detail .contact {
    color: #999;
}

.card-detail .contact a {
    color: #222;
    text-decoration: underline;
}

.modal-wrapper {
    padding: 10px 20px 30px;
    background-color: white;
    border-radius: 8px;
}

.modal-wrapper.error-message,
.modal-wrapper.success-message {
    max-width: 400px;
    margin: 0 auto;
    padding: 70px 40px;
    position: relative;
}

.modal-wrapper.relative {
    position: relative;
    padding: 40px 20px;
}

.modal-wrapper.relative .popup-modal-dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-wrapper.error-message .popup-modal-dismiss,
.modal-wrapper.success-message .popup-modal-dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-wrapper .header-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.modal-wrapper .header-wrap .heading {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 3rem;
}

.modal-wrapper .header-wrap p {
    color: #222;
    font-family: "DBHelvethaicaXMedv";
    font-size: 20px;
    line-height: 2.5rem;
}

.modal-wrapper .icon {
    width: 20px;
    cursor: pointer;
}

.modal-wrapper .popup-modal-dismiss {
    display: flex;
    align-items: center;
    justify-content: end;
}

.modal-wrapper .tooltips-icon {
    width: 15px;
}

.submit-wrap2 {
    margin-top: 20px;
}

.input-normal {
    width: 100%;
    height: 45px;
    border: none;
    border: 2px solid #ccc;
    border-radius: 3px !important;
    font-family: "DBHelvethaicaXMedv";
    font-size: 24px;
    padding: 0 5px;
}

.OTP-detail {
    font-size: 20px;
    text-align: center;
    color: #222;
    font-family: "DBHelvethaicaXMedv";
    line-height: 2rem;
}

.underline {
    text-decoration: underline;
}

.OTP-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.OTP-wrap .OTP-number {
    width: 50px;
    height: 55px;
    background-color: white;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 30px;
    font-family: "nissanBrandBold";
    text-align: center;
}

.OTP-expired {
    font-family: "DBHelvethaicaXMedv";
    margin: 25px 0;
    text-align: center;
    color: #959494;
    font-size: 18px;
}

.OTP-retry {
    font-family: "DBHelvethaicaXMedv";
    margin: 25px 0;
    text-align: center;
    color: #777;
    font-size: 18px;
}

.OTP-retry a {
    color: #c40030;
    text-decoration: underline;
}

.license-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    padding: 20px 0;
    border-bottom: 2px solid #eee;
}

.license-card:last-child {
    border-bottom: 0;
}

.license-plate {
    width: 55%;
    position: relative;
}

.license-plate img {
    max-width: 100%;
}

.license-plate .license-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.license-plate .license-data h4 {
    color: #c40030;
    font-family: "nissanBrandBold";
    font-size: 20px;
}

.license-plate .license-data h4 .font-dbHelve {
    font-family: "DBHelvethaicaXBdv";
    font-size: 30px;
    line-height: 2rem;
}

.license-plate .license-data p {
    font-family: "DBHelvethaicaXMedv";
    color: #222;
    font-size: 20px;
    line-height: 2.5rem;
}

.license-detail {
    width: 40%;
}

.license-detail .license-title {
    font-size: 16px;
    font-family: "DBHelvethaicaXBdv";
    color: #bbb;
    line-height: 2rem;
}

.license-detail .license-subtitle {
    color: #222;
    font-family: "nissanBrandBold";
    font-size: 16px;
    line-height: 2rem;
}

.custom-radio {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid #d8d8d8;
    border-radius: 50%;
    position: relative;
}

.custom-radio::before {
    content: "";
    width: 15px;
    height: 15px;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.receive-input:checked + .custom-radio {
    border: 4px solid #c40030;
}

.receive-input:checked + .custom-radio::before {
    background-color: #c40030;
}

.radio-card {
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px 1px #eee;
    padding: 20px;
    margin-bottom: 20px;
    border: 3px solid transparent;
    overflow: hidden;
}

.radio-card.active {
    border: 3px solid #c40030;
}

.custom-label {
    width: 85%;
}

.custom-label h3 {
    font-size: 18px;
    font-family: "nissanBrandBold";
    color: #222;
    margin-bottom: 5px;
}

.custom-label > p {
    font-size: 16px;
    font-family: "DBHelvethaicaXMedv";
    margin-bottom: 5px;
    line-height: 2.5rem;
}

.custom-label .icon-wrap {
    display: flex;
    align-items: center;
    line-height: 2rem;
    font-family: "DBHelvethaicaXMedv";
    font-size: 20px;
    color: #999;
}

.custom-label .icon-wrap svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.custom-label .icon-wrap .data {
    font-family: "nissanBrandBold";
    color: #222;
    font-size: 16px;
}

.detail-wrap {
    text-align: center;
    margin: 20px 0;
}

.detail-wrap p {
    color: #999;
}

.detail-wrap a {
    color: #222;
    text-decoration: underline;
}

.order-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 20px 20px 20px 3rem;
}

.order-list li {
    line-height: 2.5rem;
    list-style: auto !important;
}

.order-list li a {
    color: #222;
    text-decoration: underline;
}

.checkbox-group {
    border-top: 2px solid #eee;
}

.checkbox {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkbox input[type="checkbox"]:checked + .checkbox-label {
    background-color: #c40030;
    border: 3px solid #c40030;
    position: relative;
}

.checkbox input[type="checkbox"]:checked + .checkbox-label::before {
    content: "";
    width: 12px;
    height: 12px;
    background: url("../img/checkmark.png") no-repeat center center / 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label {
    width: 25px;
    height: 25px;
    border: 3px solid #e0e0e0;
    border-radius: 3px;
    margin-top: 5px;
}

.checkbox > p {
    font-family: "DBHelvethaicaXMedv";
    font-size: 22px;
    color: #414141;
    width: 85%;
    line-height: 2.5rem;
}

.back-home {
    font-family: "DBHelvethaicaXBdv";
    font-size: 24px;
    color: #c40330;
}

.back-home svg {
    width: 10px;
    margin-bottom: -5px;
}

.how-to-link {
    font-family: "DBHelvethaicaXBdv";
    font-size: 18px;
    margin: 10px 0;
    display: inline-block;
    color: #c40030;
    text-decoration: underline;
}

.step-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.step-wrapper .nav-item-dd {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-wrapper .icon-wrapper {
    position: relative;
}

.step-wrapper .icon-wrapper::after {
    content: "";
    width: 100px;
    height: 3px;
    background-color: #ddd;
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateX(50%);
}

.step-wrapper .nav-item-dd:last-child .icon-wrapper::after {
    display: none;
}

.step-wrapper .nav-item-dd .step-head {
    margin-bottom: 0;
    height: 50px;
}

.step-wrapper .nav-item-dd .icon-wrapper {
    display: flex;
    align-items: center;
    height: 60px;
}

.nav-item-dd p {
    font-family: "DBHelvethaicaXBdv";
    color: #000;
    font-size: 20px;
}

.step-wrapper .nav-item-dd .icon-wrapper .icon {
    width: 35px;
}

.step-wrapper .nav-item-dd .list-menu {
    padding: 0 2.2rem;
}

.step-wrapper .nav-item-dd .list-menu li {
    list-style: initial;
    font-family: "DBHelvethaicaXMedv";
    font-size: 16px;
    line-height: 2rem;
    color: #222;
}

.finish-icon {
    width: 30px;
    margin-bottom: 20px;
    display: none;
}

.finish-icon.active {
    display: block;
}

.finish-icon.active + .step-head {
    display: none;
}

.how-to-link {
    display: none;
}

.error-text {
    font-size: 18px;
    font-family: "DBHelvethaicaXMedv";
    color: #c40030;
    margin-bottom: 10px;
    display: none;
}

#email-para {
    margin-right: 10px;
    max-width: 120px;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.error-text.show {
    display: block;
}

.edit-email-btn {
    font-family: "DBHelvethaicaXBdv";
    border: 3px solid #c40030;
    color: #c40030;
    border-radius: 20px;
    padding: 5px 12px;
    line-height: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.content-disable {
    background-color: #999;
    pointer-events: none;
}

@media screen and (min-width: 768px) {
    .desktop-img {
        display: block;
    }

    .mobile-img {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    .desktop-nav {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 600px;
        margin: 20px auto;
    }

    .how-to-link {
        display: block;
    }

    .nav-item-d {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        height: 120px;
    }

    .nav-item-d::after {
        content: "";
        width: 100px;
        height: 3px;
        background-color: #ddd;
        position: absolute;
        right: 0;
        top: 55%;
        transform: translateX(100%);
    }

    .nav-item-d:last-child::after {
        display: none;
    }

    .nav-item-d .icon {
        width: 30px;
    }

    .nav-item-d .icon-wrapper {
        height: 45px;
        display: flex;
        align-items: center;
    }

    .nav-item-d p {
        font-family: "DBHelvethaicaXBdv";
        color: #000;
        font-size: 20px;
    }

    .nav-item-d.active .icon,
    .nav-item-d .icon.active {
        display: none;
    }

    .nav-item-d.active .icon.active {
        display: block;
    }

    .desktop-nav .step-head {
        margin-bottom: 5px;
        height: 40px;
    }
    .nav-item-d:first-child .step-head {
        margin-bottom: 10px;
    }

    .tab-body {
        max-width: 600px;
        margin: 40px auto;
        border-radius: 8px;
        padding: 40px;
    }

    .form-step,
    .body-inner,
    .res-modal {
        max-width: 400px;
        margin: 0 auto;
    }

    .idCard-wrap {
        margin-bottom: 20px;
    }

    .submit-wrap {
        max-width: 200px;
        margin: 0 auto;
    }

    .submit-wrap2 {
        max-width: 220px;
        margin: 10px auto;
    }

    .submit-btn,
    .submit-btn-2 {
        height: 45px;
    }

    .warning-message {
        flex-direction: row;
        text-align: center;
    }

    .warning-message > img {
        margin-bottom: 0;
        margin-right: 20px;
        width: 40px;
    }

    .select-field.margin {
        margin: 20px 0;
    }

    .select-field.reverse {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .select-field.reverse > * {
        width: 50% !important;
    }

    .select-field.reverse > .select-label {
        padding: 0 20px;
    }

    .input-field.reverse {
        display: flex;
        flex-direction: row-reverse;
    }

    .input-field.reverse > * {
        width: 50%;
    }

    .input-field.reverse > p {
        font-family: "DBHelvethaicaXBdv";
        font-size: 20px;
        padding: 0 20px;
        color: #222;
        line-height: 1.8rem;
    }

    .input-field.reverse .small-detail {
        font-family: "DBHelvethaicaXMedv";
        font-size: 16px;
    }

    .select-field.reverse > .select-label.font-normal {
        font-family: "DBHelvethaicaXMedv";
    }

    .OTP-wrap .OTP-number {
        margin: 0 10px;
    }

    .OTP-expired {
        margin-bottom: 0;
    }

    .OTP-retry {
        margin-top: 0;
    }

    .license-plate {
        width: 30%;
    }

    .license-detail {
        width: 60%;
        display: flex;
        justify-content: space-around;
    }

    .license-detail > * {
        width: 33%;
    }

    .body-wrap .topic {
        font-family: "DBHelvethaicaXBdv";
        font-size: 22px;
        color: #222;
    }

    .modal-inner {
        padding: 0 20px;
    }

    .modal-wrapper.relative,
    .modal-wrapper.error-message,
    .modal-wrapper.success-message {
        padding: 80px 50px; 
    }

    .modal-wrapper.error-message,
    .modal-wrapper.success-message {
        max-width: 700px;
    }

    .modal-wrapper .header-wrap .heading {
        margin-bottom: 0;
    }
    .modal-wrapper .header-wrap.margin {
        margin-bottom: 0;
    }

    .checkbox > p {
        width: 92%;
    }

    .checkbox-label {
        margin-top: 0;
    }

    #email-para {
        max-width: 220px;
    }
}

@media screen and (min-width: 1024px) {
    .desktop-nav,
    .tab-body {
        max-width: 850px;
    }

    .tab-body {
        padding: 40px 60px;
    }

    .modal-wrapper {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px 40px;
    }

    .submit-wrap2 {
        padding: 10px 0;
    }

    .nav-item-d .icon {
        width: 45px;
    }

    .nav-item-d .icon-wrapper {
        height: 100px;
    }

    .nav-item-d {
        height: 160px;
    }

    .nav-item-d::after {
        width: 150px;
        top: 55%;
        transform: translateX(50%);
        left: 0;
    }

    .card-head,
    .card-profile .card-body {
        padding: 30px 40px;
    }

    .card-profile {
        margin-bottom: 20px;
    }

    .radio-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .radio-card {
        width: 49%;
    }

    #email-para {
        max-width: 120px;
    }
}

@media screen and (min-width: 1200px) {
    .desktop-nav,
    .tab-body {
        max-width: 900px;
    }

    .nav-item-d::after {
        transform: translateX(65%);
    }

    .tab-body {
        padding: 40px 100px;
    }
}
