/* ============================================================
   Auth — single-card screens (forgot password, reset password)
   Same materials as the sign-in screen: bright cool workspace, dotted
   texture, one white card, and the near-black pill CTA with a white
   action badge that Brandglider uses for its primary calls to action.
   ============================================================ */

.auth-solo {
  min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative;
  background:
    radial-gradient(680px 480px at 84% -8%, rgba(42,123,251,.11), transparent 64%),
    radial-gradient(520px 420px at 8% 104%, rgba(122,92,255,.07), transparent 66%),
    var(--canvas);
}
.auth-solo::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11,18,32,.075) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(600px 520px at 50% 46%, transparent 32%, #000 100%);
  mask-image: radial-gradient(600px 520px at 50% 46%, transparent 32%, #000 100%);
}
.auth-solo-card {
  position: relative; z-index: 1; width: 100%; max-width: 452px; text-align: center;
  background: var(--surface); border-radius: var(--r-xl); padding: 38px 36px 30px;
  box-shadow: 0 1px 0 rgba(11,18,32,.04), 0 34px 74px rgba(11,18,32,.11), 0 0 0 1px var(--line-2);
}
.auth-solo-lockup { justify-content: center; margin-bottom: 24px; }

/* Status medallion */
.auth-ic {
  width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 18px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-glider); box-shadow: 0 12px 26px rgba(42,123,251,.34);
}
.auth-ic svg { width: 24px; height: 24px; }
.auth-ic-ok   { background: linear-gradient(140deg, #34C98A, #0FA36B); box-shadow: 0 12px 26px rgba(15,163,107,.30); }
.auth-ic-warn { background: linear-gradient(140deg, #F6A34A, #E1793F); box-shadow: 0 12px 26px rgba(225,121,63,.28); }

.auth-solo-card h2 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 8px; }
.auth-solo-card .sub { color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; margin-bottom: 24px; }

/* Forms sit left-aligned inside the centred card — centred labels read badly. */
.auth-form-left { text-align: left; }
.auth-form-left .field { margin-bottom: 15px; }
.auth-form-left .label { color: var(--ink-soft); letter-spacing: .1em; }
.f-wrap { position: relative; }
.f-wrap .input { padding-left: 42px; }
.f-ic {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--ink-mute); pointer-events: none; transition: color .16s ease;
}
.input:focus + .f-ic { color: var(--brand); }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--ink-mute); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px;
  transition: .16s ease;
}
.pw-toggle:hover { color: var(--brand-deep); background: var(--brand-wash); }
.pw-match { font-size: 12px; margin-top: 6px; min-height: 16px; }
.pw-match.ok { color: var(--green); }
.pw-match.no { color: var(--ink-mute); }

/* The signature CTA — also used as a link, hence the flex/inline handling. */
.btn-solo {
  position: relative; width: 100%; display: flex; align-items: center; justify-content: center;
  margin-top: 6px; padding: 16px 54px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1;
  letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 14px 30px rgba(11,18,32,.20); transition: .2s ease;
}
.btn-solo:hover { background: #05070E; box-shadow: 0 16px 36px rgba(42,123,251,.32); }
.btn-solo:active { transform: translateY(1px); }
.btn-solo .go {
  position: absolute; right: 7px; top: 7px; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; transition: .2s ease;
}
.btn-solo:hover .go { background: var(--brand-bright); color: #fff; transform: translateX(2px); }
.btn-solo .go svg { width: 15px; height: 15px; }

.alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-md);
  font-size: 13.5px; margin-bottom: 18px; text-align: left; line-height: 1.55;
}
.alert svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.alert-err  { background: var(--red-bg);   color: var(--red);   box-shadow: inset 0 0 0 1px rgba(225,75,63,.18); }
.alert-warn { background: var(--amber-bg); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(200,138,5,.20); }

.auth-hint {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--ink-mute); line-height: 1.6; text-align: left;
}
.auth-foot-link { margin-top: 20px; font-size: 13px; color: var(--ink-mute); }

@media (max-width: 520px) {
  .auth-solo { padding: 16px; }
  .auth-solo-card { padding: 30px 22px 26px; }
  .auth-solo-card h2 { font-size: 22px; }
}
