﻿@charset "utf-8";

body.modal-open{
    padding-right: 0px !important
}
.modal {
    font-family: Kanit,sans-serif !important;
    color: #6b6b6b !important;
}

.login-popup {
    padding-top: 35rem;
    height: 580px !important;
    background: floralwhite;
    padding: 20px 26px !important;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 450px !important;
    margin: auto;
    margin-top: 50px !important;
    border: 2px solid #ccc;
    border-radius: 10px;
    width: 100%;
}

 .login-popup , .mem_login-popup-sub ,.mem_login-popup-sub2, .PDPA-login-popup-Content {
    font-family: 'Kanit-Light' !important;
    font-size: 14px;
}

.PDPA-login-popup-Content h3 {
    font-family: 'Kanit' !important;
}
    .mem_login-popup-sub h2 ,.mem_login-popup-sub2 h2 {
    font-family: 'Kanit-Medium' !important;
}

.controls-icon {
    display: flex;
    justify-content: space-between;
    width: 720px;
    max-width: 720px;
}

.mem_login-popup-sub {
    padding-top: 20rem;
    height: 620px !important;
    background: floralwhite;
    padding: 20px 26px !important;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 450px !important;
    margin: auto;
    margin-top: 50px !important;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.mem_login-popup-sub2 {
    padding-top: 20rem;
    height: 660px !important;
    background: floralwhite;
    padding: 20px 26px !important;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 450px !important;
    margin: auto;
    margin-top: 50px !important;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.PDPA-login-popup-Content {
    padding-top: 20rem;
    height: 665px !important;
    background: floralwhite;
    padding: 20px 26px !important;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 950px !important;
    margin: auto;
    margin-top: 50px !important;
}

.terms-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
}

.btn2 {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn2-primary {
    border: none;
    color: white !important;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    width: 370px;
    max-width: 360px;
    height: 60px;
    width: 100%;
    cursor: pointer;
}
.social-login-buttons {
    display: flex;
    flex-direction: column;
  /*  gap: 16px;*/
    max-width: 355px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.regist-login a.disabled {
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.btnpop-primary {
    display: inline-flex;
    width: 100%;
    padding: 16px 56px;
    align-items: center;
    gap: 20px;
    color: #FFF !important;
    font-size: 18px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.35s ease-in-out;
}

.Headlogin {
    font-family: 'Kanit-Medium';
    /* font-size:32px; */
    color: #00457d;
    margin-bottom: 2px
}


/*edit by pai 2025/03/05*/ 
/*.icon {
    width: 20px;
    height: 18px;
    padding: 1px 3px;
    margin-right: 7px;
}*/
/*edit by pai 2025/03/05*/

span.popup--icon {
    width: 10px;
    color: #FFF;
}


.login-hepp {
    text-align: center;
    /* top: -10px; */
    position: relative;
}

.btn-primary2 {
    margin: auto;
}
.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .input-icon input {
        padding-left: 30px; /* ปรับระยะห่างด้านซ้ายเพื่อให้มีพื้นที่สำหรับ icon */
    }
.input-groupp {
    position: relative;
    margin-bottom: 10px;
    align-items: center;
    /*    display: table;*/
    display: flex;
    /* width: 350px;*/
    max-width: 350px;
    border-collapse: separate;
}

    .input-groupp .input-groupp-text {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-62%);
        cursor: pointer;
        margin-left: -30px;
    }

    .input-groupp input[type="password"] {
        padding-right: 30px;
        flex: 1;
        padding: 5px;
    }


.checker ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-left: 0px;
}

    .checker ul li {
        position: relative;
        list-style: none;
        font-size: 0.85em;
        transition: 0.5s;
    }

        .checker ul li::before {
            font-family: fontAwesome;
            content: '\f058';
            margin-right: 5px;
            color: #bfbfbf;
        }

        .checker ul li.valid::before {
            font-family: fontAwesome;
            content: '\f058';
            color: #4cff00;
            margin-right: 5px;
        }

.input-invalid {
    border-color: red !important;
}

.login-helpp a {
    font-size:initial;
}

 .login-popup a , .mem_login-popup-sub a,.mem_login-popup-sub2 a, .PDPA-login-popup-Content a {
    font-size: 14px;
}

.mem_login-popup-sub-email {
    padding-top: 20rem;
    height: 250px !important;
    background: floralwhite;
    padding: 20px 26px !important;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 450px !important;
    margin: auto;
    margin-top: 230px !important;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: x-large;
}

.mem_login-popup-sub-email2 {
    padding-top: 20rem;
    height: 270px !important;
    background: floralwhite;
    padding: 20px 26px !important;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 450px !important;
    margin: auto;
    margin-top: 230px !important;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: large;
}
& .modal-body .btn-login-regis {
    color: #00AFAB;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

    & .modal-body .btn-login-regis:hover {
        color: #008a88 !important;
        font-size: 1rem;
        font-weight: 600;
    }

.loadwait-popup {
    z-index: 9999 !important;
    padding-top: 20rem;
    /* height: 250px !important; */
    background: floralwhite;
    padding: 20px 26px !important;
    /* display: flex; */
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    max-width: 250px !important;
    margin: auto;
    margin-top: 50% !important;
    /* border: 2px solid #ccc; */
    border-radius: 10px;
    width: 84%;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(230, 230, 230, .3);
    border-radius: 50%;
    border-top-color: #3dc9e5;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/*@media screen and (max-width: 768px) {
    .login-popup {
        width: 90%;
        height: auto;
    }
    .btn2-primary {
        width: 300px;
        height: 50px;
    }
}*/
@media screen and (max-width: 768px) {
    .login-popup, .mem_login-popup-sub{
        width: 95%;
        padding: 20px;
        height: 70%;
    }
    .mem_login-popup-sub2 {
        width: 95%;
        padding: 20px;
        height:auto;
    }
    .PDPA-login-popup-Content {
        width: 95%;
        padding: 20px;
        height: 80% !important;
    }
    .terms-container {
        width: 100%;
        height: auto;
    }

    .btn2-primary {
        width: 100%;
        height: auto;
    }

    .Headlogin {
        font-size: 23px !important;
    }
    /*edit by pai 2025/03/20*/ 
    /*.icon {
        width: 16px; 
        height: 14px;
        padding: 1px 2px;
        margin-right: 5px;
    }*/
    /*edit by pai 2025/03/20*/ 
    .controls-icon {
        width: 540px;
/*        padding: 20px;*/
    }

    .login-hepp {
        font-size: 14px; 
        padding: 15px 0; 
    }

        .login-hepp a {
            padding: 5px 0; 
        }
}
@media screen and (max-width: 390px) {
    .btnpop-primary {
        padding: 16px 40px;
    }
}

@media screen and (max-width: 380px) {
    .btnpop-primary {
        padding: 16px 38px;
    }
}

@media screen and (max-width: 375px) {
    .btnpop-primary {
        padding: 16px 36px;
    }
}

@media screen and (max-width: 374px) {
    .btnpop-primary {
        font-size: 16px;
    }
}

@media screen and (max-width: 349px) {
    .btnpop-primary {
        font-size: 15px;
    }
}
@media screen and (max-width: 412px) {
    .btnpop-primary {
        padding: 16px 36px;
    }
}
.bi-x-lg{
    -webkit-text-stroke: 2px;
    color: #808080;
}
.bi-chevron-left{
    -webkit-text-stroke: 2px;
    color: #808080;
}

input#fuc_password1 , input#fuc_password2 {
    margin-bottom: 10px;
}