html {
    height: 100%
}

body.login {
    height: 100vh;
    min-height: 100vh;
    background: url(../../image/bg.png) no-repeat center fixed;
    background-size: cover;
    color: rgba(255,255,255,.95);
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

body.login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../../image/bg.png) no-repeat center;
    background-size: cover;
    opacity: 1;
    z-index: 0;
}

body.login::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

/* 新的登录容器布局 */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100vh;
    width: 100%;
}

/* 左侧图片面板 */
.login-right-panel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

/* 右侧登录面板 */
.login-left-panel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 4%;
    padding-right: 5%;
}

.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.dynamic-image-container {
    width: 100%;
    height: 100%;
    max-height: 600px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-right-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-panel {
    width: 750px;
    margin: 10% auto 0 auto;
}

    .login-panel .section {
        width: 360px;
        margin: 0 auto;
    }

    .login-panel .logopanel {
        float: none;
        width: auto;
        padding: 0;
        background: 0 0
    }

    .login-panel .login-info ul {
        list-style: none;
        padding: 0;
        margin: 20px 0
    }

    .login-panel .form-control {
        display: block;
        margin-top: 15px
    }

    .login-panel .uname {
        background: #fff url(../../image/user.png) no-repeat 95% center;
        color: #333
    }

    .login-panel .pword {
        background: #fff url(../../image/locked.png) no-repeat 95% center;
        color: #333
    }

    .login-panel .code {
        background: #fff no-repeat 95% center;
        color: #333;
        margin: 0 0 15px 0;
    }

    .login-panel .btn {
        margin-top: 15px
    }

    .login-panel form {
        background: rgba(255,255,255,.2);
        border: 1px solid rgba(255,255,255,.3);
        -moz-box-shadow: 0 3px 0 rgba(12,12,12,.03);
        -webkit-box-shadow: 0 3px 0 rgba(12,12,12,.03);
        box-shadow: 0 3px 0 rgba(12,12,12,.03);
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        padding: 30px
    }

/* 新的登录表单样式 */
.login-form-wrapper form {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.login-form-wrapper .ant-typography-title {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.login-form-wrapper .ant-input {
    height: 42px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #333 !important;
    background-color: #fff !important;
}

.login-form-wrapper .uname {
    background: #fff url(../../image/user.png) no-repeat 95% center;
    background-size: 18px 18px;
    padding-right: 40px;
    color: #333 !important;
}

.login-form-wrapper .pword {
    background: #fff url(../../image/locked.png) no-repeat 95% center;
    background-size: 18px 18px;
    padding-right: 40px;
    color: #333 !important;
}

.login-form-wrapper .code {
    background: #fff no-repeat 95% center;
    padding-right: 12px;
    color: #333 !important;
}

.login-form-wrapper .ant-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
    color: #333 !important;
}

.login-form-wrapper .ant-input::placeholder {
    color: #999 !important;
    opacity: 1;
}

.login-form-wrapper .ant-input::-webkit-input-placeholder {
    color: #999 !important;
}

.login-form-wrapper .ant-input::-moz-placeholder {
    color: #999 !important;
    opacity: 1;
}

.login-form-wrapper .ant-input:-ms-input-placeholder {
    color: #999 !important;
}

.login-form-wrapper .ant-btn-primary {
    height: 42px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.login-form-wrapper .ant-btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.login-info ul {
    line-height: 25px;
    margin-top: 50px;
    font-size: 13px
}

.login-footer {
    border-top: solid 1px rgba(255,255,255,.3);
    margin: 20px 0;
    padding-top: 15px
}

/*弹出框里面文字的颜色*/
.layui-layer-content {
    color: #676a6c;
}

/* 响应式设计 */
@media screen and (max-width:768px) {
    body.login {
        overflow-y: auto;
    }

    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-left-panel {
        flex: 1;
        padding: 40px 20px;
        justify-content: center;
        min-height: 100vh;
    }

    .login-right-panel {
        display: none;
    }

    .login-form-wrapper {
        max-width: 100%;
    }

    .login-form-wrapper form {
        padding: 30px 20px;
    }

    .login-panel {
        margin: 0 auto;
        width: 360px !important;
        padding: 20px
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }

        .login-panel form {
            margin-top: 20px
        }

    .login-footer, .form-control {
        margin-bottom: 10px
    }

    .login-panel .login-info ul {
        display: none;
    }
}

@media screen and (max-width:320px) {
    .login-panel {
        margin: 0 20px;
        width: auto
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }
}

.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    margin-top: 0;
    display: inline-block
}

    .checkbox-custom input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        cursor: pointer;
        z-index: 2;
        margin: -6px 0 0 0;
        top: 50%;
        left: 3px
    }

    .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-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;
        margin-bottom: 0;
        text-align: left
    }
