body {
    padding: 0;
    margin: 0;
}

.container {
    height: calc(100vh - 60px);
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right bottom, #2E84DA, #8156A4);
}

.login {
    width: 320px;
    padding: 20px 30px;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
}

.login h2 {
    text-align: center;
    height: 30px;
    line-height: 30px;
    color: #000;
}

.phone,
.password,
#phone_no,
#user_name,
#r_password,
#r_r_password,
#code {
    position: relative;
    color: #aaa;
    width: 100%;
    font-size: 14px;
}

.phone input,
.password input,
.nickname input,
#phone_no,
#user_name,
#r_password,
#r_r_password,
#code {
    position: relative;
    width: 100%;
    height: 38px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    outline: none;
    color: #333;
    box-sizing: border-box;
    background-color: #fff;
}

.phone {
    margin-top: 46px;
}

.phone input,
.nickname input,
.password input {
    border: 1px solid #ccc;
    margin: 0;
}

.password,
.nickname {
    margin-top: 24px;
}

#login_submit,
#register_submit {
    position: relative;
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 12px;
    border: 0;
    outline: none;
    transition: background .3s;
    font-size: 16px;
    font-family: "等线";
    font-weight: 800;
    border-radius: 8px;
    background-image: linear-gradient(30deg, #2E84DA, #8156A4);
    color: #fff;
    cursor: pointer;
}

#login_submit:hover,
#register_submit:hover {
    opacity: .95;
}

#login_submit:active {
    background-image: linear-gradient(270deg, #2E84DA, #8156A4);
}

#login_submit {
    margin-top: 40px;
}

#register_submit {
    margin-bottom: 20px;
}

.verify {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;

}

.forgot_password {
    margin: 20px 0;
    text-align: center;
}

.forgot_password #forgot_password {
    border: 0;
    background-color: transparent;
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;
}

#user_agreement {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: hidden auto;
    background-color: #fff;
    font-size: 30px;
}

#user_agreement h2 {
    font-weight: 400;
    font-size: .7em;
    padding: .8em 0;
    text-align: center;
    background-color: #eee;
    color: #505050;
}

#user_agreement section {
    padding: .2em .625em;
}

#user_agreement h3 {
    padding: .5em 0 .2em;
    font-weight: 400;
    font-size: .6em;
}

#user_agreement p {
    padding: .15em 0;
    font-size: .5em;
}

#user_agreement .user_agreement_confirm_button {
    display: block;
    margin: 0.8em auto 1.2em;
    height: 36px;
    width: 100px;
    font-weight: 400;
    font-size: 1em;
    border: 1px solid #505050;
    text-align: center;
    background-color: #eee;
    color: #505050;
    box-sizing: border-box;
}

.register_password_wrap {
    position: relative;
}

.register_password_wrap::before {
    position: absolute;
    top: 100%;
    right: 3px;
    font-size: 12px;
    margin-top: -10px;
    box-sizing: border-box;
    padding: 1px 4px;
}

.register_password_wrap[password_security_level='1']::before {
    content: "密码强度: 弱";
    background-color: #FFff00;
}

.register_password_wrap[password_security_level='2']::before {
    content: "密码强度: 中";
    background-color: #CCFF00;
}

.register_password_wrap[password_security_level='3']::before {
    content: "密码强度: 强";
    background-color: #00FF00;
}


#login_submit svg{ 
    display: none;
}
#login_submit.loading svg{
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    animation: rotating 2s linear infinite;
}

@keyframes rotating {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}