/* ========================================
   认证页面样式（登录/注册）
   ======================================== */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo {
    justify-content: center;
    color: var(--dark);
    margin-bottom: 15px;
}

.auth-header h2 {
    font-size: 1.5rem;
    color: #333;
}

.auth-header p {
    color: var(--gray);
    margin-top: 5px;
}

/* QQ头像 */
.qq-avatar-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #12B7F5;
}

.qq-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 表单 */
.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    font-size: 0.9rem;
    color: #555;
}

.auth-form input {
    padding: 12px 14px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius);
    width: 100%;
    font-size: 0.95rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* 选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.forgot-link {
    color: var(--primary);
}

.forgot-link:hover {
    text-decoration: underline;
}

/* 分隔线 */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--gray-light);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    padding: 0 15px;
}

/* 底部 */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--gray);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* 绑定标签 */
.bind-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.bind-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    color: var(--gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
}

.bind-tabs .tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* 响应式 */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px 20px;
    }
    
    .verification-group {
        flex-direction: column;
    }
    
    .verification-group .btn {
        width: 100%;
    }
}
