/* 认证页面专用样式 */

/* 认证页面英雄区域 */
.auth-hero {
    background: white;
    color: #333;
    text-align: center;
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.auth-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.auth-hero p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* 认证内容区域 */
.auth-content {
    padding: 4rem 0;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.auth-content .container {
    max-width: 600px;
}

/* 标签切换 */
.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    background: none;
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #f8f9fa;
    color: #333;
}

/* 认证表单 */
.auth-form {
    display: none;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* 用户面板 */
.user-panel {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.user-panel h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.user-avatar span {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.user-details h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.user-details p {
    color: #666;
    font-size: 1rem;
}

.user-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.user-actions .btn {
    width: auto;
    padding: 0.8rem 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-content .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .auth-form {
        padding: 2rem;
    }
    
    .auth-hero h1 {
        font-size: 2.5rem;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .user-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-hero {
        padding: 2rem 0;
    }
    
    .auth-hero h1 {
        font-size: 2rem;
    }
    
    .auth-content {
        padding: 2rem 0;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}
