/* 登录页面样式 */
body.signin {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 900px;
    max-width: 90%;
    display: flex;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: 50px;
    right: 30px;
}

.login-logo {
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.login-logo h1 {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
    margin: 0;
}

.login-right {
    flex: 1;
    padding: 60px 50px;
    background: #fff;
}

.login-title {
    text-align: center;
    margin-bottom: 40px;
}

.login-title h4 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-title p {
    color: #999;
    font-size: 14px;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 18px;
}

.form-control {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #aaa;
}

.captcha-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.captcha-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* 验证码输入框错误样式 - 与账号密码保持一致 */
.captcha-row .form-group.error .form-control {
    border-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.05);
}

.captcha-row .form-group.error .form-control::placeholder {
    color: #ff4444;
}

.captcha-image {
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid #e1e1e1;
}

.captcha-image:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

/* 版权信息样式 - 固定在页面最底部 */
.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    padding: 15px 20px;
    line-height: 1.6;
    z-index: 10;
    background: rgba(0, 0, 0, 0.1);
}

.page-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
}

.page-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

/* 表单验证错误样式 - 只标红输入框，不显示提示文字 */
label.error {
    display: none !important; /* 隐藏错误提示文字 */
}

.form-group.error .form-control {
    border-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.05);
}

.form-group.error .form-control::placeholder {
    color: #ff4444;
}

/* Layer 弹层样式修复 - 确保文字清晰可见 */
.layui-layer .layui-layer-content {
    color: #333 !important;
    background-color: #fff !important;
}

.layui-layer-msg {
    color: #333 !important;
    background-color: #fff !important;
    border-color: #ddd !important;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .login-box {
        flex-direction: column;
        width: 90%;
    }

    .login-left {
        padding: 40px 30px;
    }

    .login-right {
        padding: 40px 30px;
    }

    .login-logo h1 {
        font-size: 24px;
    }
}
