:root { --primary:#2563eb; --card:#ffffff; --text:#111827; --muted:#6b7280; --border:#e5e7eb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #0b1220; font-family: Inter, system-ui, sans-serif; color: var(--text); padding: 20px; }
.auth-card { background: var(--card); border-radius: 16px; padding: 28px; width: 100%; max-width: 380px;
  box-shadow: 0 12px 48px rgba(0,0,0,.45); }
.auth-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.auth-sub { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.hint-text { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border);
  border-radius: 9px; font: inherit; outline: none; }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.code-input { text-align: center; letter-spacing: 6px; font-size: 20px; font-weight: 600; }
.btn-primary { width: 100%; height: 44px; background: var(--primary); color: #fff; border: none;
  border-radius: 9px; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 6px; }
.btn-primary:hover { background: #3b82f6; }
.err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; border-radius: 9px;
  padding: 9px 12px; font-size: 13px; margin-bottom: 14px; }
.qr { display: flex; justify-content: center; margin: 8px 0 14px; }
.qr img { width: 200px; height: 200px; }
.secret { font-family: ui-monospace, monospace; font-size: 14px; background: #f3f4f6;
  border-radius: 8px; padding: 10px; text-align: center; letter-spacing: 1px;
  margin-bottom: 16px; word-break: break-all; }
