/* HIT 智创后台登录：弱化装饰背景，突出品牌与登录操作。 */
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(36, 147, 255, .12), transparent 30%),
        radial-gradient(circle at 88% 85%, rgba(22, 155, 141, .12), transparent 32%),
        #f5f8fc;
    color: #172b4d;
    font-size: 14px;
}

.main-body {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.login-main {
    width: 440px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(219, 228, 240, .9);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(33, 57, 88, .16);
}

.login-main .login-top {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 25px 42px 22px;
    border-bottom: 1px solid #eaf0f7;
    background: linear-gradient(135deg, #f8fbff, #eff8ff);
}

.brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(35, 91, 145, .12);
}
.brand-copy span {
    display: block;
    margin-bottom: 3px;
    color: #168d80;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
}
.brand-copy h1 {
    margin: 0;
    color: #173b68;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}
.brand-copy p {
    margin: 6px 0 0;
    color: #7a8da6;
    font-size: 12px;
}

.login-mode-switch {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 23px 0 0;
}
.login-mode-switch a {
    padding: 0 0 9px;
    color: #8a98aa;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    text-decoration: none;
}
.login-mode-switch a.is-active {
    color: #167fe7;
    border-bottom-color: #167fe7;
    font-weight: 600;
}

.login-main .login-bottom {
    width: 100%;
    padding: 0 0 30px;
    background: #fff;
}
.login-main .login-bottom .center {
    width: 340px;
    margin: 0 auto;
    padding: 22px 0 5px;
    position: relative;
}
.login-main .login-bottom .center .item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    margin-bottom: 16px;
    padding: 0 14px;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.login-main .login-bottom .center .item:focus-within {
    border-color: #299cf4;
    box-shadow: 0 0 0 3px rgba(41, 156, 244, .12);
}
.login-main .login-bottom .center .item input {
    position: static;
    display: block;
    flex: 1;
    width: 100%;
    height: 48px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172b4d;
    font-size: 15px;
}
.login-main .login-bottom .center .item .icon {
    display: inline-block;
    width: 33px;
    height: 22px;
    flex: 0 0 33px;
}
.login-main .login-bottom .center .item .icon-1 { background: url(../images/icon-login.png) no-repeat 1px 0; }
.login-main .login-bottom .center .item .icon-2 { background: url(../images/icon-login.png) no-repeat -54px 0; }
.login-main .login-bottom .center .item .icon-3 { background: url(../images/icon-login.png) no-repeat -106px 0; }
.login-main .login-bottom .center .item .icon-4 {
    position: static;
    margin-left: auto;
    background: url(../images/icon-login.png) no-repeat 0 -43px;
    cursor: pointer;
}
.login-main .login-bottom .center .item .icon-5 { background: url(../images/icon-login.png) no-repeat -55px -43px; }
.login-main .login-bottom .center .item .icon-6 {
    position: static;
    margin-left: auto;
    background: url(../images/icon-login.png) no-repeat 0 -93px;
    cursor: pointer;
}
.login-main .login-bottom .center .captcha-item { width: 100% !important; }
.login-main .login-bottom .center .item .validateImg {
    position: static;
    width: 100px;
    height: 36px;
    margin-left: 10px;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

.login-main .login-bottom .tip {
    display: flex;
    align-items: center;
    width: 340px;
    height: 20px;
    margin: 0 auto;
    line-height: 20px;
}
.login-main .login-bottom .tip .icon-nocheck {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 1px 8px 1px 0;
    border: solid 1px #b9c9dc;
    border-radius: 4px;
    position: relative;
    top: 3px;
    cursor: pointer;
}
.login-main .login-bottom .tip .icon-check {
    width: 14px;
    height: 14px;
    margin: 0 8px 0 0;
    border: none;
    background: url(../images/icon-login.png) no-repeat -111px -48px;
}
.login-main .login-bottom .tip .login-tip {
    color: #71829a;
    cursor: pointer;
    font-size: 12px;
}
.login-main .login-bottom .tip .forget-password {
    margin-left: auto;
    color: #177fe8;
    letter-spacing: 0;
    text-decoration: none;
}

.login-main .login-bottom .login-btn {
    display: block;
    width: 340px;
    height: 46px;
    margin: 22px auto 0;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #168de9, #2aa5f7);
    box-shadow: 0 8px 16px rgba(32, 145, 239, .2);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    line-height: 46px;
    text-align: center;
    transition: transform .15s, box-shadow .15s;
}
.login-main .login-bottom .login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(32, 145, 239, .28);
}

.sms-code-item input { padding-right: 105px !important; }
.send-sms-code {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 96px;
    height: 34px;
    border: 0;
    border-radius: 7px;
    background: #edf6ff;
    color: #167fe7;
    cursor: pointer;
    font-size: 12px;
}
.send-sms-code:disabled { background: #f1f4f7; color: #a0abba; cursor: not-allowed; }
.sms-login-help { margin-left: auto; color: #91a0b3; font-size: 12px; }

input::-webkit-input-placeholder { color: #a6aebf; }
input::-moz-placeholder { color: #a6aebf; }
input:-moz-placeholder { color: #a6aebf; }
input:-ms-input-placeholder { color: #a6aebf; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; }

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 10px;
    color: #8393a8;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
}
.footer a, .footer span { color: #8393a8; }
.padding-5 { padding: 5px !important; }

@media screen and (max-width: 520px) {
    .main-body {
        position: relative;
        top: auto;
        left: auto;
        min-height: calc(100vh - 60px);
        padding: 28px 18px 80px;
        transform: none;
    }
    .login-main { width: 100%; max-width: 440px; }
    .login-main .login-top { padding: 22px 26px 20px; }
    .login-main .login-bottom .center,
    .login-main .login-bottom .tip,
    .login-main .login-bottom .login-btn { width: calc(100% - 48px); }
    .login-main .login-bottom .tip .forget-password { margin-left: auto; }
}
