.app {
    padding: 0;
}

.main-login {
    display: flex;
    align-items: center;
    height: calc(100vh - 53px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-login .login-content {
    max-width: 694px;
    width: 100%;
    margin: 0 auto;
    height: 510px;
    background: #FFFFFF;
    box-shadow: 1px 1px 16px #8fa7c9;
    border-radius: 10px;
}

.thumb-logo {
    background: #005BAA;
    border-radius: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-login .title-login {
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
    margin: 41px 0 18px;
    color: #0C0C0C;
}

#frm-login {
    padding: 0 60px;
}

.form-input-login label {
    color: #0C0C0C;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 4px;
}

.main-login .forgot_password {
    font-size: 14px;
    line-height: 21px;
    color: #DE6800;
}

.form-group.mb-12 {
    margin-bottom: 12px;
    position: relative;
}

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

.main-login .form-input {
    height: 40px;
    background: #FFFFFF;
    box-shadow: 1px 1px 6px #d3d3d3;
    border-radius: 4px;
    color: #828282;
    font-size: 14px;
    line-height: 17px;
    padding: 10px 14px;
}

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

.main-login .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 20px;
    transform: translateY(-50%);
    cursor: pointer;
}

.main-login .btn-login {
    width: 270px;
    height: 40px;
    background: #00ADD0;
    border-radius: 50px;
    padding: 12px 100px;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

.main-login .btn-login:hover, .btn-okay:hover {
    transition: all 0.3s;
    background: #09869F;
}

.title-reset {
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: #0C0C0C;
    margin: 8px 0;
}

.content-form p {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    padding: 0 51px;
    margin-bottom: 0;
}

.modal-content {
    width: 568px;
    height: 367px;
    background: #FFFFFF;
    border-radius: 8px;
}

#forgotPassword .modal-header .close {
    opacity: 1;
    padding: 26px 26px 21px;
}

.close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover {
    opacity: 1;
}

.modal-header {
    border-bottom: 0;
}

.modal-body {
    padding: 0 83px;
    flex: 0;
}

.modal {
    background: rgba(0, 22, 41, 0.7);
}

.btn-okay {
    width: 270px;
    height: 40px;
    background: #00ADD0;
    border-radius: 50px;
    padding: 12px 100px;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    margin-top: 40px;
}

button:focus {
    outline: 0 dotted;
    outline: 0px auto -webkit-focus-ring-color;
}

/*==============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;
}

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

@media only screen and (max-width: 768px) {
    .main-login .login-content {
        margin: 0 30px;
    }

    .modal-content {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    #frm-login {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 568px) {
    .modal-body {
        padding: 0 40px;
    }
}

@media only screen and (max-width: 480px) {
    .modal-body {
        padding: 0 10px;
    }

    .modal-header .close {
        opacity: 1;
    }

    .title-reset {
        font-size: 26px;
        line-height: 32px;
    }

    .modal-content {
        height: auto;
    }

    .btn-okay {
        padding: 12px 50px;
        margin: 30px 0;
    }
}

@media only screen and (max-width: 414px) {

    .thumb-logo > img {
        width: 190px;
    }

    .main-login .title-login {
        margin: 28px 0 18px;
    }

    .main-login .login-content {
        height: auto;
    }

    .main-login .login-content {
        margin: 0 20px;
    }

    .remember-forgot {
        flex-direction: column-reverse;
    }

    .forgot_password {
        text-align: right;
        margin-bottom: 18px;
    }

    .submit-login {
        margin: 18px 0 40px;
    }

    .modal-content {
        width: 335px;
        margin: 0 auto;
    }

    .content-form p {
        padding: 0 35px;
    }

    #forgotPassword .modal-header .close {
        opacity: 1;
        padding: 21px 26px;
    }

    .btn-okay {
        margin: 28px 0 40px;
    }

    .main-login .text-danger {
        margin-top: -4px;
    }

}
