/* 登录/注册页面样式 */

.auth-container {
    min-height: calc(100vh - 70px - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    padding: 50px 40px;
}

.auth-title {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 40px;
    font-size: 14px;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form .form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.auth-form .layui-input {
    height: 45px;
    line-height: 45px;
    padding: 0 15px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.auth-form .layui-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-form .layui-textarea {
    min-height: 100px;
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    resize: vertical;
}

.auth-form .layui-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-submit {
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: #fff;
    padding: 0 15px;
    color: #999;
    position: relative;
    z-index: 1;
    font-size: 13px;
}

/* 验证提示 */
.error-tip {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .layui-input,
.form-group.error .layui-textarea {
    border-color: #ff4d4f;
}

.form-group.error .error-tip {
    display: block;
}

/* 响应式 */
@media (max-width: 576px) {
    .auth-box {
        padding: 40px 30px;
    }
    
    .auth-title {
        font-size: 24px;
    }
}
