/* 认证页面通用样式 */
.auth-main {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 70px;
    background: #f8f8f8;
}

.auth-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-content {
    flex: 1;
    padding: 40px;
}

.auth-image {
    flex: 1;
    display: none;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

/* 表单样式 */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #c41230;
    outline: none;
}

.form-tip {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 12px;
}

.verification .verify-input {
    display: flex;
    gap: 10px;
}

.verification input {
    flex: 1;
}

.btn-verify {
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #c41230;
    color: #c41230;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.checkbox span {
    color: #666;
    font-size: 14px;
}

.checkbox a {
    color: #c41230;
    text-decoration: none;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
}

.auth-footer a {
    color: #c41230;
    text-decoration: none;
    font-weight: bold;
}

/* 登录页特有样式 */
.forgot-password {
    float: right;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin-top: 6px;
}

.forgot-password:hover {
    color: #c41230;
}

.remember-me {
    margin-top: -10px;
}

/* 响应式布局 */
@media (min-width: 768px) {
    .auth-image {
        display: block;
    }
}

@media (max-width: 480px) {
    .auth-content {
        padding: 30px 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
} 