/* css/auth.css — 登录/注册/个人中心/管理后台共用样式 */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg-dark: #0a0a12;
    --bg-card: rgba(30, 30, 45, 0.95);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --error: #ef4444;
    --success: #22c55e;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
}
.bg-grid {
    position: fixed; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.glow-orb {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    filter: blur(120px); opacity: 0.12; z-index: -1; pointer-events: none;
}
.orb-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); top: -150px; right: -150px; }
.orb-2 { background: linear-gradient(135deg, #8b5cf6, #d946ef); bottom: -150px; left: -150px; }
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: rgba(30,30,45,0.96); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary); padding: 12px 24px; border-radius: 12px;
    opacity: 0; transition: all 0.3s; z-index: 1000; pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(239,68,68,0.4); }
.toast.success { border-color: rgba(34,197,94,0.4); }
