﻿.bg-modal-dark {
    /*background-color: #181818 !important;*/
    background-color: #fff !important;
    height: 100%;
    min-height: 655px;
    max-height: 655px !important;
    border-radius: 1rem;
}

    .bg-modal-dark .modal-header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 1rem 1rem;
        border-bottom: 1px solid #fff !important;
        /* Safari 10 might have issues with calc() */
        border-top-left-radius: 0.3rem;
        border-top-right-radius: 0.3rem;
    }

    .bg-modal-dark .back-modal {
        color: #000;
        font-size: 1.3rem;
        transition: all 0.25s ease-in-out;
        opacity: 0.5;
    }

        .bg-modal-dark .back-modal:hover {
            color: #000;
            opacity: 1;
        }

    .bg-modal-dark .modal-footer {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding: 1rem;
        border-top: 1px solid #fff !important;
        /* Safari 10 might have issues with calc() */
        border-bottom-right-radius: 0.3rem;
        border-bottom-left-radius: 0.3rem;
    }

    .bg-modal-dark .modal-header .close {
        padding: 1rem 1rem;
        margin: -1rem -1rem -1rem auto;
        color: #000;
        font-size: 2rem;
        font-weight: 300;
        line-height: 0.85;
    }

    .bg-modal-dark .modal-body h5, .bg-modal-dark h5.titleh5 {
        font-size: 1.88rem;
        font-weight: 600;
        color: #000000;
        text-align: center;
        margin-bottom: 0.2rem;
    }
.modal-body {
    max-width: 386px;
    width: 100%;
}
.modal-xl-body {
    max-width: 1140px;
    width: 100%;
}

.modal-body p {
    font-size: 1rem;
    font-weight: 400;
    /*color: #B5B5B5;*/
    color: #000000;
    text-align: center;
}

.modal-body2 p {
    font-size: 0.8rem;
    font-weight: 400;
    /*color: #B5B5B5;*/
    color: #000000;
    text-align: center;
}

.modal-body ol li {
    font-size: 1rem;
    font-weight: 400;
    color: #B5B5B5;
    text-align: left;
    display: block;
    margin-bottom: 0.5rem;
}

    .modal-body ol li:last-child {
        font-size: 1rem;
        font-weight: 400;
        color: #B5B5B5;
        text-align: left;
        display: block;
        margin-bottom: 1.5rem;
    }

.modal-body .btn-login-tel {
    background-color: #00AFAB;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.modal-body .btn-login-email {
    background-color: #0F246C;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}
/*ส่วนตัว register*/
.modal-body .btn-login-facebook {
    background-color: #1877f2;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

#regiter-mobileInput, #inlineFormInputregister, #inlinInputregisterpassword, #inlinInputregisterpassword1, #inlineFormInputemailregister, #forget-emailInput, #inlinInputforgetpassword, #inlinInputforgetpassword1 {
    font-size: 1rem;
    background-color: #fff !important;
    color: #000;
    border: 0.5px solid #000000;
    border-radius: 50px;
    height: 50px;
}

    #regiter-mobileInput::placeholder, #inlineFormInputregister ::placeholder, #inlinInputregisterpassword::placeholder, #inlinInputregisterpassword1 ::placeholder, #inlineFormInputemailregister ::placeholder, #forget-emailInput::placeholder, #inlinInputforgetpassword ::placeholder, #inlinInputforgetpassword ::placeholder {
        color: #a1a1a1;
    }

.tex-center {
    text-align: center;
    margin: auto;
}

.cond-pass ul {
    font-size: 0.75rem;
    text-align: left;
    margin-bottom: 0.5rem;
    color: #B5B5B5;
}

    .cond-pass ul li {
        font-size: 0.75rem;
        text-align: left;
        margin-bottom: 0.5rem;
        color: #B5B5B5;
    }

        .cond-pass ul li::before {
            font-family: fontAwesome;
            content: '\f058';
            margin-right: 5px;
            color: #bfbfbf;
        }

        .cond-pass ul li.valid::before {
            font-family: fontAwesome;
            content: '\f058';
            color: #4cff00;
            margin-right: 5px;
        }

.terms-container {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
}

