html {
    height: 100%;
}

body.signin {
    min-height: 100%;
    margin: 0;
    background:
        linear-gradient(135deg, rgba(10, 22, 48, 0.92), rgba(15, 118, 255, 0.58)),
        url(../img/login-background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.signinpanel {
    width: 1120px;
    margin: 0 auto;
    padding: 72px 0 28px;
    color: #f8fbff;
}

.login-shell {
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.login-overview {
    flex: 1;
    padding: 44px 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(8, 20, 45, 0.68), rgba(8, 20, 45, 0.38));
    box-shadow: 0 24px 60px rgba(4, 18, 45, 0.3);
    backdrop-filter: blur(14px);
}

.brand-badge {
    width: 54px;
    height: 54px;
    line-height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4dabff, #1d4ed8);
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.28);
}

.signinpanel .logopanel {
    margin-top: 26px;
}

.signinpanel .logopanel img {
    max-width: 220px;
}

.login-title {
    margin-top: 26px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}

.login-subtitle {
    margin-top: 14px;
    max-width: 520px;
    color: rgba(241, 247, 255, 0.84);
    font-size: 15px;
    line-height: 1.9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(250, 252, 255, 0.96);
    font-size: 15px;
}

.feature-list i {
    margin-right: 12px;
    color: #67e8f9;
    font-size: 18px;
}

.overview-footer {
    margin-top: 42px;
    color: rgba(230, 238, 249, 0.72);
    font-size: 13px;
    letter-spacing: 0.5px;
}

.login-card {
    width: 420px;
}

.signinpanel form {
    padding: 36px 34px 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 60px rgba(12, 28, 52, 0.24);
}

.card-title {
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-subtitle {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
}

.input-label {
    margin-top: 18px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.signinpanel .form-control {
    display: block;
    margin-top: 0;
}

.signinpanel .uname,
.signinpanel .pword,
.signinpanel .code {
    height: 48px !important;
    padding: 6px 16px !important;
    border: 1px solid #d8e1ee;
    border-radius: 14px !important;
    background-color: #f8fbff;
    color: #0f172a;
    transition: all 0.2s ease;
}

.signinpanel .uname {
    background-image: linear-gradient(transparent, transparent), url(../img/user.png);
    background-repeat: no-repeat;
    background-position: 95% center;
}

.signinpanel .pword {
    background-image: linear-gradient(transparent, transparent), url(../img/locked.png);
    background-repeat: no-repeat;
    background-position: 95% center;
}

.signinpanel .code {
    background: #f8fbff;
    margin-bottom: 0;
}

.signinpanel .form-control:focus {
    border-color: #2563eb !important;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.captcha-block {
    margin-top: 2px;
}

.captcha-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.captcha-input-wrap {
    flex: 1;
}

.captcha-box {
    width: 142px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #d8e1ee;
    border-radius: 14px;
    background: #f8fbff;
    color: #64748b;
    text-decoration: none !important;
}

.captcha-box:hover {
    border-color: #93c5fd;
    background: #f0f7ff;
    color: #2563eb;
}

.imgcode {
    width: 100%;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 8px;
}

.register-link,
.register-link a {
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.signinpanel .btn {
    margin-top: 12px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.signinpanel .btn:hover,
.signinpanel .btn:focus {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.signup-footer {
    margin-top: 22px;
    padding-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .signinpanel {
        width: calc(100% - 48px);
        padding-top: 40px;
    }
}

@media screen and (max-width: 900px) {
    .login-shell {
        flex-direction: column;
    }

    .login-card {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .signinpanel {
        width: calc(100% - 28px);
        padding: 20px 0;
    }

    .login-overview {
        padding: 26px 22px;
    }

    .login-title {
        font-size: 28px;
    }

    .signinpanel form {
        padding: 28px 22px 24px;
    }

    .captcha-row {
        flex-direction: column;
    }

    .captcha-box {
        width: 100%;
    }

    .login-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 420px) {
    .login-title {
        font-size: 24px;
    }
}
/*
登录界面check样式
*/
.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    display: inline-block;
}
/*
将初始的checkbox的样式改变
*/
.checkbox-custom input[type="checkbox"] {
    opacity: 0; /*将初始的checkbox隐藏起来*/
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -6px 0 0 0;
    top: 50%;
    left: 3px;
}
/*
设计新的checkbox，位置
*/
.checkbox-custom label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 18px;
    height: 17px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #bbb;
    background: #fff;
}
/*
点击初始的checkbox，将新的checkbox关联起来
*/
.checkbox-custom input[type="checkbox"]:checked +label:after {
    position: absolute;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    content: "\e013";
    top: 42%;
    left: 3px;
    margin-top: -5px;
    font-size: 11px;
    line-height: 1;
    width: 16px;
    height: 16px;
    color: #333;
}
.checkbox-custom label {
    cursor: pointer;
    line-height: 1.2;
    font-weight: normal; /*改变了rememberme的字体*/
    margin-bottom: 0;
    text-align: left;
}

.form-control, .form-control:focus, .has-error .form-control:focus,  .has-success .form-control:focus, .has-warning .form-control:focus,  .navbar-collapse, .navbar-form, .navbar-form-custom .form-control:focus,  .navbar-form-custom .form-control:hover, .open .btn.dropdown-toggle,  .panel, .popover, .progress, .progress-bar {
    box-shadow: none;
}

.form-control {
    border-radius: 1px!important;
    padding: 6px 12px!important;
    height: 34px!important;
}

.form-control:focus {
    border-color: #1ab394 !important;
}

body .layer-ext-moon-msg[type="dialog"]{
    min-width: 100px !important;
}
body .layer-ext-moon-msg { 
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
}

body .layer-ext-moon-msg .layui-layer-content{ 
    padding: 12px 25px;
    text-align: center;
}
