.login-page {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    color: #0c0c0c;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
}

.banner {
    width: 56.25%;
    min-height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.login-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 43.75%;
    padding: 30px;
}

.login__title {
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 0;
}

.login__description {
    color: #4F4F4F;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 42px */
    margin: 60px auto 0;
}

.login-form {
    width: 100%;
    max-width: 492px;
    margin-top: 30px;
}

.form-input-login {
    text-align: left;
}

.form-input-login label {
    font-size: 16px;
    font-weight: 700;
    line-height: 150%; /* 24px */
    margin-bottom: 0;
}

.submit-login {
    margin-top: 30px;
}

.form-input {
    height: 48px;
    font-size: 14px;
    padding: 14px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 1px 1px 6px 0px #D3D3D3;
}

.text-danger {
    color: #f44336!important;
    font-size: 12px;
    margin-top: -12px;
    margin-bottom: 12px;
}

.toggle-password, .icon-inside-input {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
}

.login-content input.form-input {
    padding-right: 40px;
}

.toggle-password.is-error {
    color: #f44336;
}

.copyright {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 8.5vh auto 0;
}

.copyright-sp {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: none;
    margin-bottom: 0;
}

.eye-off,
.toggle-password.toggle .eye-open {
    display: none;
}

.toggle-password.toggle .eye-off {
    display: block;
}

/*==============checkbox==============*/

.form-group-checkbox {
    display: block;
    margin-bottom: 0;
}

.form-group-checkbox input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.form-group-checkbox .label-checkbox {
    position: relative;
    font-size: 14px;
    line-height: 21px;
    color: #0C0C0C;
    font-weight: 500;
    margin-bottom: 0;
}

.form-group-checkbox .label-checkbox:before {
    content: '';
    -webkit-appearance: none;
    background: #FFFFFF;
    box-shadow: 1px 1px 6px rgb(0 0 0 / 20%);
    padding: 10px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 13px;
    height: 20px;
    width: 20px;
    top: -2px;
}

.form-group-checkbox input:checked + .label-checkbox:after {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.form-group-checkbox input:checked + .label-checkbox:before {
    background: #005BAA;
}

.custom-select.is-invalid, .form-control.is-invalid,
.was-validated .custom-select:invalid, .was-validated .form-control:invalid {
    border: 1px solid #EB5757
}
/*==============checkbox==============*/

@media only screen and (max-width: 1133px) {
    .banner {
        width: 56.878%;
        background-image: url(../images/banner_loggin_tablet.jpg) !important;
    }

    .login-content {
        display: block;
        padding: 80px 52px 0 51px;
    }

    .login__description {
        margin-top: 40px;
    }

    .login__title {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .login-form {
        max-width: unset;
        margin: 0 auto;
    }

    .form-input-login .phone.form-group {
        margin-bottom: 12px;
    }

    .form-input-login .custom.form-group label {
        margin-bottom: 4px;
    }

    .form-input-login .password.form-group {
        margin-bottom: 18px;
    }

    .submit-login {
        margin-top: 28px;
    }

    .copyright {
        margin-top: 144px;
        line-height: 17px;
    }

    .one-error .copyright {
        margin-top: 121px;
    }

    .both-error .copyright {
        margin-top: 28px;
    }

    .form-input-login .text-danger {
        margin-top: -10px;
        font-size: 14px;
        font-weight: 600 !important;
        line-height: 21px;
        color: #EB5757 !important;
    }

    .form-input-login .text-danger.phone-error {
        margin-top: -2px;
    }

    .form-input {
        border: none;
        color: #0C0C0C !important;

    }

    .form-input::placeholder {
        color: #828282;
    }

    .form-control:focus {
        box-shadow: 1px 1px 6px 0px #D3D3D3;
    }
}

@media only screen and (max-width: 1024px) {
    .login-page {
        flex-direction: column;
        padding-bottom: 80px;
    }

    .banner {
        width: 100%;
        height: auto;
        min-height: 400px;
        background-size: 100% auto;
    }

    .login-content {
        width: 100%;
    }

    .login-form {
        max-width: 390px;
    }

    .copyright {

        display: none;
    }
    .copyright-sp {
        display: block;
        width: 100%;
        padding: 10px 10px 40px 10px;
        position: absolute;
        left: 0;
        bottom: 0;
        text-align: center;
    }
}


@media only screen and (max-width: 575px) {
    .banner {
        background-image: url(../images/banner_loggin_sp.jpg) !important;
        min-height: 200px;
    }

    .login-content {
        padding: 28px 20px 0;
    }

    .login__description {
        margin-top: 18px;
        font-size: 18px;
        font-weight: 600;
        line-height: 27px;
    }

    .login__title {
        font-size: 28px;
        font-weight: 700;
        line-height: 42px;
        margin-bottom: 28px;
    }

    .form-input-login .phone.form-group {
        margin-bottom: 18px;
    }

    .form-input {
        font-size: 16px;
        font-weight: 500;
    }

    .form-group-checkbox .label-checkbox {
        line-height: 24px;
    }

    .copyright {
        margin-top: 100px;
    }

    .one-error .copyright,
    .both-error .copyright {
        margin-top: 44px;
    }

    .form-input-login .text-danger {
        font-size: 16px;
        font-weight: 600;
        margin-top: -14px;
    }

    .form-input-login .text-danger.phone-error {
        margin-top: -14px;
    }
}
