/* Login / Register page — styled after the werrcm.com homepage
   (navy-to-green hero, IBM Plex Sans, blue→green gradients). */

.auth-page {
  --navy: #0c1c30;
  --navy-2: #112740;
  --green: #23a645;
  --green-dark: #157a32;
  --green-bright: #39e46f;
  --green-light: #5ef08a;
  --mint: #c8f7d6;
  --brand-blue: #1f72d0;
  --blue-deep: #0a4890;
  --slate: #aec5dc;
  --line: #dbe1e7;
  --blue-ring: rgba(35, 166, 69, 0.22);
  --font: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;

  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: #232b33;
  background: #fff;
}

/* ---------- Header (white, like the homepage's) ---------- */

.auth-top {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 4px;
  border-bottom: 1px solid #eceff2;
  background:
    linear-gradient(90deg, var(--brand-blue) 0%, #2bb84d 50%, var(--green-bright) 100%) top / 100% 4px no-repeat,
    rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}
.auth-top__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px; /* lines the logo up with the hero */
  margin: 0 auto;
  padding: 12px 32px;
}
.auth-top__logo { display: block; flex: 0 0 auto; }
.auth-top__logo img { display: block; width: auto; height: 38px; }
.auth-top__tag {
  padding: 4px 10px;
  border: 1px solid #c8f7d6;
  border-radius: 999px;
  background: #ecfcf1;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.auth-top__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.auth-top__actions a {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, filter 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-top__actions a:hover { transform: translateY(-1px); }
.auth-top__ghost { border: 1.5px solid var(--blue-deep); background: #fff; color: var(--blue-deep); }
.auth-top__ghost:hover { background: #e8f1fb; }
.auth-top__cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #163150, var(--green)); color: #fff; }
.auth-top__cta:hover { filter: brightness(1.12); }
/* Light sweep across Register, as on the homepage's primary button */
.auth-top__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: wrShine 4.5s ease-in-out infinite;
}
.auth-top__actions a:focus-visible { outline: 3px solid var(--blue-ring); outline-offset: 2px; }

/* ---------- Hero area (navy-to-green, as on the homepage) ---------- */

.auth-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 88% 15%, rgba(57, 228, 111, 0.45), transparent 60%),
    radial-gradient(800px 600px at 60% 60%, rgba(43, 184, 77, 0.4), transparent 65%),
    radial-gradient(800px 600px at 0% 100%, rgba(31, 114, 208, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0d4a22 100%);
}

/* ---------- Animated background ---------- */

/* Soft glow that follows the mouse across the hero, as on the homepage (login.js moves it) */
.auth-glow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(94, 240, 138, 0.15) 0%, rgba(31, 114, 208, 0.08) 35%, transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 0.4s;
  will-change: transform;
}
.auth-glow.is-on { opacity: 1; }

.auth-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.auth-bg span { position: absolute; border-radius: 50%; filter: blur(60px); }
.auth-bg .b1 { width: 520px; height: 520px; right: -8%; top: -12%; background: rgba(57, 228, 111, 0.45); animation: wrDrift1 18s ease-in-out infinite; }
.auth-bg .b2 { width: 460px; height: 460px; left: -6%; bottom: -20%; background: rgba(31, 114, 208, 0.55); animation: wrDrift2 22s ease-in-out infinite; }
.auth-bg .b3 { width: 380px; height: 380px; left: 45%; top: 35%; background: rgba(43, 184, 77, 0.35); animation: wrDrift3 16s ease-in-out infinite; }
.auth-bg .dots {
  inset: 0;
  border-radius: 0;
  filter: none;
  opacity: 0.3;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
}

