/* ACT2 login / TOTP screens (public mode only). Uses base.css tokens (OKX-style dark). */
.auth-body {
  min-height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 24px 16px; background: radial-gradient(ellipse at top, #15181d 0%, var(--bg) 60%);
}
.auth-card {
  width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 26px 24px 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.auth-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.auth-title { margin: 16px 0 12px; font-size: 18px; font-weight: 600; }
.auth-form { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.auth-label { color: var(--muted); font-size: 12px; margin-top: 6px; }
.auth-input {
  height: 38px; padding: 0 12px; background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); font-size: 14px; outline: none;
}
.auth-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(247, 147, 26, .18); }
.auth-code { font-size: 20px; letter-spacing: .3em; text-align: center; }
.auth-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; margin-top: 14px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
}
.auth-btn:hover { background: var(--accent-2); }
.auth-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); width: 100%; }
.auth-btn-ghost:hover { background: var(--panel-2); }
.auth-msg { margin: 0 0 10px; padding: 9px 11px; border-radius: var(--radius); font-size: 12.5px; }
.auth-msg.is-error { background: var(--down-bg); color: var(--down); border: 1px solid rgba(246, 70, 93, .35); }
.auth-hint { color: var(--muted); font-size: 12px; margin: 10px 0 0; line-height: 1.55; }
.auth-hint.warn { color: var(--warn); }
.auth-qr { display: flex; justify-content: center; margin: 14px 0 4px; }
.auth-qr img { background: #fff; border-radius: 6px; padding: 6px; }
.auth-secret {
  margin: 6px 0 0; padding: 8px 10px; background: var(--panel-2); border: 1px dashed var(--line-2);
  border-radius: var(--radius); font-size: 13px; letter-spacing: .06em; word-break: break-all; text-align: center;
}
.auth-link { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }
.auth-link:hover { color: var(--text); }
/* header logout (base.html, public mode) */
.act-logout { margin: 0; }
.act-logout button {
  height: 24px; padding: 0 9px; background: transparent; border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--muted); font-size: 11.5px; cursor: pointer;
}
.act-logout button:hover { color: var(--text); border-color: var(--muted); }
