:root {
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #bfbfbf;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #bfbfbf;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #bfbfbf;
}

/** 文本输入框的 X  **/
input::-ms-clear {
    display: none;
}

/** 密码输入框的 X  **/
input::-ms-reveal {
    display: none;
}

/* 整个页面外面的样式 */

body {
    font-family: Monospaced Number, Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;

}

@media screen and (max-width: 475px) {
    .login-form {
        width: 82vw !important;
    }

    .form-group .form-phone {
        width: 62% !important;
        display: inline-block !important;
    }

    /* #count {
        width: 35% !important;
    } */
}

@media screen and (min-width: 476px) and (max-width: 675px) {
    .login-form {
        width: 66vw !important;
    }

    .form-group .form-phone {
        width: 70% !important;
        display: inline-block !important;
    }

    /* #count {
        width: 28% !important;
    } */
}

@media screen and (min-width: 676px) and (max-width: 768px) {
    .login-form {
        width: 56vw !important;
    }

    .form-group .form-phone {
        width: 70% !important;
        display: inline-block !important;
    }

    /*  #count {
        width: 28% !important;
    } */
}

.login-layout {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    background-color: #fff;
}

.login-container {
    width: 100vw;
    background: #fff;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: 356px;
    /* box-shadow: 0 2px 12px 0 rgba(0,0,0,.1); */
}

.login-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.login-footer {
    height: 30px;
    line-height: 30px;
}

.footer {
    text-align: center;
}

#personal {
    display: none;
}

.form-phone {
    width: 66% !important;
    display: inline-block !important;
}

.send-code {
    cursor: pointer;
}

.send-code:hover {
    color: #409eff;
}

h2 {
    text-align: center;
    margin: 0 0 20px;
}

.form-group {
    margin-bottom: 0px !important;
    padding-bottom: 20px;
    position: relative;
}

.form-group label {
    color: #777;
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    border-radius: 4px;
    display: block;
    padding: 10px;
    font-size: 14px;
}

.form-group input:focus {
    border-color: #777;
    outline: 0;
}

.form-group.success input {
    border-color: var(--success-color);
}

.form-group.error input {
    border-color: var(--error-color);
}

.form-group small {
    color: var(--error-color);
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: hidden;
}

.form-group.error small {
    visibility: visible;
}

#register:active {
    border: 1px solid #409eff !important;
}

#count {
    /* width: 32%;
    height: 32px; */
    font-size: 14px;
    text-align: center;
    background: #FF8D28;
    border: none;
    color: #fff;
    border-radius: 3px;
}

.password-steps-item-wait .password-steps-item-icon {
    background-color: rgba(0, 0, 0, .36);
}

.password-steps-item-icon,
.password-steps-item-content {
    display: inline-block;
    vertical-align: top;
}

.password-steps-item-icon {
    margin-right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 100%;
    font-size: 16px;
    text-align: center;
    line-height: 28px;
    color: white;
    background: #3367d6;
    transition: background-color .3s, border-color .3s;
}

.login-code {
    width: 33%;
    height: 38px;
    float: right;

}

.login-code img {
    cursor: pointer;
    vertical-align: middle;
}