/**
 * 注册页面独有样式
 * 需要配合 auth-common.css 使用
 */

/* ==================== 用户名检查状态样式 ==================== */
.username-checking {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

.username-available {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.username-taken {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ==================== 注册要求说明区域 ==================== */
.register-requirements {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 30px;
}

.register-requirements h4 {
    color: #1d4ed8;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-requirements ul {
    margin: 0;
    padding-left: 20px;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.6;
}

.register-requirements li {
    margin-bottom: 4px;
}

/* ==================== 年龄警告样式 ==================== */
.age-warning {
    text-align: center;
    font-size: 12px;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.age-warning.error {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.age-warning.success {
    color: #059669;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
}
