/* Koadi Design System — legacy entry stylesheet.
   Templates that link /assets/koadi.css get the full DS via imports below,
   plus the auth-page classes that only this file defines. */
@import url("/assets/koadi-ds.css?v=5");
@import url("/assets/koadi-site.css?v=5");

/* ── Auth pages (login / register / verify) ─────────────────────────── */
.auth-shell { display: flex; flex-direction: column; min-height: 100vh; }
.auth-main {
  flex: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 20px 72px;
  background:
    radial-gradient(900px 420px at 80% -10%, var(--brand-soft), transparent 60%),
    radial-gradient(600px 340px at 0% 40%, var(--action-soft), transparent 55%);
}
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-raised);
  padding: 34px 32px; width: 100%; max-width: 420px;
}
.auth-card.wide { max-width: 500px; }
.auth-header { text-align: center; margin-bottom: 22px; }
.auth-title { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.auth-sub { color: var(--text-2); font-size: 14.5px; margin: 0; }
.auth-divider {
  display: flex; align-items: center; gap: 12px; color: var(--text-3);
  font-size: 12.5px; margin: 20px 0 14px; text-transform: uppercase; letter-spacing: .06em;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--divider); }
.auth-foot { text-align: center; font-size: 14px; color: var(--text-2); }
.form-help { font-size: 12.5px; color: var(--text-3); }
.form-help svg { vertical-align: -2px; margin-right: 4px; }

/* Role selection cards on /register */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.role-grid label { cursor: pointer; }
.role-grid input[type="radio"] { position: absolute; opacity: 0; }
.role-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 12px; text-align: center; transition: border-color .15s, background .15s;
}
.role-card svg { width: 30px; height: 30px; }
.role-title { font-weight: 700; font-size: 14.5px; color: var(--text); }
.role-desc { font-size: 12.5px; color: var(--text-2); }
.role-grid input:checked + .role-card {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* OTP verify page */
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 18px 0; }
.otp-inputs input {
  width: 46px; height: 54px; text-align: center; font: 700 22px/1 var(--font);
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
}
.otp-inputs input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); outline: none; }