.checkbox-wrapper-46 input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper-46 .cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    transition: 0.3s;
}

    .checkbox-wrapper-46 .cbx span {
        display: inline-block;
        vertical-align: middle;
        transform: translate3d(0, 0, 0);
        transition: 0.3s;
    }

        .checkbox-wrapper-46 .cbx span:first-child {
            position: relative;
            width: 22px;
            height: 22px;
            border-radius: 3px;
            transform: scale(1);
            vertical-align: middle;
            border: 1px solid #000000;
            transition: all 0.2s ease;
        }

            .checkbox-wrapper-46 .cbx span:first-child svg {
                position: absolute;
                top: 5px;
                left: 4px;
                fill: none;
                stroke: #FFFFFF;
                stroke-width: 2;
                stroke-linecap: round;
                stroke-linejoin: round;
                stroke-dasharray: 16px;
                stroke-dashoffset: 16px;
                transition: all 0.3s ease;
                transition-delay: 0.1s;
                transform: translate3d(0, 0, 0);
            }

            .checkbox-wrapper-46 .cbx span:first-child:before {
                content: "";
                width: 100%;
                height: 100%;
                background: #000000;
                display: block;
                transform: scale(0);
                opacity: 1;
                border-radius: 50%;
                transition: 0.3s;
            }

        .checkbox-wrapper-46 .cbx span:last-child {
            padding-left: 8px;
            transition: 0.3s;
        }

    .checkbox-wrapper-46 .cbx:hover span:first-child {
        border-color: #000000;
    }

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
    background: #000000;
    border-color: #000000;
    animation: wave-46 0.4s ease;
}

    .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
        transition: 0.3s;
        stroke-dashoffset: 0;
    }

    .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
        transform: scale(3.5);
        opacity: 0;
        transition: all 0.6s ease;
    }

.text-green {
    color: #007bff !important;
    transition: 0.3s;
}

    .text-green:hover {
        color: #0F246C !important;
    }

.disabled, .disable {
    pointer-events: none !important;
    cursor: default !important;
}

.bg-platinum {
    /*background: linear-gradient(256deg, rgba(0, 175, 171, 1) 10%, rgba(0, 175, 118, 1) 80%);*/
    /*     background: #000000;*/
    background: #03c78d ;
    /*color: #FFFFFF !important;*/
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 22px;
    padding: 7px 24px !important;
    transition: 0.3s;
}

    .bg-platinum:hover {
        /* color: #eee !important;*/
        color: #fff !important;
        /*background: linear-gradient(256deg, rgb(0, 110, 108) 10%, rgb(0, 110, 108) 90%);*/
        background: #02b882;
        /*background: #0F246C;*/
    }

span.login--icon {
    width: 10px;
    color: #FFF;
}

#inlineFormInputGroup2, #promotion_code, #mobile-payment, #input-otp, #input-otp-pm, #input-otp-register, #input-otp-forget {
    font-size: 14px;
    background-color: #ffffff79 !important;
    color: #000000;
    /*     border: 0;*/
    border-radius: 30px;
    height: 40px;
    width: 100%;
}

#input-otp, #input-otp-pm, #input-otp-register, #input-otp-forget {
    height: 50px;
    font-size: 200%;
}

    #inlineFormInputGroup2::placeholder,
    #promotion_code::placeholder,
    #mobile-payment::placeholder,
    #input-otp::placeholder,
    #input-otp-register::placeholder,
    #input-otp-forget::placeholder,
    #input-otp-pm::placeholder {
        color: #464646;
    }

    #input-otp:hover, #input-otp:focus,
    #input-otp-pm:hover, #input-otp-pm:focus,
    #input-otp-register:hover, #input-otp-register:focus, #input-otp-forget:focus {
        border: 1px solid #777676;
    }


/*--------------------*/
.modal-body .btn-login-regis {
    color: #007bff !important;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    cursor:pointer !important;
}

    .modal-body .btn-login-regis:hover {
        color: #0F246C !important;
        font-size: 1rem;
        font-weight: 600;
    }

    .modal-body .btn-login-regis.disabled {
        color: #B5B5B5 !important;
        font-size: 1rem;
        font-weight: 600;
    }

