.bg-modal-dark{
    background-color: #ffffff !important;
    height: 100%;
    min-height: 655px; 
    max-height: 655px !important;

    & .modal-header {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 1rem 1rem;
        border-bottom: 1px solid #ffffff !important;
        border-top-left-radius: calc(0.3rem - 1px);
        border-top-right-radius: calc(0.3rem - 1px);
    }
    & .back-modal{
        color: #fff;
        font-size: 1.3rem;
        transition: all 0.25s ease-in-out;
        opacity: 0.5;
    }
    & .back-modal:hover{
        color: #fff;
        opacity: 1;
    }
    & .modal-footer {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding: 1rem;
        border-top: 1px solid #ffffff !important;
        border-bottom-right-radius: calc(0.3rem - 1px);
        border-bottom-left-radius: calc(0.3rem - 1px);
    }
    & .modal-header .close {
        padding: 1rem 1rem;
        margin: -1rem -1rem -1rem auto;
        color: #05121A;
        font-size: 2rem;
        font-weight: 300;
        line-height: 0.85;
    }
    & .modal-body h5,h5.titleh5,div.titleh5{
        font-size: 1.88rem;
        font-weight: 600; 
        color: #0F4486;
        text-align: center;
        margin-bottom: 0.325rem;
    }
    & .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: #666666;
        text-align: center;
    }
    & .modal-body ol li {
        font-size: 1rem;
        font-weight: 400; 
        color: #666666; 
        text-align: left;
        display: block; 
        margin-bottom: 0.5rem; 
    }
    & .modal-body ol li:last-child {
        font-size: 1rem;
        font-weight: 400; 
        color: #666666; 
        text-align: left;
        display: block; 
        margin-bottom: 1.5rem;
    }
    & .modal-body .btn-login-tel{
        background-color: #0F4486;
        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, #inlinInputbindpassword, #inlinInputbindpassword1, #bind-mobileInput {
    font-size: 1rem;
    background-color: #D8E8FB !important;
    color: #000000 !important;
    border: 0;
    border-radius: 50px;
    height: 40px;
}

    & #regiter-mobileInput::placeholder, #inlineFormInputregister ::placeholder, #inlinInputregisterpassword::placeholder, #inlinInputregisterpassword1 ::placeholder, #inlineFormInputemailregister ::placeholder, #forget-emailInput::placeholder, #inlinInputforgetpassword ::placeholder, #inlinInputforgetpassword ::placeholder, #inlinInputbindpassword ::placeholder, #inlinInputbindpassword1 ::placeholder, #bind-mobileInput ::placeholder {
        color: #a1a1a1;
    }

.cond-pass ul {
    font-size: 0.75rem;
    text-align: left;
    margin-bottom: 0.5rem;
    color: #666666;
}

    .cond-pass ul li {
        font-size: 0.75rem;
        text-align: left;
        margin-bottom: 0.5rem;
        color: #666666;
    }

        .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: #666666;
    }
/*--------------------*/
    & .modal-body .btn-login-regis{
        color: #0F4486;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
    }
    & .modal-body .btn-login-regis:hover{
        color: #8ca9ce !important;
        font-size: 1rem;
        font-weight: 600;
    }
