/* Pingora auth kit — shared sign-in look. SOURCE OF TRUTH: shared/auth-kit/auth-kit.css.
   Products may override the --ak-* tokens; defaults are the Pingora brand. */
:root {
  --ak-brand: #123F46; --ak-on-brand: #fff; --ak-ink: #0f2a30; --ak-muted: #5b6f73; --ak-line: #cfdcda;
  --ak-card: #fff; --ak-focus: #2E7457; --ak-err: #a62626; --ak-err-bg: #fde8e8; --ak-ok-bg: #e5f4ec; --ak-ok: #1e5a40;
  --ak-radius: 16px;
}
.ak-card { box-sizing: border-box; width: 100%; max-width: 420px; margin: 24px auto; background: var(--ak-card); color: var(--ak-ink);
  border: 1px solid var(--ak-line); border-radius: var(--ak-radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.ak-card * { box-sizing: border-box; }
.ak-title { font-size: 1.5rem; line-height: 1.25; margin: 0; }
.ak-intro { margin: 0; color: var(--ak-muted); line-height: 1.5; }
.ak-field { display: flex; flex-direction: column; gap: 6px; }
.ak-label { font-weight: 600; font-size: .95rem; }
.ak-help { color: var(--ak-muted); font-size: .85rem; line-height: 1.45; }
.ak-input { font: inherit; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ak-line); border-radius: 10px; background: #fff; color: var(--ak-ink); }
.ak-input:focus-visible, .ak-eye:focus-visible, .ak-submit:focus-visible, .ak-google:focus-visible, .ak-link:focus-visible, .ak-check input:focus-visible {
  outline: 3px solid var(--ak-focus); outline-offset: 2px; }
.ak-pw { position: relative; }
.ak-pw .ak-input { padding-inline-end: 52px; }
.ak-eye { position: absolute; inset-block: 2px; inset-inline-end: 2px; width: 46px; border: 0; background: transparent; color: var(--ak-muted);
  border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.ak-eye:hover { color: var(--ak-ink); }
.ak-submit { font: inherit; font-weight: 700; min-height: 50px; border-radius: 12px; border: 1px solid var(--ak-brand); background: var(--ak-brand);
  color: var(--ak-on-brand); cursor: pointer; padding: 10px 16px; }
.ak-submit:disabled { opacity: .55; cursor: not-allowed; }
.ak-google { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 1px solid var(--ak-line); border-radius: 12px;
  background: #fff; color: #1f1f1f; font-weight: 600; text-decoration: none; }
.ak-google:hover { background: #f7f8f8; }
.ak-or { display: flex; align-items: center; gap: 12px; color: var(--ak-muted); font-size: .85rem; }
.ak-or::before, .ak-or::after { content: ""; flex: 1; border-top: 1px solid var(--ak-line); }
.ak-msg { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--ak-err-bg); color: var(--ak-err); line-height: 1.45; }
.ak-info { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--ak-ok-bg); color: var(--ak-ok); line-height: 1.45; }
.ak-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .95rem; }
.ak-link { color: var(--ak-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; }
.ak-foot { margin: 0; text-align: center; color: var(--ak-muted); font-size: .9rem; line-height: 1.5; }
.ak-legal { margin: 0; text-align: center; color: var(--ak-muted); font-size: .8rem; }
.ak-legal a { color: inherit; }
.ak-consent { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ak-consent .ak-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.45; font-size: .93rem; }
.ak-consent .ak-check > label { display: block; margin: 0; font-weight: 500; }
.ak-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ak-brand); }
.ak-check a { color: var(--ak-brand); font-weight: 600; }
.ak-req { color: var(--ak-err); }
@media (max-width: 480px) { .ak-card { margin: 12px auto; padding: 20px 16px; border-radius: 14px; } }
