/* 简洁朴素登录页样式 - 完全重写 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
html, body {
    height: 100%
}
body.signin {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}
.login-container {
    width: 100%;
    max-width: 400px
}
/* 头部区域 */
.login-header {
    text-align: center;
    margin-bottom: 32px
}
.login-logo {
    height: 48px;
    margin-bottom: 16px
}
.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 1px
}
.login-subtitle {
    font-size: 14px;
    color: #666
}
/* 表单容器 */
.login-form-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8
}
.form-heading {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0
}
/* 表单项 */
.form-item {
    margin-bottom: 20px
}
.input-wrapper {
    position: relative;
    display: block;
    width: 100%
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    z-index: 1;
    pointer-events: none
}
.input-field {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 42px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    display: block
}
.input-field:focus {
    border-color: #1890ff
}
.input-field::placeholder {
    color: #bfbfbf
}
/* 验证码区域 */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px
}
.captcha-input {
    flex: 1;
    min-width: 0
}
.captcha-image {
    flex-shrink: 0;
    width: 110px;
    height: 42px
}
.captcha-image a {
    display: block;
    width: 100%;
    height: 100%
}
.imgcode {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    background: #fafafa;
    object-fit: contain
}
.imgcode:hover {
    border-color: #1890ff
}
/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    min-height: 22px
}
.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none
}
.checkbox-label input[type="checkbox"] {
    display: none
}
.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fff;
    position: relative;
    margin-right: 8px;
    transition: all 0.2s
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #1890ff;
    border-color: #1890ff
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}
.checkbox-text {
    font-size: 13px;
    color: #666
}
.register-link {
    font-size: 13px;
    color: #666
}
.register-link a {
    color: #1890ff;
    text-decoration: none
}
.register-link a:hover {
    color: #40a9ff
}
/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 42px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #1890ff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.2s
}
.login-btn:hover {
    background: #40a9ff
}
.login-btn:active {
    background: #096dd9
}
.login-btn:disabled {
    background: #b5e6ff;
    cursor: not-allowed
}
/* 底部 */
.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #999
}
/* 错误提示 */
label.error {
    display: block;
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    text-align: left
}
/* 响应式 */
@media screen and (max-width: 480px) {
    body.signin {
        padding: 16px
    }
    .login-form-wrapper {
        padding: 24px 20px
    }
    .login-title {
        font-size: 24px
    }
    .captcha-image {
        width: 100px
    }
}
/* layer弹窗样式 */
body .layer-ext-moon-msg[type="dialog"] {
    min-width: 100px !important
}
body .layer-ext-moon-msg {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 0;
    border-radius: 4px
}
body .layer-ext-moon-msg .layui-layer-content {
    padding: 12px 20px;
    text-align: center
}
