/* ============================================================
   Auth pages (login, signup) — extends landing.css
   ============================================================ */
.auth-main {
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-2);
  background-image: radial-gradient(rgba(11, 18, 32, 0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: var(--space-5) var(--space-4);
}

.auth-card__head { margin-bottom: var(--space-4); text-align: center; }
.auth-card__head h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.auth-card__head p { font-size: 14.5px; color: var(--ink-soft); }

.auth-form { display: flex; flex-direction: column; gap: var(--space-3); }

.auth-step { display: flex; flex-direction: column; gap: var(--space-3); }
.auth-step[hidden] { display: none; }

.auth-step__back {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.auth-step__back:hover { color: var(--teal-deep); }

.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.auth-field input {
  height: 46px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.auth-field input::placeholder { color: var(--ink-faint); }
.auth-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.auth-password { position: relative; }
.auth-password input { width: 100%; padding-right: 44px; }
.auth-password__toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 46px;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.auth-password__toggle:hover { color: var(--navy); }
.auth-password__toggle.is-active { color: var(--teal-deep); }
.auth-password__toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--radius-s); }

.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.auth-field__hint-link { font-size: 12.5px; color: var(--teal-deep); text-decoration: none; }
.auth-field__hint-link:hover { text-decoration: underline; }

.auth-field__match-hint {
  font-size: 12.5px;
  min-height: 1.2em;
}
.auth-field__match-hint[data-state="match"] { color: var(--teal-deep); }
.auth-field__match-hint[data-state="mismatch"] { color: #C0392B; }

.auth-field__helper {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.auth-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--teal-deep);
  cursor: pointer;
}
.auth-checkbox label { cursor: pointer; }
.auth-checkbox a { color: var(--teal-deep); text-decoration: none; }
.auth-checkbox a:hover { text-decoration: underline; }

.auth-form .btn { width: 100%; height: 48px; margin-top: var(--space-1); }

.auth-form__status {
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  min-height: 1.3em;
}
.auth-form__status[data-state="error"] { color: #C0392B; }
.auth-form__status[data-state="success"] { color: var(--teal-deep); }

.auth-card__foot {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.auth-card__foot a { color: var(--teal-deep); font-weight: 600; text-decoration: none; }
.auth-card__foot a:hover { text-decoration: underline; }

/* ============================================================
   Dashboard shell (placeholder data — see landing.css .dash-card
   for the actual widget styling, reused here)
   ============================================================ */
.dashboard-header {
  background: var(--navy);
  border-bottom: 1px solid var(--line-on-dark);
}
.dashboard-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.dashboard-header__user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.dashboard-header__name {
  font-size: 14px;
  color: var(--navy-muted);
}
.dashboard-header__name strong { color: var(--white); font-weight: 600; }
.dashboard-header__name { display: none; }
@media (min-width: 640px) {
  .dashboard-header__name { display: inline; }
}

.dashboard-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.dashboard-main {
  background: var(--navy);
  min-height: calc(100dvh - 72px);
  padding: var(--space-5) 0 var(--space-7);
}
.dashboard-main .dash-card { max-width: 640px; margin: 0 auto; }

.dashboard-greeting {
  max-width: 640px;
  margin: 0 auto var(--space-4);
}
.dashboard-greeting h1 {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.dashboard-greeting p { font-size: 15px; color: var(--navy-muted); }

.dashboard-placeholder-note {
  max-width: 640px;
  margin: 0 auto var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-m);
  background: rgba(23, 195, 178, 0.1);
  border: 1px solid rgba(23, 195, 178, 0.25);
  color: #7FDDD1;
  font-size: 13.5px;
  text-align: center;
}