.auth-bg .dots { animation: wrGrid 6s linear infinite; }
.auth-bg .orbit {
  right: -140px;
  top: -140px;
  width: 640px;
  height: 640px;
  filter: none;
  border: 1px dashed rgba(120, 240, 160, 0.25);
  animation: wrSpin 80s linear infinite;
}
.auth-bg .pulse {
  left: 72%;
  top: 46%;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  filter: none;
  border: 1px solid rgba(120, 240, 160, 0.45);
  opacity: 0;
  animation: wrPulse 6s ease-out infinite;
}
.auth-bg .pulse.p2 { animation-delay: 2s; }
.auth-bg .pulse.p3 { animation-delay: 4s; }
.auth-bg .streak {
  left: 0;
  top: 14%;
  width: 28vw;
  height: 2px;
  border-radius: 2px;
  filter: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(120, 240, 160, 0.8), transparent);
  animation: wrStreak 5s linear infinite;
}
.auth-bg .streak.s2 { top: 38%; animation-duration: 6.7s; animation-delay: 1.3s; }
.auth-bg .streak.s3 { top: 62%; animation-duration: 8.4s; animation-delay: 2.6s; }
.auth-bg .streak.s4 { top: 86%; animation-delay: 3.9s; }

@keyframes wrDrift1 { 50% { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes wrDrift2 { 50% { transform: translate(140px, -60px) scale(0.9); } }
@keyframes wrDrift3 { 50% { transform: translate(-80px, -100px); } }
@keyframes wrGrid { to { background-position: 48px 48px; } }
@keyframes wrSpin { to { transform: rotate(360deg); } }
@keyframes wrPulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes wrStreak { 0% { transform: translateX(-30vw); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateX(110vw); opacity: 0; } }

/* ---------- Layout ---------- */

.auth {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px 56px;
}

@media (min-width: 960px) {
  .auth {
    min-height: calc(100vh - 140px); /* header + band */
    padding: 72px 32px 88px;
  }
}

/* ---------- Hero ---------- */

.auth-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  animation: wrRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.auth-hero__title {
  margin: 6px 0 0;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.auth-hero__title span {
  background: linear-gradient(90deg, var(--green-light) 0%, #9af5b8 40%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-hero__lead {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  text-wrap: pretty;
}
.auth-hero__lead strong { color: #fff; font-weight: 600; }

/* The four tracks light up in order, then the "Certified" step. */
.auth-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin: 8px 0 0;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  list-style: none;
  backdrop-filter: blur(6px);
}
.auth-steps::before {
  content: "";
  position: absolute;
  left: calc(10% + 18px);
  right: calc(10% + 18px);
  top: 41px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--green-bright));
  opacity: 0.55;
}
.auth-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.auth-steps b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--green-bright);
  border-radius: 50%;
  background: var(--navy-2);
  color: var(--green-light);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  animation: wrLit 6s ease-in-out infinite;
}
.auth-steps li:nth-child(2) b { animation-delay: 0.6s; }
.auth-steps li:nth-child(3) b { animation-delay: 1.2s; }
.auth-steps li:nth-child(4) b { animation-delay: 1.8s; }
.auth-steps li:nth-child(5) b { animation-delay: 2.4s; }
.auth-steps .is-final b { background: var(--green); border-color: var(--green); color: #fff; font-size: 16px; }
.auth-steps span { font-size: 13px; font-weight: 600; line-height: 1.3; color: #e8f1fb; }

@keyframes wrLit {
  0%, 45%, 100% { transform: none; box-shadow: none; }
  8%, 35% {
    transform: scale(1.14);
    background: linear-gradient(135deg, var(--brand-blue), var(--green));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(57, 228, 111, 0.18), 0 8px 22px -6px rgba(35, 166, 69, 0.7);
  }
}

/* Highlight strip, like the homepage's results band */
.auth-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 560px;
  margin: 4px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  list-style: none;
  text-align: left;
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(120, 240, 160, 0.35), transparent 70%),
    linear-gradient(100deg, var(--blue-deep) 0%, var(--green-dark) 60%, #1a8536 100%);
  box-shadow: 0 24px 50px -26px rgba(21, 122, 50, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* A light streak runs across the strip */
.auth-stats::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-20deg);
  animation: wrSweep 6s ease-in-out infinite;
}
.auth-stats li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
}
.auth-stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.15); }
.auth-stats li.is-ring { flex-direction: row; align-items: center; gap: 12px; }
.auth-stats strong {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.auth-stats .is-ring strong {
  background: linear-gradient(90deg, #fff 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-stats span { display: block; font-size: 13px; line-height: 1.35; color: var(--mint); }
.auth-stats svg { flex: 0 0 auto; filter: drop-shadow(0 0 8px rgba(57, 228, 111, 0.55)); }
.auth-stats__ring { animation: wrRing 1.8s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes wrSweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }

/* ---------- Sign-in dialog ---------- */

.auth-dialog {
  width: min(520px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: transparent;
  overscroll-behavior: contain;
  /* On a very short screen the card still scrolls, but without a scrollbar cutting into its rounded corner. */
  scrollbar-width: none;
}
.auth-dialog::-webkit-scrollbar { display: none; }
.auth-dialog[open] { animation: wrRise 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.auth-dialog::backdrop { background: rgba(12, 28, 48, 0.6); backdrop-filter: blur(3px); }

.auth-card__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.auth-card__close:hover { background: rgba(255, 255, 255, 0.28); }
.auth-card__close:focus-visible { outline: 3px solid rgba(94, 240, 138, 0.7); outline-offset: 2px; }

@keyframes wrRise { from { opacity: 0; transform: translateY(22px); } }
@keyframes wrRing { from { stroke-dasharray: 0 132; } }

@media (max-width: 640px) {
  .auth-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 18px 8px 14px; }
  .auth-steps::before { top: 35px; }
  .auth-steps b { width: 34px; height: 34px; font-size: 12px; }
  .auth-steps span { font-size: 11px; }
  .auth-hero__lead { font-size: 16px; }
  .auth-stats li { padding: 14px 10px; }
  .auth-stats li.is-ring { flex-direction: column; align-items: flex-start; gap: 6px; }
  .auth-stats svg { width: 34px; height: 34px; }
  .auth-stats strong { font-size: 24px; }
  .auth-stats span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-bg span,
  .auth-hero,
  .auth-dialog[open],
  .auth-top__cta::after,
  .auth-steps b,
  .auth-stats::after,
  .auth-stats__ring,
  .btn-cta::after { animation: none; }
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(120, 240, 160, 0.35);
  border-radius: 999px;
  background: rgba(35, 166, 69, 0.25);
  color: var(--mint);
  font-size: 13px;
  font-weight: 500;
}
.auth-eyebrow b {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-bright);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- Card ---------- */

.auth-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(3, 10, 25, 0.65), 0 2px 6px rgba(12, 28, 48, 0.05);
}

.auth-card__head {
  position: relative;
  padding: 34px 64px 30px 40px; /* room for the close button */
  color: #fff;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(120, 240, 160, 0.35), transparent 70%),
    linear-gradient(120deg, var(--blue-deep) 0%, var(--green-dark) 70%, #1a8536 100%);
}
.auth-card__head h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.auth-card__head h2 span {
  background: linear-gradient(90deg, var(--green-light) 0%, #9af5b8 40%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-card__head p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: #e8f1fb; }

.auth-card__body { padding: 30px 40px 28px; }

/* ---------- Fields ---------- */

.field { margin-bottom: 18px; }
/* Full Name and Employee ID side by side, so the Register form fits on a laptop screen */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
@media (max-width: 480px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #364049;
}

.input,
.input-wrap {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f8fb;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.input { padding: 0 16px; font-size: 16px; color: var(--navy); }
.input::placeholder,
.input-wrap input::placeholder { color: #95a3b1; }

.input:focus,
.input-wrap:focus-within {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue-ring);
}

.input-wrap { display: flex; align-items: center; padding: 0 16px; }
.input-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--navy);
}
.input-wrap input:focus { outline: none; }
.input-suffix { flex: 0 0 auto; padding-left: 10px; font-size: 15px; font-weight: 600; color: var(--blue-deep); }

/* Show / hide password (eye button inside the field). Edge's own reveal button is hidden so there's only one. */
.input-wrap input::-ms-reveal,
.input-wrap input::-ms-clear { display: none; }
.pw-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7886;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, opacity 0.2s, transform 0.2s, visibility 0.2s;
}
/* Only shown once something is typed (both password fields have a placeholder, so empty = placeholder shown).
   "visibility: hidden" also takes it out of the Tab order while the field is empty. */
.input-wrap input:placeholder-shown + .pw-toggle {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  pointer-events: none;
}
.pw-toggle:hover { color: var(--green-dark); background: rgba(35, 166, 69, 0.1); }
.pw-toggle:focus-visible { outline: 3px solid var(--blue-ring); outline-offset: 0; }
/* The icon shows the field's current state: crossed-out eye while hidden, open eye while shown.
   (The button's label still names the action, "Show password" / "Hide password".) */
.pw-toggle .pw-toggle__show { display: none; }
.pw-toggle[aria-pressed="true"] { color: var(--green-dark); }
.pw-toggle[aria-pressed="true"] .pw-toggle__hide { display: none; }
.pw-toggle[aria-pressed="true"] .pw-toggle__show { display: block; }

[aria-invalid="true"],
.input-wrap:has(input[aria-invalid="true"]) { border-color: #d23b3b; }

.form-error {
  margin: -2px 0 16px;
  padding: 10px 14px;
  border: 1px solid #f8cfcf;
  border-radius: 10px;
  background: #fdecec;
  color: #8f1f1f;
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- Submit button ---------- */

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 15px 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--green-light) 0%, var(--green-bright) 100%);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(57, 228, 111, 0.6);
  transition: background 0.15s, transform 0.15s;
}
.btn-cta:hover { background: linear-gradient(120deg, var(--green-bright) 0%, #2bb84d 100%); }
/* Light sweep across the button, as on the homepage's primary buttons */
.btn-cta { position: relative; overflow: hidden; isolation: isolate; }
.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  z-index: 1;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: wrShine 4.5s ease-in-out infinite;
}
@keyframes wrShine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.btn-cta:disabled { opacity: 0.65; cursor: progress; }

/* "Register" link inside the sign-in error, and the note shown when finishing a registration. */
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.form-info {
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid #c9d8ff;
  border-radius: 10px;
  background: #eef3ff;
  color: #1d3a8a;
  font-size: 14px;
}
.input-wrap input:disabled { color: #6b7886; }
.btn-cta:active { transform: translateY(1px); }
.btn-cta span { font-size: 18px; }

/* ---------- Trust footer ---------- */

.auth-card__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eceff2;
  text-align: center;
  font-size: 13px;
  color: #6b7886;
}
.auth-card__foot p { margin: 0; }

/* ---------- Trust band and footer ---------- */

.auth-band { background: linear-gradient(90deg, #0d5cb6 0%, #163150 45%, #1a8536 100%); }
.auth-band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  list-style: none;
  color: #e8f1fb;
  font-size: 14px;
  font-weight: 500;
}
.auth-band li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.auth-band li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(94, 240, 138, 0.25);
}

.auth-foot {
  background:
    linear-gradient(90deg, var(--brand-blue) 0%, #2bb84d 50%, var(--green-bright) 100%) top / 100% 4px no-repeat,
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding-top: 4px;
}
.auth-foot__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 32px 26px;
  color: #7da0c2;
  font-size: 13px;
}

@media (max-width: 640px) {
  .auth-top__inner { padding: 10px 14px; gap: 10px; }
  .auth-top__logo img { height: 28px; }
  .auth-top__tag { display: none; }
  .auth-top__actions { gap: 8px; }
  .auth-top__actions a { padding: 8px 12px; font-size: 14px; }
  .auth-band ul { justify-content: flex-start; gap: 10px 20px; padding: 16px; }
  .auth-band li { white-space: normal; font-size: 13px; }
  .auth-foot__inner { padding: 20px 16px 24px; }
}

@media (max-width: 520px) {
  .auth { padding-top: 28px; gap: 18px; }
  .auth-card__head { padding: 28px 60px 24px 22px; }
  .auth-card__head h2 { font-size: 27px; }
  .auth-card__body { padding: 24px 20px 22px; }
}

/* Short screens (laptops, zoomed-in browsers): a more compact card so it fits without scrolling. */
@media (max-height: 860px) {
  .auth-card__head { padding-top: 24px; padding-bottom: 22px; }
  .auth-card__head h2 { font-size: 28px; }
  .auth-card__head p { margin-top: 8px; font-size: 15px; }
  .auth-card__close { top: 12px; right: 12px; }
  .auth-card__body { padding-top: 22px; padding-bottom: 20px; }
  .field { margin-bottom: 14px; }
  .field-label { margin-bottom: 6px; }
  .input,
  .input-wrap { height: 46px; }
  .btn-cta { padding: 13px 20px; }
  .auth-card__foot { margin-top: 18px; padding-top: 14px; }
}
