/* Signed-out MOMENT presentation. Field names, validation and authentication flow stay in the templates. */
.auth-page, .auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-page {
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: #f6f8fc;
  color: var(--ink);
  font-family: "Fb Alfi", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: right;
  color-scheme: light;
}
.auth-page .auth-layout {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.12fr);
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.auth-page .auth-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 36px 52px 26px;
  background: #f6f8fc;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.auth-page .auth-card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 20px; margin: 0; padding: 0; background: transparent; overflow: visible; }
.auth-page .auth-card-header::after { display: none; }
.auth-page .auth-brand,
.auth-page .auth-brand picture { display: block; flex: none; margin: 0; }
.auth-page .auth-brand img { display: block; width: 111px; max-width: 100%; height: auto; }
.auth-page .auth-edition { flex: none; color: #687891; font: 500 9px/1.9 Arial, sans-serif; letter-spacing: .11em; }
.auth-page .auth-mobile-line { display: none; }
.auth-page .auth-form-content { width: 100%; max-width: 395px; min-width: 0; margin: auto; padding: 48px 0; }
.auth-page .auth-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 23px; color: #62728c; font-size: 13px; }
.auth-page .auth-kicker > span { flex: none; width: 7px; height: 7px; background: var(--electric); border-radius: 50%; box-shadow: 0 0 0 4px #e5eeff; }
.auth-page .auth-card h1 { margin: 0 0 16px; color: var(--navy); font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -.05em; overflow-wrap: break-word; }
.auth-page .auth-form-content > p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; }
.auth-page .auth-form-content > p.muted { color: #5f718b; }
.auth-page .auth-card form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  min-width: 0;
  margin: 28px 0 0;
}
.auth-page .auth-card label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.auth-page .auth-card input:not([type=hidden]) {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #b8c6da;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
  transition: border-color .18s, box-shadow .18s;
}
.auth-page .auth-card input:hover { border-color: #889fbe; }
.auth-page .auth-card input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px #e2ecff; }
.auth-page .auth-card input:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; }
.auth-page .auth-card input:-webkit-autofill { -webkit-text-fill-color: #182b51; -webkit-box-shadow: 0 0 0 1000px #fff inset; caret-color: #182b51; }
.auth-page .auth-card input:autofill { background: #fff; color: #182b51; }
.auth-page .auth-card button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  margin: 3px 0 0;
  padding: 14px 19px;
  border: 1px solid var(--brand);
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  touch-action: manipulation;
}
.auth-page .auth-card button:hover { background: var(--navy); border-color: var(--navy); }
.auth-page .auth-card button:disabled { cursor: default; }
.auth-page .auth-card button:focus-visible,
.auth-page a:focus-visible { outline: 3px solid var(--electric); outline-offset: 4px; }
.auth-page .auth-card button::after { flex: none; font-size: 22px; }
.auth-page .auth-form-content > .small { margin: 21px 0 0; color: #62728c; font-size: 12px; line-height: 1.7; }
.auth-page .auth-card .notice { margin: 18px 0; padding: 13px 15px; border-radius: 9px; font-size: 14px; overflow-wrap: anywhere; }
.auth-page .auth-card .otp {
  direction: ltr;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .3em;
  text-indent: .3em;
}
.auth-page .auth-card .qr { display: block; width: 216px; max-width: 100%; height: auto; margin: 22px auto; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.auth-page .auth-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 17px; padding-block: 8px; color: var(--brand); font-size: 14px; text-underline-offset: 3px; }
.auth-page .auth-card-footer { display: flex; align-items: center; gap: 9px; min-width: 0; padding-top: 19px; border-top: 1px solid #dbe2ed; color: #62728c; font-size: 11px; line-height: 1.6; }
.auth-page .auth-card-footer .ui-icon { flex: none; width: 14px; height: 14px; }
.auth-page .auth-card-footer > span { min-width: 0; }
.auth-page .auth-footer-mark { display: block; flex: none; width: 24px; height: auto; margin-inline-start: auto; }

/* The original brand poster gets room to breathe without competing with the form. */
.auth-page .auth-story { position: relative; min-width: 0; min-height: 760px; padding: 38px 52px; overflow: hidden; background: var(--brand); color: #fff; }
.auth-page .poster-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth-page .poster-topline > span:first-child { color: #d8e7ff; }
.auth-page .poster-spark { color: var(--lemon); }
.auth-page .auth-story-copy { margin-top: 80px; }
.auth-page .auth-story-eyebrow { margin: 0 0 23px; color: #d8e7ff; font-size: 15px; }
.auth-page .auth-story h2 { margin: 0; font-size: clamp(80px, 8.6vw, 138px); line-height: .97; letter-spacing: -.06em; color: #fff; }
.auth-page .auth-story h2 span { color: var(--lemon); }
.auth-page .poster-disc { left: -95px; bottom: -75px; width: 480px; height: 480px; background: var(--lemon); }
.auth-page .poster-disc img { width: 332px; max-width: 80%; height: auto; }
.auth-page .poster-note { right: 52px; bottom: 206px; width: 94px; height: 94px; }
.auth-page .poster-bottomline { right: 52px; left: 52px; bottom: 28px; }
.auth-page .poster-bottomline p { max-width: 240px; color: #dbe8ff; }

@media (min-width: 1500px) {
  .auth-page .auth-card { padding: 42px 72px 30px; }
  .auth-page .auth-form-content { max-width: 410px; }
  .auth-page .auth-story { padding: 42px 70px; }
  .auth-page .poster-disc { width: 570px; height: 570px; bottom: -92px; left: -95px; }
  .auth-page .poster-disc img { width: 390px; }
  .auth-page .poster-note { right: 70px; bottom: 222px; }
  .auth-page .poster-bottomline { right: 70px; left: 70px; }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .auth-page .auth-layout { grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr); }
  .auth-page .auth-card { padding: 30px 30px 24px; }
  .auth-page .auth-card h1 { font-size: 42px; }
  .auth-page .auth-form-content { padding-block: 42px; }
  .auth-page .auth-story { padding: 32px 30px; }
  .auth-page .auth-story h2 { font-size: 78px; }
  .auth-page .auth-story-copy { margin-top: 100px; }
  .auth-page .poster-disc { width: 370px; height: 370px; left: -125px; bottom: -44px; }
  .auth-page .poster-disc img { width: 258px; }
  .auth-page .poster-note { right: 30px; bottom: 210px; width: 78px; height: 78px; font-size: 15px; }
  .auth-page .poster-bottomline { right: 30px; left: 30px; }
  .auth-page .poster-bottomline p { max-width: 180px; font-size: 12px; }
  .auth-page .poster-bottomline > span { display: none; }
}
@media (max-width: 700px) {
  .auth-page .auth-layout { display: flex; flex-direction: column; width: 100%; }
  .auth-page .auth-card { flex: 1; min-height: 100vh; min-height: 100svh; padding: 0; }
  .auth-page .auth-story { display: none; }
  .auth-page .auth-card-header {
    position: relative;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 20px;
    margin: 0;
    padding: 23px 25px 25px;
    padding-top: calc(23px + env(safe-area-inset-top, 0px));
    padding-right: calc(25px + env(safe-area-inset-right, 0px));
    padding-left: calc(25px + env(safe-area-inset-left, 0px));
    overflow: hidden;
    background: var(--brand);
  }
  .auth-page .auth-card-header::after { content: ""; display: block; position: absolute; left: -38px; bottom: -80px; width: 170px; height: 170px; border: 1px solid #577fc1; border-radius: 50%; pointer-events: none; }
  .auth-page .auth-brand img { width: 150px; }
  .auth-page .auth-edition { color: #d4e5ff; font-size: 8px; }
  .auth-page .auth-mobile-line { display: block; flex-basis: 100%; margin: 0; color: var(--lemon); font-size: 36px; line-height: 1; letter-spacing: -.04em; }
  .auth-page .auth-form-content { max-width: 440px; width: 100%; margin: auto; padding: 36px 25px; padding-right: calc(25px + env(safe-area-inset-right, 0px)); padding-left: calc(25px + env(safe-area-inset-left, 0px)); }
  .auth-page .auth-card h1 { font-size: 42px; margin-bottom: 15px; }
  .auth-page .auth-kicker { margin-bottom: 20px; font-size: 12px; }
  .auth-page .auth-card form { gap: 19px; margin-top: 26px; }
  .auth-page .auth-card input:not([type=hidden]) { font-size: 17px; min-height: 52px; }
  .auth-page .auth-card .otp { font-size: 28px; }
  .auth-page .auth-card button { min-height: 54px; }
  .auth-page .auth-card-footer { flex-shrink: 0; margin: 0 25px 22px; margin-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); padding-top: 18px; font-size: 11px; }
  .auth-page .auth-form-content > .small { font-size: 12px; }
}
@media (max-width: 360px) {
  .auth-page .auth-card-header { padding-right: calc(21px + env(safe-area-inset-right, 0px)); padding-left: calc(21px + env(safe-area-inset-left, 0px)); }
  .auth-page .auth-form-content { padding: 31px 21px; padding-right: calc(21px + env(safe-area-inset-right, 0px)); padding-left: calc(21px + env(safe-area-inset-left, 0px)); }
  .auth-page .auth-brand img { width: 139px; }
  .auth-page .auth-card h1 { font-size: 36px; }
  .auth-page .auth-mobile-line { font-size: 33px; }
  .auth-page .auth-card-footer { margin-inline: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *,
  .auth-page *::before,
  .auth-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
