* { box-sizing: border-box; }
html, body { margin:0; height:100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0e1116; color: #e6edf3; }
.auth-wrap { min-height:100%; display:flex; align-items:center; justify-content:center; padding:24px; }
.auth-card {
  width:100%; max-width:380px;
  background: #161b22; border:1px solid #30363d; border-radius:12px;
  padding:32px 28px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.auth-card h1 { margin:0 0 4px; font-size:22px; font-weight:600; }
.auth-card .subtitle { margin:0 0 24px; color:#8b949e; font-size:14px; }
.field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.field label { font-size:12px; color:#8b949e; text-transform:uppercase; letter-spacing:.05em; }
.field input {
  background:#0e1116; border:1px solid #30363d; color:#e6edf3;
  padding:10px 12px; border-radius:6px; font-size:14px; outline:none;
}
.field input:focus { border-color:#58a6ff; box-shadow:0 0 0 3px rgba(88,166,255,.15); }
.btn-primary {
  width:100%; background:#238636; color:#fff; border:none; border-radius:6px;
  padding:11px 16px; font-size:14px; font-weight:600; cursor:pointer; margin-top:4px;
}
.btn-primary:hover { background:#2ea043; }
.btn-primary:disabled { background:#30363d; cursor:wait; }
.error-box { background:#3a1d1f; border:1px solid #6e2429; color:#ff7b72; padding:10px 12px; border-radius:6px; font-size:13px; margin-bottom:16px; display:none; }
.error-box.show { display:block; }
.auth-foot { margin-top:18px; text-align:center; font-size:13px; color:#8b949e; }
.auth-foot a { color:#58a6ff; text-decoration:none; }
.hint { font-size:12px; color:#8b949e; margin-top:4px; }
.code-input { letter-spacing: 6px; text-align:center; font-size:18px !important; }
