/* 注册页面样式 */

/* 主要内容区 */
.main-content {
    padding: 40px 0;
}

.register-container {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.register-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 注册表单 */
.register-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #999;
}

.form-options {
    margin-bottom: 25px;
}

.agree-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.agree-terms input {
    margin-top: 2px;
    flex-shrink: 0;
}

.agree-terms label {
    color: #666;
    font-weight: normal;
    margin-bottom: 0;
    flex: 1;
}

.agree-terms a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agree-terms a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.form-actions {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0052a3;
}

.btn-full {
    width: 100%;
}

/* 分隔线 */
.register-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.register-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.register-divider span {
    position: relative;
    background: #fff;
    padding: 0 20px;
    color: #999;
    font-size: 0.9rem;
}

/* 社交注册 */
.social-register {
    margin-bottom: 30px;
}

.social-register h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn:hover {
    background: #f0f0f0;
    border-color: #0066cc;
    color: #0066cc;
}

.social-icon {
    font-size: 1.2rem;
}

/* 注册底部 */
.register-footer {
    text-align: center;
}

.register-footer p {
    color: #666;
}

.register-footer a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-footer a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* 侧边栏 */
.register-sidebar {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
}

.sidebar-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.register-tips {
    list-style: none;
    margin-bottom: 30px;
}

.register-tips li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.register-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.register-benefits {
    margin-top: 30px;
}

.register-benefits h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.register-benefits ul {
    list-style: none;
}

.register-benefits li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.register-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .register-container {
        padding: 30px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
    }
    
    .agree-terms {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .agree-terms input {
        margin-top: 0;
    }
}