:root {
  --bg: #f0f0f5;
  --card: #ffffff;
  --border: #e5e5e2;
  --text: #1a1a18;
  --muted: #6b6b67;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --success-bg: #f0fdf4;
  --success-text: #166534;
  --error-bg: #fef2f2;
  --error-text: #991b1b;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111; --card: #1c1c1e; --border: #2c2c2e; --text: #f0f0ec; --muted: #8e8e93; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.auth-wrap { width: 100%; max-width: 420px; }
.auth-card { background: var(--card); border-radius: 16px; padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.auth-logo { font-size: 20px; font-weight: 600; margin-bottom: 1.5rem; }
.auth-title { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 1.5rem; }
.alert { padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 1rem; }
.alert-error { background: var(--error-bg); color: var(--error-text); }
.alert-success { background: var(--success-bg); color: var(--success-text); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 10px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn-google:hover { background: var(--bg); }
.divider { display: flex; align-items: center; gap: 12px; margin: 1.25rem 0; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: var(--muted); }
.field input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 15px; outline: none; transition: border-color 0.15s; }
.field input:focus { border-color: var(--accent); }
.field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; font-size: 14px; }
.checkbox-label { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--muted); }
.btn-primary { width: 100%; padding: 11px; background: var(--accent); color: white; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: var(--accent-hover); }
.link { color: var(--accent); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }
.auth-footer { text-align: center; font-size: 14px; color: var(--muted); margin-top: 1.5rem; }