& #inlineFormInputGroup, #inlineFormInputGroupPass, #inlineFormInputGroupPass1, #inlineFormInputGroupPass2, #inlineFormInputGroupPass3, #inlineFormInputGroupPass4, #inlineFormInputGroupPass5, #inlineFormInputGroupPass6, #inlineFormInputGroupPass7, #inlineFormInputGroupPass8, #inlineFormInputGroupPass9 {
    font-size: 1rem;
    background-color: #D8E8FB !important;
    color: #000000 !important;
    border: 0;
    border-radius: 50px;
    height: 40px;
}
    & #inlineFormInputGroup::placeholder, #inlineFormInputGroupPass::placeholder
    , #inlineFormInputGroupPass1::placeholder, #inlineFormInputGroupPass2::placeholder
    , #inlineFormInputGroupPass3::placeholder, #inlineFormInputGroupPass4::placeholder
    , #inlineFormInputGroupPass5::placeholder, #inlineFormInputGroupPass6::placeholder
    , #inlineFormInputGroupPass7::placeholder, #inlineFormInputGroupPass8::placeholder
    , #inlineFormInputGroupPass9::placeholder {  
        color: #a1a1a1;
        font-size: 1rem;
    }
    & .field-icon {
        position: absolute;
        z-index: 2;
        color: #fff;
        opacity: 0.5;
        right: 15px;
        top: 12.5px;
    }
    & .btn-submit{
        background-color: #0F4486 !important;
        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,sans-serif;
    }
    & .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:#666666;
        padding-right: 8px;
    }
    & .cond-pass p{
        font-size: 0.75rem;
        text-align: left;
        margin-bottom: 0.5rem;
        color: #666666;
    }
    & .field-icon-2 {
        position: absolute;
        z-index: 2;
        color: #fff;
        opacity: 0.5;
        right: 15px;
      /*  top: 44px;*/
        top: 35.5px;
    }
    & .field-icon-22 {
        position: absolute;
        z-index: 2;
        color: #fff;
        opacity: 0.5;
        right: 15px;
       /* top: 44px;*/
        top: 35.5px;
    }
    & .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 !important;
    }
    & .text-policy-1 {
        color: #666666;
        font-size: 0.75rem; 
    }
    & .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: #000000 !important;
        background-color: rgb(0 175 171 / 5%) !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 #045554 !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 #0F4486;
        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: #0F4486;
        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: #ffffff !important;
    height: 100%;
    min-height: unset !important;
    max-height: unset !important;
}
.bg-modal-dark-676 {
    background-color: #ffffff !important;
    height: 100%;
    min-height: unset !important;
    max-height: 676px !important;
}
.bg-modal-dark-830 {
    background-color: #ffffff !important;
    height: 100%;
    min-height: unset !important;
    max-height: 830px !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: #0F4486;
    text-align: center;
    margin-bottom: 0.65rem;
}
h5.modal-title > span,
div.modal-title > span {
    font-size: 1.563rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 0.65rem;
}
h6.titleh6,div.titleh6 {
    font-size: 1.865rem; /*edit by aun 2025/03/25*/
    font-family: 'Kanit' !important;
    font-weight: 600;
    color: #000000 !important;
    text-align: center;
    margin-bottom: 0.65rem;
    /*end edit by aun 2025/03/25*/
}
p.content-text {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #666666;
}
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;
    }
    h5.modal-title > span,
    div.modal-title > span {
        /*font-size: 1.563rem;*/
        font-size: 1.450rem;
        font-weight: 600;
        color: #fff;
        text-align: center;
        margin-bottom: 0.65rem;
    }
    .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: #0F4486;
            border-radius: 50px;
            display: block;
            margin: auto;
         /*   padding: 1rem 4rem;
            font-size: 1.125rem;*/
            /*padding: 1rem 4rem;*/
            font-size: 1.05rem;
            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;*/
            top: 35.5px;
        }
        & .field-icon-3 {
            position: absolute;
            z-index: 2;
            color: #fff;
            opacity: 0.5;
            right: 15px;
            /*top: 33px;*/
            top: 35.5px;
        }
    }
    .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) {
    h5.modal-title > span,
    div.modal-title > span {
        /*font-size: 1.563rem;*/
        font-size: 1.450rem;
        font-weight: 600;
        color: #fff;
        text-align: center;
        margin-bottom: 0.65rem;
    }
    .bg-modal-dark{
        & .modal-body .btn-login-tel{
            background-color: #0F4486;
            border-radius: 50px;
            display: block;
            margin: auto;
/*            padding: 1rem 3rem;
            font-size: 1.125rem;
            font-weight: 600;*/
            /*padding: 1rem 3rem;*/
            font-size: 0.98rem;
            font-weight: 500;
            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;
        }
    }
}

.tex-center {
    text-align: center;
    margin: auto;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    appearance: none;
}

.text-blue {
    color: #0F4486 !important
}

.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}

#inlineFormInputGroup2, #promotion_code, #mobile-payment, #input-otp, #input-otp-pm, #input-otp-register, #input-otp-forget, #input-otp-bind {
    font-size: 14px;
    background-color: #D8E8FB !important;
    color: #212529;
    border: 0;
    border-radius: 30px;
    height: 40px;
    width: 100%;
}

#input-otp, #input-otp-pm, #input-otp-register, #input-otp-forget, #input-otp-bind {
    height: 75px;
    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
    #input-otp-bind::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, #input-otp-bind :focus{
        border: 3px solid #777676;
    }
.disabled, .disable {
    pointer-events: none !important;
    cursor: default !important;
}

#btn_otp_pm_again.disabled {
    color: #666666 !important
}

.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 #0F4486;
            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: #0F4486;
                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: #0F4486;
    }

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
    background: #0F4486;
    border-color: #0F4486;
    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;
    }

@keyframes wave-46 {
    50% {
        transform: scale(0.9);
    }
}

@media (max-width: 991px) {
    .card-payment {
        padding: 50px 40px;
    }

    #inlineFormInputGroup::placeholder {
        font-size: 14px;
    }

    .name-label-2 {
        text-align: center;
        background-color: #c8c8c8;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .detail-label-2 {
        text-align: center;
        background-color: #fff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .text-policy {
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    .package-name-head-text {
        font-size: 20px;
    }

    .payment-head-text {
        text-align: center;
        font-size: 40px;
    }

    #inlineFormInputGroup::placeholder {
        font-size: 12px;
    }

    .select-head-text {
        font-size: 16px;
    }

    .text-policy {
        font-size: 16px;
    }

        .text-policy br {
            display: block;
        }

    .text-note {
        font-size: 16px !important;
    }
}

@media (max-width: 575px) {

    .package-name-head-text {
        font-size: 16px;
    }
}

@media (max-width: 519px) {
    .select-head-text {
        font-size: 14px;
    }
}

@media (max-width: 498px) {
    .btn-sub4 span {
        font-size: 14px;
    }

    .card-payment {
        padding: 50px 20px;
    }

    .icon-payment {
        font-size: 16px;
    }
}

@media (max-width: 463px) {
    .btn-sub4 span {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (max-width: 439px) {

    .btn-sub4 span {
        padding: 6px 10px;
    }

    .btn-in-input span {
        font-size: 12px;
    }

    #inlineFormInputGroup {
        height: 36px;
    }
}

@media (max-width: 420px) {
    .checkbox-wrapper-46 .cbx span:last-child {
        padding-left: 4px;
    }

    .text-policy {
        font-size: 14px;
    }

    .text-note {
        font-size: 14px !important;
    }
}

@media (max-width: 381px) {
    .btn-sub4 span {
        padding: 6px 5px;
    }
}

@media (max-width: 376px) {
    .text-policy {
        font-size: 12px;
    }

    .text-note {
        font-size: 12px !important;
    }
}

