/*
 * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */

.form-group.type-checkout-option.ets-opc-hasaccount.suggest {
    margin-bottom: 10px;
    margin-right: 0;
    margin-top: -10px;
    padding-left: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.form-group.row.type-checkout-option.create.suggest a{
    cursor: pointer;
}
.ets-opc-checkout .form-group:after {
    content: "";
    display: block;
    clear: both;
    width: 100%;
}
.form-group.row.type-checkout-option.login.suggest a{
    cursor: pointer;
}
.field-password-policy .progress {
    height: 6px;
}
.ets_opc_error {
    color: red;
    font-size: 12px;
    font-style: italic;
    padding-left: 0;
    display: block;
    width: 100%;
    clear: both;
    line-height: 16px;
}
.ets-opc-forgot-submit > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}
.ets-opc-forgot-submit > div .forgot-password {
    margin: 0;
}
.ets-opc-checkout .form-group {
    margin-bottom: 15px;
}
.ets-opc-checkout.block-additional-info .col-md-8.ets-opc-field-right {
    width: 66.66%;
    padding-right: 0;
}
.type-checkout-option .ets-opc-field-right.form-error, .ets-opc-checkout .form-group .form-control-label + .col-md-8.form-error, .ets-opc-checkout .ets-opc-field-right.form-error {
    padding-bottom: 0;
    margin-bottom: 16px!important;
}
.type-checkout-option .ets-opc-field-right.form-error .ets_opc_error, .ets-opc-checkout .form-group .form-control-label + .col-md-8.form-error .ets_opc_error, .ets-opc-checkout .ets-opc-field-right.form-error .ets_opc_error {
    position: absolute;
    top: 100%;
}
.type-checkout-option.create.guest .col-md-3.form-control-comment {
    display: none;
}
.ets-opc-hasaccount  p {
    display: block;
    width: 100%;
    text-align: center;
}
.ets-opc-checkout .captcha_field iframe {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: left top;
}
.row.type-checkout-option > .form-group.row {
    margin-left: auto;
    margin-right: auto;
}
.col-lg-4 .type-checkout-option label.col-md-4.form-control-label {
    width: 50%;
}
.ets-opc-col .create.suggest p {
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 13px;
}
.type-checkout-option.agree_field ,
.type-checkout-option.ets-opc-hasaccount p {
    margin-bottom: 0;
}
.captcha_field, .captcha_field div {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.type-checkout-option.captcha_field.create {
    margin-bottom: 20px;
}
.type-checkout-option.login.ets-opc-forgot-submit {
    margin-bottom: 25px;
}
.agree_field span.checkbox label {
    padding-top: 0;
}
.social_title_field label.form-control-label, .social_title_field .radio-inline {
    margin-bottom: 0;
}
.form-group.type-checkout-option.guest.create iframe {
    transform: scale(0.9);
}
.agree_field span.checkbox, .agree_field span.checkbox label {
    display: block;
    width: 100%!important;
}
.type-checkout-option label.form-control-label.ets_checkinput {
    padding-top: 0;
}
.social_title_field .form-control-label {
    margin-bottom: 0;
}
.social_title_field label.radio-inline {
    padding-bottom: 0;
    margin-bottom: 0;
}
#customer_create_psgdpr span.ets_opc_error,
#customer_guest_psgdpr span.ets_opc_error,
.ets-opc-checkout .form-group.ets-opc-field-error span.ets_opc_error {
    padding-left: 0;
    line-height: 1.4;
    margin-top: 6px;
    margin-bottom: 0;
    display: block;
}
.ets-opc-checkout .form-group.ets-opc-field-error .ets_checkbox {
    border-color: #f13340;
}
.input-group-addon .ets_svg_icon svg,
#checkout .input-group-addon .ets_svg_icon svg {
    width: 14px;
}
.ets-opc-checkout .type-checkout-option .form_desc {
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0;
    margin-top: 4px;
    font-size: 13px;
    color: #999;
}
.ets-opc-checkout.block-additional-info input.form-control, .ets-opc-checkout.block-additional-info select {
    border: 1px solid #b2ced2;
    background-color: #fff;
    font-size: 13px;
    padding: 0 30px 0 10px;
    height: 35px;
    width: 100%;
}
.ets-opc-checkout.block-additional-info textarea.form-control{
    min-height: 100px;
    border: 1px solid #b2ced2;
    background-color: #fff;
    font-size: 13px;
    padding: 10px;
}
.ets-opc-checkout.block-additional-info input.form-control + .input-group-addon:not(:first-child) {
    padding: 0 10px;
    height: 40px;
    border-top: 1px solid #b2ced2;
    border-bottom: 1px solid #b2ced2;
    border-right: 1px solid #b2ced2;
    font-size: 14px;
    min-width: 35px;
    display: inline-flex;
    align-items: center;
}
.type-checkout-option.ets-opc-hasaccount label {
    font-size: inherit;
}
.ets-opc-checkout .input-group.js-parent-focus input.form-control {
    width: 100%;
}
/* Làm đẹp ô nhập liệu tương tự như ảnh mẫu */
.ets-opc-checkout .form-control{
    border-radius: 4px !important;
}
.ets-opc-checkout label.form-control-label.required:after {
    content: "*";
    display: inline-block;
    color: #ff3f3f;
    margin-left: 3px;
}
.ets-opc-checkout label.form-control-label {
    padding-right: 5px;
    min-height: 40px;
    padding-bottom: 10px;
}
.ets-opc-checkout .input-group .input-group-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    bottom: 0;
    min-width: 30px;
    z-index: 10;
}
.ets-opc-checkout .input-group.js-parent-focus {
    position: relative;
    display: block;
    float: left;
}
.ets-opc-checkout .input-group.ets-passw {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    float: none;
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #b1ced4;
    background-color: transparent;
}
.ets-opc-checkout .input-group.ets-passw input#customer_create_password {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.ets-opc-checkout .input-group.ets-passw:focus-within {
    border-color: #2fb5d2;
}
.ets-opc-checkout .input-group.ets-passw > input.form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
    background-color: transparent;
}
.ets-opc-checkout .input-group.ets-passw > .input-group-btn,
.ets-opc-checkout .input-group.ets-passw > .input-group-append {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    height: auto;
    float: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 40px;
    border: 0;
    background: transparent;
}
.ets-opc-checkout .input-group.ets-passw .input-group-btn > .btn[data-action=ets-show-password],
.ets-opc-checkout .input-group.ets-passw .input-group-btn > .btn[data-action=show-password],
.ets-opc-checkout .input-group.ets-passw .input-group-append > .btn[data-action=ets-show-password],
.ets-opc-checkout .input-group.ets-passw .input-group-btn > .btn.ets_password,
.ets-opc-checkout .input-group.ets-passw .input-group-append > .btn.ets_password {
    float: none;
    height: 100%;
    align-self: stretch;
    margin-left: 0;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.ets-opc-checkout .input-group .input-group-btn>.btn[data-action=show-password],
.ets-opc-checkout .input-group .input-group-btn>.btn[data-action=ets-show-password],
.ets-opc-checkout .input-group .input-group-append>.btn[data-action=ets-show-password] {
    float: right;
    background: transparent;
    font-size: 0;
    padding: 0 10px;
    height: 100%;
}
.input-group .input-group-btn button.btn.ets_password {
    padding: 8px;
    margin-left: -3px;
    background: transparent!important;
    height: 100%;
}
.input-group .input-group-btn button.btn.ets_password,
.input-group .input-group-append button.btn.ets_password {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.input-group .input-group-btn button.btn.ets_password svg,
.input-group .input-group-append button.btn.ets_password svg {
    width: 16px;
    height: 16px;
    fill: #86aaaf;
    display: block;
}
.ets-opc-checkout .ets-passw .un-eye,
.ets-opc-checkout .ets-passw .input-group-btn .un-eye,
.ets-opc-checkout .ets-passw .input-group-append .un-eye {
    display: none !important;
}
.ets-opc-checkout .ets-passw .eye {
    display: block;
}
.ets-opc-checkout .ets-passw.ets-opc-password-visible .eye {
    display: none !important;
}
.ets-opc-checkout .ets-passw.ets-opc-password-visible .un-eye,
.ets-opc-checkout .ets-passw.ets-opc-password-visible .input-group-btn .un-eye,
.ets-opc-checkout .ets-passw.ets-opc-password-visible .input-group-append .un-eye {
    display: block !important;
}
.ets-ml-1.js-error-text {
    margin-left: 10px;
}
.ets-opc-checkout .block-promo .promo-input::-webkit-input-placeholder,
.ets-opc-checkout input.form-control::-webkit-input-placeholder,
.ets-opc-checkout textarea.form-control::-webkit-input-placeholder { /* Edge */
    color: #777777;
    opacity: 0.7;
}
.ets-opc-checkout .block-promo .promo-input:-ms-input-placeholder,
.ets-opc-checkout input.form-control:-ms-input-placeholder,
.ets-opc-checkout textarea.form-control:-ms-input-placeholder { /* Internet Explorer */
    color: #777777;
    opacity: 0.7;
}
.ets-opc-checkout .block-promo .promo-input::placeholder,
.ets-opc-checkout input.form-control::placeholder,
.ets-opc-checkout textarea.form-control::placeholder {
    color: #777777;
    opacity: 0.7;
}
.ets-opc-checkout .form-group.row.p_0 label {
    color: #427e8d;
    font-family: Open sans;
    font-weight: 600;
}
.ets-opc-checkout .form-group.row.p_0 label.required:after{
    display: none;
}
.type-checkout-options li {
    display: inline-block;
    position: relative;
    margin: 0 5px;
}
#ets-opc-checkout-form.ets-opc-submitting {
    pointer-events: none;
}
#ets-opc-checkout-form.ets-opc-submitting::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.2);
}
button[name="submitCustomerLogin"].loading,
button[name="submitCompleteMyOrder"].loading{
    color: rgba(255,255,255,0.1)!important;
    position: relative;
    pointer-events: none;
}
ul.type-checkout-options {
    text-align: center;
    margin-top: 0;
    font-weight: 600;
    margin-bottom: 25px;
}
.type-checkout-option span.help-block {
    font-size: small;
    font-style: italic;
    line-height: 1.3;
    color: #999;
    display: block;
    clear: both;
    margin-top: 0;
    padding-top: 5px;
}
.type-checkout-options li label {
    margin-bottom: 0;
    color: #b2ced2;
    cursor: pointer;
    position: relative;
}
.col-lg-4 #customer-login label.form-control-label {
    text-align: left;
}
.ets-opc-checkout label.col-md-12.form-control-label {
    padding-top: 0;
}
button[name="submitCustomerLogin"]:hover {
    background: #2592a9;
}
.type-checkout-option span.checkbox label {
    text-align: left;
}
.type-checkout-option span.custom-radio {
    margin-right: 5px;
}
.type-checkout-option label.radio-inline:not(:last-child) {
    margin-right: 10px;
}
button[name="submitCustomerLogin"] {
    background: #0cb7e2;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    padding: 5px 15px;
    float: right;
    cursor: pointer;
    display: inline-block;
}
.ets-opc-checkout .input-group.col-lg-4 ~ span.ets_opc_error {
    padding-left: 15px;
}
.input-group label.input-group-addon {
    cursor: pointer;
}
.forgot-password {
    display: inline-block;
}
.forgot-password a {
    color: #0cb8e2;
    font-size: 13px;
}
div#customer-login {
    padding: 0 15px 15px;
}
.type-checkout-options li label input:checked + span,
.type-checkout-options li label:hover span {
    color: #407e89;
}
.type-checkout-options li label input {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.type-checkout-option .from-group.row {
    margin-bottom: 20px;
}
#ets-opc-checkout-form i.ets_checkbox {
    border: 1px solid #b2cdd2;
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 2px;
    vertical-align: -3px;
    margin-right: 4px;
    pointer-events: none;
}
#ets-opc-checkout-form input:checked + .ets_checkbox {
    position: relative;
}
#ets-opc-checkout-form input:disabled + .ets_checkbox {
    opacity: 0.4;
}
#ets-opc-checkout-form .ets_checkinput {
    font-weight: normal;
    text-align: left;
}
#ets-opc-checkout-form input:checked + .ets_checkbox {
    position: relative;
}
#ets-opc-checkout-form input:disabled + .ets_checkbox {
    opacity: 0.4;
}
#ets-opc-checkout-form .ets_checkinput {
    font-weight: normal;
    margin-bottom: 0;
}
.ets_checkinput input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    margin: 4px 0 0!important;
    width: 16px;
    height: 16px;
}
#ets-opc-checkout-form input:checked + .ets_checkbox:before {
    content: "";
    width: 6px;
    height: 10px;
    border-bottom: 2px solid #427e8d;
    border-right: 2px solid #427e8d;
    position: absolute;
    transform: rotate(45deg) skewX(8deg);
    -webkit-transform: rotate(45deg) skewX(8deg);
    left: 4px;
    bottom: 3px;
}
.custom-file input.form-control[type="file"] {
    opacity: 0!important;
    cursor: pointer;
}
.uploader + label.custom-file-label {
    font-size: 0;
    min-height: 27px;
    background: transparent;
    pointer-events: none;

}
.custom-file-label {
    left: 0;
    z-index: 1;
    height: 35.008px;
    height: 2.188rem;
    background-color: #fff;
    border: 1px solid #bbcdd2;
    box-shadow: none;
    text-align: left;
    padding-right: 85px!important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
@media (max-width: 479px) {
    .custom-file-label {
        white-space: normal;
        word-break: break-word;
        height: auto;
        min-height: 2.188rem;
        overflow: visible;
        text-overflow: clip;
    }
}
.custom-file-label, .custom-file-label:after {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 13.408px;
    padding: .375rem .838rem;
    line-height: 1.5;
    color: #363a41;
}
.custom-file-input {
    z-index: 2;
    margin: 0;
    opacity: 0;
}
.custom-file-input ~ .custom-file-label:after {
    content: attr(data-browser);
    font-weight: 600;
    color: #fff;
    background-color: #25b9d7;
    border-color: #25b9d7;
    box-shadow: none;
    top: -1px;
    right: -1px;
    bottom: -1px;
    height: auto;
}
.custom-file input.form-control[type="file"] {
    opacity: 0!important;
}
.custom-file .custom-file-label:after {
    font-weight: 600;
    color: #fff;
    background-color: #25b9d7;
    border-color: #25b9d7;
    box-shadow: none;
    top: -1px;
    right: -1px;
    bottom: -1px;
    height: auto;
}
.custom-file {
    position: relative;
    display: inline-block;
    max-width: 100%;
    height: 2.5rem;
    cursor: pointer;
    width: 100%;
}
@media (max-width: 479px) {
    .custom-file {
        height: auto;
        min-height: 2.5rem;
    }
}
.ets-opc-checkout label.ets_checkinput.form-error:before,
.ets-opc-checkout .checkbox.form-error:before,
.ets-opc-checkout .form-group.ets-opc-field-error label:before,
.ets-opc-checkout .form-group.ets-opc-field-error .ets_checkinput:before,
.ets-opc-checkout .form-group.ets-opc-field-error label.form-error:before{
    content: none;
    display: none;
}
.ets-opc-checkout .ets-opc-field-right,
.ets-opc-checkout .col-md-8.ets-opc-field-right,
.ets-opc-checkout .ets-passw,
.form-ok,
.form-error {
    position: relative;
}
.type-checkout-option .col-md-8.form-error:after,
.ets-opc-checkout .col-md-8.form-error:after,
.ets-opc-checkout .ets-opc-field-right.form-error:after,
.ets-opc-checkout .ets-passw.form-error:after,
.ets-opc-checkout.block-additional-info .ets-opc-field-right.form-error:after,
.type-checkout-option .col-md-8.form-ok:after,
.ets-opc-checkout .col-md-8.form-ok:after,
.ets-opc-checkout .ets-opc-field-right.form-ok:after,
.ets-opc-checkout .ets-passw.form-ok:after,
.ets-opc-checkout.block-additional-info .ets-opc-field-right.form-ok:after {
    content: none;
    display: none;
}
.type-checkout-option .col-md-8.form-error:before,
.ets-opc-checkout .col-md-8.form-error:before,
.ets-opc-checkout .ets-opc-field-right.form-error:before,
.ets-opc-checkout.block-additional-info .ets-opc-field-right.form-error:before {
    content: "+";
    font-weight: bolder;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -9px;
    line-height: 10px;
    font-size: 28px;
    height: 18px;
    width: 18px;
    display: inline-flex;
    opacity: 0.8;
    pointer-events: none;
    color: #f13340;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 3;
    justify-content: center;
    align-items: center;
}
.type-checkout-option .col-md-8.form-ok:before,
.ets-opc-checkout .col-md-8.form-ok:before,
.ets-opc-checkout .ets-opc-field-right.form-ok:before,
.ets-opc-checkout.block-additional-info .ets-opc-field-right.form-ok:before {
    content: "";
    display: block;
    width: 6px;
    height: 13px;
    border-right: 2px solid #46a74e;
    border-bottom: 2px solid #46a74e;
    position: absolute;
    right: 25px;
    top: 50%;
    margin-top: -10px;
    line-height: 1;
    pointer-events: none;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 3;
}
form#ets-opc-checkout-form.layout_2 .type-checkout-option .col-md-8.form-ok:before,
.ets-opc-checkout form#ets-opc-checkout-form.layout_2 .col-md-8.form-ok:before,
.ets-opc-checkout form#ets-opc-checkout-form.layout_2 .ets-opc-field-right.form-ok:before,
.ets-opc-checkout.block-additional-info form#ets-opc-checkout-form.layout_2 .ets-opc-field-right.form-ok:before{
    right: 28px;
}
.ets-opc-checkout .ets-opc-field-right.form-error:has(.ets-passw):before,
.ets-opc-checkout .ets-opc-field-right.form-ok:has(.ets-passw):before,
.ets-opc-checkout .col-md-8.form-error:has(.ets-passw):before,
.ets-opc-checkout .col-md-8.form-ok:has(.ets-passw):before {
    content: none;
    display: none;
}
.ets-opc-checkout .ets-opc-field-right.form-error .ets-passw:before,
.ets-opc-checkout .col-md-8.form-error .ets-passw:before {
    content: "+";
    font-weight: bolder;
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: 0;
    line-height: 10px;
    font-size: 28px;
    height: 10px;
    opacity: 0.8;
    pointer-events: none;
    color: #f13340;
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
    z-index: 4;
}
.ets-opc-checkout .ets-opc-field-right.form-ok .ets-passw:before,
.ets-opc-checkout .col-md-8.form-ok .ets-passw:before {
    content: "";
    display: block;
    width: 6px;
    height: 13px;
    border-right: 2px solid #46a74e;
    border-bottom: 2px solid #46a74e;
    position: absolute;
    right: 49px;
    top: 50%;
    margin-top: 0;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
    z-index: 4;
}
.ets-opc-checkout .form-error.has_input_group:not(:has(.ets-passw)):before,
.ets-opc-checkout .form-ok.has_input_group:not(:has(.ets-passw)):before {
    right: 52px;
    z-index: 4;
}
.ets-opc-checkout .form-error.has_number_group:before,
.ets-opc-checkout .form-ok.has_number_group:before {
    right: 36px;
    z-index: 4;
}
.col-md-8.ets-opc-field-right .input-group.col-lg-4 {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}
.ets-opc-checkout .ets-passw .input-group-btn,
.ets-opc-checkout .ets-passw .input-group-append {
    opacity: 1;
    visibility: visible;
}
#checkout .form-ok svg,
#checkout .form-ok svg {
    fill: #46a74e !important;
}
.input-group.js-parent-focus.ets-passw.form-ok span.input-group-btn,
.input-group.js-parent-focus.ets-passw.form-ok span.input-group-append {
    opacity: 1;
    display: inline-block;
}
.ets-opc-checkout .ets-opc-field-right.form-error:has(.ets-passw) input.form-control,
.ets-opc-checkout .ets-opc-field-right.form-ok:has(.ets-passw) input.form-control,
.ets-opc-checkout .col-md-8.form-error:has(.ets-passw) input.form-control,
.ets-opc-checkout .col-md-8.form-ok:has(.ets-passw) input.form-control {
    padding-right: 60px !important;
}
.type-checkout-option .input-group.ets-passw > input.form-control {
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent;
}
.ets-opc-checkout .col-md-8.form-error input.form-control,
.ets-opc-checkout .col-md-8.form-ok input.form-control,
.ets-opc-checkout .ets-opc-field-right.form-error input.form-control,
.ets-opc-checkout .ets-opc-field-right.form-ok input.form-control {
    padding-right: 32px !important;
}
