@import url("https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    font-family: var(--bs-font-secondary);
    font-weight: normal;
    font-size: 1rem;
    color: white;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--bs-font-primary);
}

.font-pri {
    font-family: var(--bs-font-primary);
}
.font-sec {
    font-family: var(--bs-font-secondary);
}

.logo-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    /* position: relative; */
}
.logo-login {
    margin-top: 85px;
    width: 70%;
    /* position: absolute;
    top: 30%; */
}
.form-wrapper {
    margin-top: 85px;
    padding: 50px;
    /* background-color: #263fa3f0; */
    border-radius: 25px;
    width: 70%;
}
.form-wrapper.form-register {
    background-color: #212f69e8;
}
.bg-login {
    position: relative;
    background-image: url("../images/bg/login_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% 0%;
}

.cursor-pointer {
    cursor: pointer;
}

.fs-smaller {
    font-size: 0.9rem;
}
.error {
    color: #dc3545 !important;
}
/*
|--------------------------------------------------------------------------
| font weight
|--------------------------------------------------------------------------
*/

.fw-700 {
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| form control
|--------------------------------------------------------------------------
*/
.form-control {
    background-color: unset;
    color: #ffffff;
    border-color: #ffffff;
}
.form-control::placeholder {
    color: #b7b7b7;
}
select:required:invalid {
    color: #b7b7b7 !important;
}
.form-control:focus {
    color: #ffffff;
    background-color: unset;
    border-color: #ffffff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(219, 219, 219, 0.25);
}

.form-group {
    margin-top: 1rem;
}

/*
|--------------------------------------------------------------------------
| background
|--------------------------------------------------------------------------
*/
.bg-main {
    background-color: #263fa3;
}
.bg-primary {
    background-color: var(--bs-primary);
}
.bg-secondary {
    background-color: var(--bs-secondary);
}

/*
|--------------------------------------------------------------------------
| Text
|--------------------------------------------------------------------------
*/
.text-primary {
    color: var(--bs-primary);
}

.text-secondary {
    color: var(--bs-secondary);
}
.text-grey {
    color: var(--bs-grey);
}
.text-yellow {
    color: var(--bs-yellow);
}

a.text-yellow:hover,
a.text-yellow:focus,
a.text-yellow:active {
    color: var(--bs-yellow);
}

/*
|--------------------------------------------------------------------------
| underline at Login page
|--------------------------------------------------------------------------
*/
div.login-underline {
    display: flex;
    flex-direction: row;
    color: #e1e1e6;
}
div.login-underline:before,
div.slogin-underline::after {
    content: "";
    flex: 1 1;
    border-bottom: 2px solid #e1e1e6;
    margin: auto;
}
div.login-underline:before,
div.login-underline::after {
    content: "";
    flex: 1 1;
    border-bottom: 2px solid #e1e1e6;
    margin: auto;
}
/*
|--------------------------------------------------------------------------
| buttom
|--------------------------------------------------------------------------
*/

.btn:hover {
    color: #fff;
    opacity: 0.9;
}

.btn-login {
    background-color: var(--bs-secondary) !important;
    border: 1px solid var(--bs-secondary) !important;
    color: white;
}
.btn-thai-id {
    background-color: #0c0282;
    border: 1px solid #0c0282;
    color: white;
}

/*
|--------------------------------------------------------------------------
| btn login social
|--------------------------------------------------------------------------
*/

.btn-facebook {
    text-align: start;
    border-radius: 50rem !important;
    border: 2px solid #4172d9 !important;
    background-color: #4172d9;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 500;
    align-items: center;
    padding: 6px;
}
.btn-google {
    text-align: start;
    border: 2px solid #d5d5d5 !important;
    border-radius: 50rem !important;
    background-color: #fbfbfb;
    color: #000;
    font-size: 1.2rem !important;
    font-weight: 600;
    align-items: center;
    padding: 6px;
}
.btn-google:hover,
.btn-google:active,
.btn-google:focus {
    color: #000;
}
.btn-primary {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    border: 2px solid var(--bs-primary) !important;
}

/*
|--------------------------------------------------------------------------
| show & hide pwd
|--------------------------------------------------------------------------
*/
.eye-icon {
    color: #b7b7b7;
}
.eye-icon {
    position: absolute;
    right: 4%;
    top: 10px;
    cursor: pointer;
}
#toggler {
    /* position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer; */
}

/*
|--------------------------------------------------------------------------
| checkbox
|--------------------------------------------------------------------------
*/

.form-check-input {
    margin-top: 0.1em;
    background-color: unset;
    border: 1px solid #ffffff;
    background-size: 80%;

}
.form-check-input:checked {
    background-color: unset !important;
    border-color: #ffffff !important;
    color: #FFD02A !important;
    background-image: url("../images/icon/check-yellow.svg") !important;
}

.row-wrapper {
    height: auto;
}

/* navbar login */
.navbar-login {
    padding-top: 20px;
    margin: 0 2rem;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-login-click-logo {
    height: 100%;
    width: 120px;
}

.btn-lang {
    background: transparent;
    border: 0;
    color: #fff;
    padding: 0 10px;
}
.btn-lang.active {
    color: var(--bs-blue);
}

@media (max-width: 1200px) {
    /* .logo-wrapper {
        grid-template-columns: auto;
    } */

    .logo-wrapper {
        justify-content: flex-start;
        /* position: relative; */
    }
    .logo-login {
        margin-top: 55px;
        margin-left: 160px;
        width: 50%;
    }
    .form-wrapper {
        margin-top: 30px;
        padding: 50px;
        background-color: #212f69e8;
        border-radius: 25px;
        width: 50%;
    }
}

@media (max-width: 950px) {
    .form-wrapper {
        width: 70%;
    }
}
@media (max-width: 600px) {
    .logo-login {
        margin-top: 45px;
        margin-left: 175px;
        width: 60%;
    }
    .form-wrapper {
        margin-top: 10px;
        width: 80%;
    }
}

@media (max-width: 500px) {
    .logo-wrapper {
        display: none;
    }
    .form-wrapper {
        margin-top: 85px;
        width: 90%;
    }
}