.modal-body2 .btn-login-regis2 {
    color: #000000 !important;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

    .modal-body2 .btn-login-regis2:hover {
        color: #0F246C !important;
        font-size: 0.8rem;
        font-weight: 600;
    }

#inlineFormInputGroup, #inlineFormInputGroupPass, #inlineFormInputGroupPass1, #inlineFormInputGroupPass2, #inlineFormInputGroupPass3, #inlineFormInputGroupPass4, #inlineFormInputGroupPass5, #inlineFormInputGroupPass6, #inlineFormInputGroupPass7, #inlineFormInputGroupPass8, #inlineFormInputGroupPass9 {
    font-size: 1rem;
    background-color: #ffffff !important;
    color: #000;
    border: 0.5px solid #ced4da;
    border-radius: 50px;
    height: 50px;
}

    #inlineFormInputGroup::placeholder, #inlineFormInputGroupPass::placeholder, #inlineFormInputGroupPass1::placeholder, #inlineFormInputGroupPass2::placeholder, #inlineFormInputGroupPass3::placeholder, #inlineFormInputGroupPass4::placeholder, #inlineFormInputGroupPass5::placeholder, #inlineFormInputGroupPass6::placeholder, #inlineFormInputGroupPass7::placeholder, #inlineFormInputGroupPass8::placeholder, #inlineFormInputGroupPass9::placeholder {
        color: #a1a1a1;
    }

.field-icon {
    position: absolute;
    z-index: 2;
    color: #000;
    opacity: 0.5;
    right: 15px;
    top: 16.5px;
}

.btn-submit {
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 3.7rem !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.39;
    width: 100%;
    font-family: 'Kanit';
}

