/* Imports */
@import url(animate.min.css);
@import url(font-awesome/css/font-awesome.min.css);

/* 盒模型 */
*, *:before, *:after {
    box-sizing: border-box;
}

/*重置input和textarea的默认样式*/
input, button, select, textarea {
    outline: none
}
textarea {
    resize: none
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #f8fafc inset;
}
input::placeholder {
    color: #94a3b8;
}
input::-ms-clear {
    display: none;
}
input::-ms-reveal {
    display: none;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 选择文本样式 */
::selection {
    background: rgba(59, 130, 246, 0.2);
}

/* Basics */
html, body {
    width: 100%;
    height: 100%;
    color: #444;
    -webkit-font-smoothing: antialiased;
    background: #edf4f9;
}
a {
    color: #aaa;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}
a:hover {
    color: #555;
}
#page {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.footer {
    position: fixed;
    bottom: 20px;
    height: 36px;
    line-height: 36px;
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 13px;
    text-align: center;
    -webkit-font-smoothing: subpixel-antialiased;
}
.footer a {
    color: rgba(255, 255, 255, 0.8);
}
.footer a:hover {
    color: #ffffff;
}
#container {
    position: fixed;
    width: 400px;
    padding: 35px 40px 40px;
    top: 50%;
    left: 50%;
    margin-top: -201.6px;
    margin-left: -200px;
    background: #fff;
    border-radius: 8px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.title {
    margin: 0 0 30px 0;
    font-size: 18px;
    text-align: center;
    color: #3e4960;
    font-weight: 500;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
form {
    margin: 20px auto 0;
}
.form_field {
    clear: both;
    height: 48px;
    line-height: 48px;
    color: #86929c;
    margin: 0 auto 16px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    transition: all 0.25s ease;
}
.form_field:hover {
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.form_field:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form_field:has(.nice-select.open) {
    border-color: #3B82F6;
    border-radius: 6px 6px 0 0;
}
.form_field img, .form_field label {
    float: left;
    margin-left: 7px;
}
.form_field img {
    margin-top: 7px;
    -webkit-transform: scale(.7);
    -moz-transform: scale(.7);
    -o-transform: scale(.7);
    transform: scale(.7);
}
.form_field label {
    width: 36px;
}
.form_field, .form_checkbox_field, .form_button_field {
    width: 320px;
    font-size: 0.85em;
}
.form_field, .form_button_field {
    height: 48px;
    line-height: 48px;
}
.form_field .last_img {
    float: right;
    margin-right: 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.form_field .last_img:hover {
    opacity: 1;
}
.form_field input {
    float: left;
    border: none;
    width: 264px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    margin: 4px 0 0 8px;
    color: #1a202c;
}
.form_username_field .last_img {
    margin-top: 11px;
}
.form_password_field label {
    margin-left: 11px;
}
.form_password_field .last_img {
    margin-top: 13px;
}
.form_captcha_field .last_img {
    margin-top: -4px;
    margin-right: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    border-radius: 4px;
}
.form_captcha_field .last_img:hover {
    opacity: 1;
}
.form_captcha_field input {
    width: 170px;
}
.form_checkbox_field {
    clear: both;
    margin: 0 auto;
}
.form_checkbox_field input {
    float: left;
    margin: 0 5px 0 0;
}
.check {
    display: block;
    float: left;
    color: #444;
    text-shadow: 0 1px 0 #fff;
}
.checkbox_div {
    float: left;
}
.forgot_div {
    float: right;
}
.form_button_field {
    clear: both;
    height: 48px;
    line-height: 48px;
    margin: 24px auto 0;
}
.form_button_field a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    background: #3B82F6;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.form_button_field a:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.form_button_field a:active {
    transform: translateY(0);
}

/*====message====*/
.isa_info, .isa_success, .isa_warning, .isa_error {
    position: fixed;
    top: 0;
    padding: 6px 0 3px 4px;
    width: 100%;
    z-index: 99;
}
.isa_info {
    color: #00529B;
    background-color: #BDE5F8;
}
.isa_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.isa_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.isa_error {
    color: #D8000C;
    background-color: #FFBABA;
}
.isa_info i, .isa_success i, .isa_warning i, .isa_error i {
    margin: 6px 4px 5px 8px;
    font-size: 1em;
    vertical-align: middle;
}
.isa_info span, .isa_success span, .isa_warning span, .isa_error span {
    vertical-align: middle;
}
.nice-select {
    width: 100%;
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    position: relative;
    background: #fff url(/img/dropDown.jpg) no-repeat right center;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    transition: all 0.25s ease;
}
.nice-select:hover {
    background-color: #f8fafc;
}
.nice-select.open {
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 0 2px #3B82F6;
}
.nice-select input {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border: 0;
    outline: 0;
    background: none;
    cursor: pointer;
    margin-left: 0;
}
.nice-select ul {
    width: 100%;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    overflow: hidden;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #3B82F6;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    box-sizing: border-box;
}
.nice-select ul li {
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    padding: 0 10px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.nice-select ul li:hover {
    background-color: #f1f5f9;
}
.nice-select ul li.on {
    background-color: #e0f2fe;
    color: #3B82F6;
}
.login__type__container__select-type__form {
    position: absolute;
    top: 21px;
    right: 19px;
    color: #576b95;
}
.login__type__container__select-type__scan {
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    width: 60px;
    overflow: hidden;
    background: url(/img/qrScanLogin.svg) no-repeat top right;
    background-size: 100%;
}

/* 超小屏幕(手机) */
@media screen and (max-width: 768px) {
    #container {
        position: absolute;
        width: calc(100% - 40px);
        top: 50%;
        left: 20px;
        right: auto;
        margin-left: 0;
        margin-top: -200px;
        transform: none;
        padding: 30px 20px 35px;
        box-sizing: border-box;
    }
    .title {
        font-size: 16px;
        margin-bottom: 24px;
    }
    .form_field, .form_checkbox_field, .form_button_field {
        width: 100%;
    }
    .form_field {
        height: 46px;
        line-height: 46px;
        margin-bottom: 14px;
    }
    .form_field input {
        width: calc(100% - 70px);
        font-size: 14px;
    }
    .form_captcha_field input {
        width: 55%;
    }
    .nice-select {
        width: 100%;
    }
    .form_button_field {
        margin-top: 20px;
    }
    .footer {
        font-size: 12px;
        bottom: 10px;
    }
}