/* adfabric.io — auth pages (signin, signup, forgot-password, choose-password, signed-out)
   Loaded alongside styles.css, which supplies the shared header/footer chrome. */

/* Auth pages */
.a-shell { display: flex; flex-direction: column; min-height: 100vh; }
.a-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.a-split { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.a-panel-light { background: #F6F5F1; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 26px; min-width: 0; }
.a-panel-dark { background: #131417; color: #C7C5BD; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.a-single { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.a-panel-single { max-width: 520px; width: 100%; padding: 0; gap: 22px; }
.a-steps-inline { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; border-top: 1px solid #E2E0D9; }
.a-steps-inline-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8A8880; margin-top: 14px; }
.a-step-inline { font-size: 13.5px; line-height: 1.5; color: #45443E; }
.a-step-inline strong { color: #131417; font-weight: 600; }
.a-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #2F4FE0; }
.a-eyebrow-dark { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #8E9BF0; }
.a-title-block { display: flex; flex-direction: column; gap: 10px; max-width: 44ch; }
.a-h1 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.a-lede { margin: 0; font-size: 16px; line-height: 1.6; color: #45443E; }
.a-form { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.a-card-form { background: #F6F5F1; border: 1px solid #D6D3CA; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.a-label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: #45443E; }
.a-input { font-size: 15px; padding: 12px 14px; border: 1px solid #C9C6BC; border-radius: 4px; background: #FFFFFF; color: #131417; }
.a-btn-primary { font-size: 15px; font-weight: 500; background: #2F4FE0; color: #FFFFFF; padding: 12px; border: 1px solid #2F4FE0; border-radius: 4px; cursor: pointer; }
.a-btn-primary:hover { background: #FFFFFF; color: #2F4FE0; }
.a-btn-secondary { font-size: 15px; font-weight: 500; background: #FFFFFF; color: #131417; padding: 12px; border: 1px solid #C9C6BC; border-radius: 4px; cursor: pointer; }
.a-error { font-size: 14px; color: #A6371F; display: none; }
.a-error.show { display: block; }
.a-fine { font-size: 13px; line-height: 1.6; color: #6C6B64; }
.a-switch { font-size: 14px; color: #45443E; border-top: 1px solid #E2E0D9; padding-top: 16px; }
.a-divider { display: flex; align-items: center; gap: 12px; color: #9A9891; font-size: 12px; }
.a-divider .line { flex: 1; height: 1px; background: #E2E0D9; }
.a-steps { display: flex; flex-direction: column; border: 1px solid #2C2E34; }
.a-step { padding: 18px 20px; border-bottom: 1px solid #2C2E34; display: flex; gap: 14px; }
.a-step:last-child { border-bottom: none; }
.a-step-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #6E7076; flex: none; padding-top: 2px; }
.a-step-body { display: flex; flex-direction: column; gap: 4px; }
.a-step-title { font-size: 15px; color: #F6F5F1; }
.a-step-desc { margin: 0; font-size: 14px; line-height: 1.5; }
.a-foot-mono { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #6E7076; }
.a-title-sm-block { display: flex; flex-direction: column; gap: 8px; }
.a-title-sm { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; }
.a-sub { margin: 0; font-size: 15px; color: #45443E; }
.a-page-wrap { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 22px; }
.a-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.a-forgot-link { font-size: 13px; }
.a-strength-bars { display: flex; gap: 4px; }
.a-strength-bar { flex: 1; height: 4px; background: #E2E0D9; border-radius: 2px; }
.a-strength-label { font-size: 13px; color: #6C6B64; }
.a-rules { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.a-rule { display: flex; gap: 8px; align-items: baseline; color: #9A9891; }
.a-rule.ok { color: #1E7A5A; }
.a-rule-mark { font-family: 'IBM Plex Mono', monospace; flex: none; }
.a-success-card { background: #F6F5F1; border: 1px solid #D6D3CA; padding: 28px; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.a-success-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.a-page-wrap-wide { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.a-info-card { width: 100%; max-width: 460px; background: #F6F5F1; border: 1px solid #D6D3CA; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.a-info-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.a-info-table { display: flex; flex-direction: column; border: 1px solid #E2E0D9; background: #FFFFFF; }
.a-info-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #EFEDE7; font-size: 14px; }
.a-info-row:last-child { border-bottom: none; }
.a-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.a-hidden { display: none; }
input.a-input:focus-visible, button:focus-visible { outline: 2px solid #2F4FE0; outline-offset: 1px; }

/* Auth pages — misc single-use inline styles moved here */
.auth-plain-label { font-size: 15px; color: #45443E; }
.a-switch-flush { border-top: none; padding-top: 0; }
.a-switch-pad-sm { padding-top: 12px; }
.a-link-primary { font-size: 15px; font-weight: 500; }
.a-link-secondary { font-size: 14px; color: #45443E; }
.a-title-sm-block-tight { margin-bottom: 22px; }
.a-sub-loose { line-height: 1.6; }
.a-page-wrap-narrow { max-width: 460px; }
.strength-meter { display: flex; flex-direction: column; gap: 8px; }
.status-ok { font-weight: 500; color: #1E7A5A; }

/* A hint under a single field, rather than under the whole form. */
.a-field-note {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 400;
  color: #6C6B64;
}


/* Two actions side by side, one dark and one outlined.
   They previously used different marketing classes — 15px text with 9px
   padding against 16px text with 14px padding — so they could never be the
   same height. One class, one set of measurements, and the border counted
   inside the box rather than added to it. */
.a-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.a-btn-row {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #131417;
  background: #FFFFFF;
  border: 1px solid #C9C6BC;
  border-radius: 4px;
  text-decoration: none;
}
.a-btn-row:hover { border-color: #9A9891; text-decoration: none; }
.a-btn-row-dark { background: #131417; border-color: #131417; color: #F6F5F1; }
.a-btn-row-dark:hover { background: #2C2E34; border-color: #2C2E34; }

/* Placeholders must read as hints, not as someone's details left in the form:
   faint and italic, so they never pass for a value already filled in. */
input::placeholder, textarea::placeholder { color: #B4B1A8; font-style: italic; opacity: 1; }

/* Sign in as a real button under the sign-up form, so returning customers find it at a glance. */
.a-switch-btn { display: flex; flex-direction: column; gap: 10px; }
.a-switch-btn .a-btn-row { width: 100%; }
