html,
body,
button,
input {
    font-family: Arial, "宋体", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    color: #191919;
}

.wrapper {
    min-height: 100%;
    margin: 0 auto -60px;
    padding-bottom: 60px;
}

.background {
    background: url("https://ai-resource.s3.ap-southeast-1.amazonaws.com/qima/qima-background-v2.jpg")
        center / cover no-repeat;
    height: 100%;
    left: 0;
    min-height: 600px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

.header {
    background: rgba(255, 255, 255, .95);
    min-height: 86px;
}

.logo {
    margin: 20px 0 15px 50px;
    max-height: 50px;
}

.login-container {
    padding: 64px 16px 48px;
}

.login-module {
    background: #fff;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    min-height: 550px;
    position: relative;
    width: 400px;
}

.login-module .content,
.reset-pwd .content {
    padding: 12px 35px;
}

.login-module h1,
.reset-pwd h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
    margin: 35px 0 23px;
    text-align: center;
}

.login-module label,
.reset-pwd label {
    color: #737373;
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.login-module input,
.reset-pwd input {
    background: #fff;
    border-radius: 8px;
    caret-color: #4169e1;
    font-size: 16px;
    height: 50px;
    outline: none;
    padding: 0 16px;
    width: 100%;
}

.drop-shadow {
    border: 1px solid #b3b3b3;
}

.spaced {
    margin-bottom: 22px;
}

.input-hover:hover,
.input-hover:focus {
    border: 2px solid #4169e1;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, .25);
}

.password-icons {
    align-items: center;
    display: flex;
    position: absolute;
    right: 45px;
    top: 233px;
}

.icon-button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.clear {
    border-right: 1px solid #dedede;
    margin-right: 10px;
    padding-right: 10px;
}

.clear-icon,
.close-icon,
.circle-success-icon,
.circle-error-icon {
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    height: 18px;
    width: 18px;
}

.clear-icon {
    background-image: url("images/clear.svg");
}

#eye {
    background-position: center;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}

.eye-on {
    background-image: url("images/view.svg");
}

.eye-off {
    background-image: url("images/hide.svg");
}

.operate {
    min-height: 35px;
    padding-top: 15px;
}

.forgot {
    background: none;
    border: 0;
    color: #4169e1;
    cursor: pointer;
    float: right;
    font-size: 12px;
    padding: 6px 0;
}

.primary-button,
.secondary-button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.primary-button {
    background: #4169e1;
    color: #fff;
}

.primary-button:hover,
.primary-button:focus {
    background: #1e46bd;
}

#login {
    margin-top: 12px;
}

.secondary-button {
    background: #e6ecfb;
    color: #4169e1;
}

.secondary-button:hover,
.secondary-button:focus {
    background: #d3dcf8;
}

.line-container {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 12px 0;
    width: 100%;
}

.line {
    border-bottom: 1px solid #b2b2b2;
    flex: 1;
    margin: 0 5px;
}

.or-text {
    color: #b2b2b2;
    padding: 0 10px;
}

.gray-banner {
    text-align: center;
    width: 100%;
}

.gray-banner p {
    font-size: 12px;
    margin: 15px 0 0;
}

.gray-banner a {
    color: #4169e1;
    text-decoration: underline;
}

.error-message {
    display: none;
    margin-top: 4px;
}

.errors,
.reset-pwd-error-div {
    color: #e5353d;
    font-size: 14px;
}

.error-mark {
    font-size: 16px;
    font-weight: 700;
    margin-right: 4px;
}

.footer {
    background: rgba(194, 194, 194, .65);
    font-size: 8px;
    height: 60px;
    line-height: 16px;
    margin: auto;
    padding-top: 10px;
    position: relative;
    text-align: center;
    width: 35.4%;
}

.footer p {
    margin: 0;
    padding-top: 5px;
}

.reset-pwd-container {
    background: rgba(222, 222, 222, .8);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
}

.reset-pwd {
    background: #fff;
    border-radius: 20px;
    height: 380px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
}

.reset-pwd h2 {
    margin-bottom: 13px;
}

.reset-description {
    color: #737373;
    font-size: 16px;
}

.reset-pwd-close {
    position: absolute;
    right: 35px;
    top: 35px;
}

.close-icon {
    background-image: url("images/close.svg");
}

.reset-result {
    align-items: center;
    border-radius: 8px;
    display: none;
    font-size: 14px;
    height: 45px;
    margin-bottom: 10px;
    padding: 0 12px;
}

.success-message {
    background: #eaf6f2;
    color: #006648;
}

.failure-message {
    background: #fbe5e6;
    color: #e5353d;
}

.circle-success-icon,
.circle-error-icon {
    margin-right: 10px;
}

.circle-success-icon {
    background-image: url("images/circle-success.svg");
}

.circle-error-icon {
    background-image: url("images/circle-error.svg");
}

.reset-pwd-error-div {
    display: none;
    margin-top: 5px;
}

#send-email {
    margin-top: 23px;
}

.status-banner {
    border: 1px dotted #390;
    color: #fff;
    margin-top: 64px;
    padding: 18px 32px 18px 100px;
}

.success-banner {
    background-color: #390;
}

.status-banner h1 {
    font-size: 26px;
    margin: 0 0 12px;
}

.status-banner p {
    font-size: 18px;
    margin: 6px 0;
}

@media (max-width: 600px) {
    .logo {
        margin-left: 20px;
        max-width: calc(100% - 40px);
    }

    .login-container {
        padding-top: 28px;
    }

    .login-module,
    .reset-pwd {
        width: calc(100% - 32px);
    }

    .reset-pwd {
        height: auto;
        min-height: 380px;
    }

    .footer {
        width: 100%;
    }

    .status-banner {
        padding-left: 24px;
    }
}
