/* ==========================================================================
   LOGIN PAGE — dedicated stylesheet, cloned 1:1 from
   https://nhacviec.vnu.edu.vn/login (storage/logs/login.html + main.css).
   Not shared with vnu_theme.css (main app stylesheet).
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI Variable', 'Segoe UI', 'Montserrat', sans-serif;
}

@media only screen and (max-width: 920px) {
    body,
    html {
        height: auto;
        overflow: visible;
    }
}

input {
    outline: none;
    border: none;
}

button {
    outline: none !important;
    border: none;
    background: transparent;
}

button:hover {
    cursor: pointer;
}

/* ---------------------------------------------------------- bootstrap-equivalent utilities used by login.html */

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.fs-4 {
    font-size: 1.5rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

/* ---------------------------------------------------------------- login */

.text-green {
    color: #00803D !important;
}

.wrapper-login {
    width: 100%;
    height: 100%;
}

.banner-login {
    width: 55%;
}

.banner-login img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.form-login {
    min-height: 100vh;
    width: 45%;
    background-image: url('/images/group_login-2.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5% 110px;
}

.logo-banner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_title {
    color: #000;
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    padding: 42px 0 15px;
    line-height: 28px;
}

.login-titlt-des {
    color: #000;
    font-size: 24px;
    text-align: center;
    line-height: 28px;
}

.login-alert {
    background: #FFF0F0;
    border: 1px solid #FFCCCC;
    border-radius: 10px;
    padding: 12px 16px;
    color: #ED3E09;
    font-size: 14px;
    margin-top: 16px;
}

.log-pd {
    padding: 40px;
}

/* ---------------------------------------------------------------- input */

.wrap-input100 {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    border: 1px solid #218036;
    border-radius: 12px;
    overflow: hidden;
}

.wrap-input100.is-invalid {
    border-color: #ed3e09;
}

.wrap-input100 svg,
.wrap-input100 i {
    position: absolute;
    color: #217F3E;
    margin-left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.wrap-input100 .border-icons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 42px;
    color: #217F3E;
}

.input100 {
    font-size: 15px;
    color: #000;
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 60px;
    padding: 0 55px;
}

.input100::placeholder {
    color: #adadad;
}

.btn-show-pass {
    font-size: 15px;
    color: #999999;
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    padding-right: 15px;
    cursor: pointer;
    transition: all 0.4s;
}

.btn-show-pass i {
    font-size: 21px;
}

.login-error {
    display: block;
    font-size: 12px;
    color: #ed3e09;
    margin: -20px 0 20px;
}

/* ---------------------------------------------------------------- remember */

.apex-item-option p {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    flex: none;
    background: #fff;
    border: 1px solid #218036;
    border-radius: 5px;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background: #218036;
    border-color: #218036;
}

/* checkmark drawn with plain borders — no icon-font glyph, cannot render as tofu */
input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ---------------------------------------------------------------- buttons */

.wrap-login100-form-btn {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.login100-form-bgbtn {
    position: absolute;
    z-index: -1;
    width: 300%;
    height: 100%;
    background: #3A8F5C;
    top: 0;
    left: -100%;
    transition: all 0.4s;
}

.login100-form-btn {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 60px;
    text-decoration: none;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
    left: 0;
}

.btn-sso-cus {
    background: #F8BB25;
    color: #fff;
}

.btn-sso-cus:hover {
    color: #fff;
}

/* ---------------------------------------------------------------- responsive */

@media only screen and (max-width: 920px) {
    .wrapper-login {
        flex-direction: column;
        min-height: calc(100vh - 100px);
    }

    .banner-login {
        display: none;
    }

    .form-login {
        padding: 10px;
        background-repeat: initial;
        width: 100%;
        height: 100%;
    }

    .login_title {
        padding: 16px;
    }

    .log-pd {
        padding: 25px;
    }

    .apex-item-option p {
        font-size: 14px;
        padding-left: 10px;
    }

    .login100-form-btn {
        font-size: 18px;
        height: 50px;
    }

    .wrap-input100 {
        margin-bottom: 20px;
    }

    input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    input[type="checkbox"]:checked::after {
        left: 6px;
        top: 3px;
        width: 5px;
        height: 9px;
    }
}

@media (max-width: 768px) {
    .login100-form-btn {
        font-size: 16px !important;
        padding: 0 10px !important;
    }
}

/* matches the original site's own @media (max-width:1920px) block —
   effectively always active on real screens, so these are the true values,
   not the pre-media-query 60px/25px "desktop" ones above. */
@media screen and (max-width: 1920px) {
    .login_title {
        font-size: 24px;
    }

    .apex-item-option p {
        font-size: 16px;
    }

    input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    input[type="checkbox"]:checked::after {
        left: 6px;
        top: 3px;
        width: 5px;
        height: 9px;
    }

    .login100-form-btn {
        font-size: 18px;
        height: 50px;
    }
}
