/* DANIAN client portal — brand styles (danian.co palette, Sep 3 2026).
   Extracted from the live site CSS: bg #FAFAF8, text #0E1413, primary teal
   #0F4C5C, muted #545B5A, hairline #F2F2EE, tint #E3EDEF, font Geist
   (self-hosted, fonts.css). Light, airy, premium-minimal — matches the
   danian.co look, NOT a dark admin theme. */
:root {
  --bg: #fafaf8;
  --card: #ffffff;
  --line: #f2f2ee;
  --text: #0e1413;
  --muted: #545b5a;
  --brand: #0f4c5c;
  --brand-deep: #0b3d4a;
  --tint: #edefef;
  --brand-tint: #e3edef;
  --ok: #1f6f4a;
  --err: #c0392b;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.shell { max-width: 460px; margin: 7vh auto; padding: 0 20px; }
.top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}
.brand {
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text);
  font-size: 15px;
}
.brand-dot { color: var(--brand); }
.sub { color: var(--muted); font-size: 13px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(14, 20, 19, 0.04);
}
.card h1 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.card .lead { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.names-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.stack label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.stack input {
  background: #fff;
  border: 1px solid var(--tint);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s linear;
}
.stack input::placeholder { color: #b8bebd; }
.stack input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.08);
}
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s linear;
}
.btn:hover { background: var(--brand-deep); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}
.btn.ghost:hover { background: var(--brand-tint); }
.row { display: flex; gap: 10px; margin-top: 6px; }
.switch {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.switch a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}
.switch a:hover { text-decoration: underline; }
.muted { color: var(--muted); font-size: 14px; }
.muted a { color: var(--brand); }
.form-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 13px;
}
.form-foot a { color: var(--brand); text-decoration: none; }
.form-foot a:hover { text-decoration: underline; }
.err { color: var(--err); margin: 0; font-size: 13.5px; }
.ok { color: var(--ok); margin: 0; font-size: 13.5px; }
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-size: 14.5px;
}
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-all; }
.turnstile { min-height: 65px; }
@media (max-width: 480px) {
  .shell { margin-top: 4vh; }
  .card { padding: 22px 18px; }
  .names-row { grid-template-columns: 1fr; }
}
