/*********************************************/
/* css by by stlye LungYa hehe               */
/*********************************************/
body,
html {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    color: var(--bs-body-color);
    line-height: 22px;
    background-color: var(--bs-body-bg);
}

a {
    text-decoration: none;
}

img.logo {
    width: 40px;
    margin-left: 20px;
}

.login-form {
    width: 300px;
    font-size: 14px;
}

#togglePassword {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

input:focus,
button:focus {
    box-shadow: none !important;
}

.border-bottom-1 {
    border: 0 !important;
    border-bottom: 1px solid var(--bs-border-color) !important;
    border-radius: 0;
    padding-bottom: 0;
}
.border-bottom-1:focus {
    border: 0 !important;
    border-bottom: 1px solid var(--bs-primary-border-subtle) !important;
    border-radius: 0;
    padding-bottom: 0;
}

.logo-image img {
    width: 50px;
    position: absolute;
    top: 17px;
    left: 10px;
}

.login-area {
    width: 100%;
    min-height: 300px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.mobile-area {
    width: 100%;
    height: 100vh;
}

.login-form .user-image {
    border: 4px solid #FFF;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    color: #fff;
    background-color: var(--bs-primary);
    margin: 0 auto;
    margin-top: -44px;
    box-shadow: 3px 3px 15px #ccc;
    margin-bottom: 10px;
    position: relative;
    z-index: 555;
}
.icon i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#btn_mobile_login i {
    font-size: 2.2rem;
}

.form-control-label {
    font-size: 0.8rem !important;
}

.username-is-mobile {
    font-size: 1.3rem;
}

.center-box {
    display: flex;
    justify-content: center; /* กึ่งกลางซ้าย-ขวา */
    align-items: center; /* กึ่งกลางบน-ล่าง */
    height: 100vh; /* เต็มหน้าจอ */
}
@media (max-width: 767.20px) {

    .container-canvas {
        overflow: initial;
    }
}