/* Public account entry screens. Loaded only for anonymous visitors. */
.auth-main {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  isolation: isolate;
  overflow: hidden;
  color: #091535;
  background: #f5f7fb;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(54,220,255,.09), transparent 52%);
  background-size: auto;
}
.auth-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  width: 100%;
  height: 7px;
  border-radius: 0;
  background: #091535;
}
.auth-main > .flash { width: min(480px, 100%); margin: 0 auto 18px; }
.auth-card {
  width: min(480px, 100%);
  min-width: 0;
  border: 1px solid #dce3ed;
  border-radius: 24px;
  padding: 34px 36px 30px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(9,21,53,.08), 0 2px 8px rgba(9,21,53,.025);
}
.auth-card-toolbar { gap: 12px; margin: 0 0 34px; }
.auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: #44506a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.auth-home-link:hover { color: #091535; }
.auth-home-link:hover svg { transform: translateX(-2px); }
.auth-home-link svg { flex: 0 0 17px; transition: transform .18s ease; }
.auth-language-switcher { gap: 4px; }
.auth-language-switcher a {
  min-width: 31px;
  min-height: 31px;
  padding: 5px 6px;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
  color: #66738b;
  font-size: 10px;
  letter-spacing: .04em;
}
.auth-language-switcher a:hover,
.auth-language-switcher a[aria-current="page"] { border-color: #dce6ef; color: #091535; background: #edf9fc; }
.auth-brand { display: block; width: 220px; max-width: 100%; margin: 0 auto 31px; }
.auth-brand img { display: block; width: 100%; height: auto; }
.auth-card h1 { color: #091535; margin-bottom: 22px; font-size: 29px; font-weight: 750; letter-spacing: -.045em; line-height: 1.15; }
.auth-card .field { gap: 7px; }
.auth-card .field label { color: #22324e; font-size: 13px; font-weight: 650; }
.auth-card input:not([type="checkbox"]):not([type="hidden"]) {
  min-height: 48px;
  border: 1px solid #d7dfeb;
  border-radius: 11px;
  padding: 12px 14px;
  background: #fff;
  color: #091535;
  box-shadow: none;
  font-size: 14px;
}
.auth-card input:not([type="checkbox"]):not([type="hidden"]):focus { border-color: #2789a2; outline: 3px solid rgba(54,220,255,.16); outline-offset: 1px; }
.auth-card .field small { color: #66738b; font-size: 11px; line-height: 1.6; }
.auth-card .btn-accent { min-height: 49px; border: 1px solid #36dcff; border-radius: 11px; background: #36dcff; color: #091535; box-shadow: none; font-size: 14px; font-weight: 750; }
.auth-card .btn-accent:hover { border-color: #091535; background: #091535; color: #fff; }
.auth-card > .muted { margin-top: 19px; color: #66738b; font-size: 12px; line-height: 1.7; }
.auth-card > .muted a { color: #253c61; text-underline-offset: 3px; }
.auth-card .trial-text-link { font-weight: 700; }
.auth-card .auth-google { margin: 0 0 22px; }
.auth-divider { color: #7b879a; font-size: 11px; }
.auth-home-link:focus-visible,
.auth-language-switcher a:focus-visible,
.auth-brand:focus-visible { outline: 2px solid #147e98; outline-offset: 4px; border-radius: 7px; }
@media (max-width: 520px) {
  .auth-main { justify-content: flex-start; padding: 36px 16px; }
  .auth-card { padding: 25px 22px; border-radius: 19px; }
  .auth-card-toolbar { margin-bottom: 28px; gap: 8px; }
  .auth-home-link { gap: 5px; font-size: 11px; }
  .auth-home-link svg { flex-basis: 15px; width: 15px; height: 15px; }
  .auth-language-switcher a { min-width: 27px; padding-inline: 4px; }
  .auth-brand { width: 200px; margin-bottom: 28px; }
  .auth-card h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .auth-home-link svg { transition: none; } }
