/* Sign in / sign up (templates/auth.html). Built on ippo.css tokens. */

.auth {
  width: 100%; max-width: 440px; margin: var(--s4) auto 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s2);
  padding: var(--s5) var(--s4);
}
.auth-switch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 6px; }
.auth-mode { border: 0; background: none; padding: 0 2px; font: inherit; font-weight: 700; color: var(--accent-ink); }
.auth-form { width: 100%; margin-top: var(--s2); text-align: left; }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 var(--s2); }
.auth-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.auth-forgot { margin-top: calc(-1 * var(--s1)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s3); }
.auth-forgot .link { display: inline-flex; align-items: center; min-height: 44px; }
/* Age, terms and sharing at signup (and on the terms accept screen) */
.auth-check { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.auth-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--primary); }
.auth-check a { font-weight: 600; }
.auth-check-s { display: block; margin-top: 2px; color: var(--ink-3); }
/* Forgot / reset password */
.auth-done { display: flex; flex-direction: column; align-items: center; gap: var(--s3); width: 100%; }

.verify { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); }
.verify-email { overflow-wrap: anywhere; color: var(--ink); }

/* Terms accept screen (templates/terms_accept.html) */
.ta-sum { width: 100%; margin: var(--s2) 0 0; padding-left: 1.2em; text-align: left; color: var(--ink-2); font-size: var(--fs-small); display: grid; gap: var(--s1); }
.ta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s4); margin: 0; }
.ta-out { width: 100%; }