.otp-field {
    flex-direction: row;
    column-gap: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

    .otp-field input {
        height: 45px;
        width: 45px;
        border-radius: 50px;
        outline: none;
        font-size: 1.125rem;
        text-align: center;
        border: 1px solid #000;
        background: #000;
        color: rgba(255, 255, 255, 0.626)
    }

        .otp-field input:focus {
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
        }

        .otp-field input::-webkit-inner-spin-button,
        .otp-field input::-webkit-outer-spin-button {
            display: none;
        }

.input-otp {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin: 0 0 3px;
    padding: 10px 10px;
    font-family: inherit;
    font-size: 15px;
    line-height: 26px;
    font-weight: inherit;
    color: #6d6d6d;
    background-color: #000 !important;
    border: 1px solid #f5f5f3;
    border-radius: 0;
    box-sizing: border-box;
    outline: 0;
    cursor: pointer;
    transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
    border-radius: 50px !important;
}

.ref-otp {
    font-size: 0.71rem !important;
    font-weight: 300;
    color: #B5B5B5;
    padding-right: 8px;
}

.cond-pass p {
    font-size: 0.75rem;
    text-align: left;
    margin-bottom: 0.5rem;
    color: #B5B5B5;
}

.field-icon-2 {
    position: absolute;
    z-index: 2;
    color: #fff;
    opacity: 0.5;
    right: 15px;
    top: 44px;
}

.field-icon-22 {
    position: absolute;
    z-index: 2;
    color: #fff;
    opacity: 0.5;
    right: 15px;
    top: 44px;
}

.field-icon-3 {
    position: absolute;
    z-index: 2;
    color: #fff;
    opacity: 0.5;
    right: 15px;
    top: 35.5px;
}

.btn.disabled, .btn:disabled {
    opacity: 1;
    background: #D3D3D3;
}

.text-policy-1 {
    color: #000000;
    /*    color: #093769;*/
    font-size: 1rem;
}

.text-policy {
    color: #FFF;
    font-size: 12px;
}

.checkbox-wrapper-46 .cbx {
    margin: 0;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.box-verify-policy {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.alert-primary {
    color: #000 !important;
    background-color: #ffd4d8 !important;
    border-color: #3B3B3B !important;
}

.alert {
    position: relative !important;
    padding: 0.65rem 1.25rem !important;
    margin: 0 !important;
    font-size: 0.86rem !important;
    border: 1px solid #fff !important;
    border-radius: 0.25rem !important;
}

.checkbox-wrapper-46 .cbx span {
    display: block;
    text-align: left;
    transform: translate3d(0, 0, 0);
}

    .checkbox-wrapper-46 .cbx span:first-child {
        position: relative;
        width: 22px !important;
        height: 22px !important;
        border-radius: 3px;
        transform: scale(1);
        vertical-align: middle;
        border: 1px solid #000000;
        transition: all 0.2s ease;
    }

        .checkbox-wrapper-46 .cbx span:first-child svg {
            position: absolute;
            top: 5px;
            left: 4px;
            fill: none;
            stroke: #FFFFFF;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 16px;
            stroke-dashoffset: 16px;
            transition: all 0.3s ease;
            transition-delay: 0.1s;
            transform: translate3d(0, 0, 0);
        }

        .checkbox-wrapper-46 .cbx span:first-child:before {
            content: "";
            width: 22px !important;
            height: 22px !important;
            background: #000000;
            display: block;
            transform: scale(0);
            opacity: 1;
            border-radius: 50%;
            transition: 0.3s;
        }

ol {
    counter-reset: item
}

li {
    display: block
}

    li:before {
        content: counters(item, ".") ". ";
        counter-increment: item
    }

ol.none-list li:before {
    content: none;
    counter-increment: item
}

}

.section-CNUSER {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.bg-modal-dark-none {
    background-color: #fff !important;
    height: 100%;
    min-height: unset !important;
    max-height: unset !important;
}

.bg-modal-dark-676 {
    background-color: #fff !important;
    height: 100%;
    min-height: unset !important;
    max-height: 676px !important;
}


    .bg-modal-dark-830 {
        background-color: #fff !important;
        height: 100%;
        min-height: unset !important;
        max-height: 650px ;
        overflow-x: auto !important;
    }

    .pad-complete {
        padding: 4.5rem 0 6rem;
    }

    .modal-open {
        overflow: auto !important;
    }

    .modal-open {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

        .modal-open .modal {
            padding-right: 0 !important;
        }

    .modal {
        z-index: 999999 !important;
        padding-right: 0 !important;
    }

    h5.titleh52 {
        font-size: 2rem;
        font-weight: 600;
        color: #fff;
        text-align: center;
        margin-bottom: 0.65rem;
    }

    h5.modal-title > span {
        font-size: 1.563rem;
        font-weight: 600;
        color: #000000;
        text-align: center;
        margin-bottom: 0.65rem;
    }

    h6.titleh6 {
        font-size: 1.758rem;
        font-family: 'Kanit' !important;
        font-weight: 400;
        color: #000;
        text-align: center;
        margin-bottom: 0.65rem;
    }

    p.content-text {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
        color: #B5B5B5;
    }

    html.pop-up-login {
        font-size: 16px !important;
    }

        html.pop-up-login body {
            padding-right: 0 !important;
        }

    .logo-left {
        height: 60px !important;
        padding-left: 8% !important;
        padding-right: 8% !important;
    }

    @media (max-width: 768px) {
        html.pop-up-login {
            font-size: 14px !important;
        }
    }

    @media (max-width: 575px) {
        html.pop-up-login {
            font-size: 13px !important;
        }

        .logo-left {
            padding-top: 4% !important;
            padding-left: 8% !important;
            padding-right: 8% !important;
            height: 48px !important;
            margin-top: 0 !important;
        }

        .section-CNUSER {
            display: flex;
            justify-content: center;
            padding: 1rem 0;
        }

        .bg-modal-dark {
            .modal-body

{
    margin-bottom: 3rem;
    padding: 1.5rem;
}

.modal-body .btn-login-tel {
    background-color: #00AFAB;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 4rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.modal-body .btn-login-email {
    background-color: #0F246C;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 4rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.otp-field input {
    height: 35px;
    width: 35px;
    border-radius: 50px;
    outline: none;
    font-size: 1.125rem;
    text-align: center;
    border: 1px solid #000;
    background: #000;
    color: rgba(255, 255, 255, 0.626);
}

.otp-field {
    flex-direction: row;
    column-gap: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.field-icon-22 {
    position: absolute;
    z-index: 2;
    color: #fff;
    opacity: 0.5;
    right: 15px;
    top: 40px;
}

.field-icon-3 {
    position: absolute;
    z-index: 2;
    color: #fff;
    opacity: 0.5;
    right: 15px;
    top: 33px;
}

}

.bg-modal-dark-none > .modal-body,
.bg-modal-dark-676 > .modal-body,
.bg-modal-dark-830 > .modal-body {
    margin-bottom: 0;
}

}

@media (max-width: 375px) {
    .bg-modal-dark {
        .modal-body .btn-login-tel

{
    background-color: #00AFAB;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.modal-body .btn-login-email {
    background-color: #0F246C;
    border-radius: 50px;
    display: block;
    margin: auto;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}



/* 🖥️ มอนิเตอร์ใหญ่: มากกว่า 1366px */
@media screen and (min-width: 1367px) {
    .bg-modal-dark-830 {
        background-color: #fff !important;
        height: 100%;
        min-height: unset !important;
        max-height: 780px !important;
        overflow-x: hidden !important;
    }
}

.popup-register {
    max-width: 1052px !important;
    margin: 0.75rem auto !important;
}

.bg-modal-dark .modal-header {
    display: none !important;
}

