.auth-site {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.auth-page {
  width: min(100% - 48px, 1540px);
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 560px);
  align-items: center;
  gap: clamp(36px, 5vw, 96px);
  padding: clamp(28px, 5svh, 64px) 0;
}

.auth-page[data-auth-profile] {
  grid-template-columns: minmax(320px, 1fr) minmax(390px, 500px);
  gap: clamp(24px, 3vw, 52px);
  padding: clamp(16px, 2.5svh, 30px) 0;
}

.auth-page.is-candidate-bank {
  grid-template-columns: minmax(320px, 1fr) minmax(390px, 540px);
  gap: clamp(24px, 3vw, 52px);
  padding: clamp(16px, 2.5svh, 30px) 0;
}

.auth-login-page {
  grid-template-columns: minmax(560px, 1.45fr) minmax(390px, 470px);
  align-items: stretch;
  gap: clamp(18px, 2vw, 36px);
}

.auth-login-page .auth-panel {
  align-self: center;
}

.auth-showcase.auth-showcase-illustrated {
  min-height: min(760px, calc(100svh - var(--header-height) - 32px));
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  gap: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 4px solid #8dff00;
}

.auth-showcase.auth-showcase-illustrated::after {
  content: "";
  height: 14px;
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  background: radial-gradient(ellipse at center, rgba(141, 255, 0, 0.32), transparent 72%);
  pointer-events: none;
}

.auth-showcase.auth-showcase-illustrated img {
  width: 100%;
  height: 100%;
  max-height: min(760px, calc(100svh - var(--header-height) - 32px));
  display: block;
  object-fit: contain;
  object-position: left bottom;
  animation: enterprise-mascot-float 4.8s ease-in-out infinite;
}

.auth-login-page .auth-showcase.auth-showcase-illustrated img {
  transform: scale(1.08);
  transform-origin: center bottom;
}

.auth-page.is-candidate-bank .auth-showcase.auth-showcase-illustrated {
  min-height: 0;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.auth-page.is-candidate-bank .auth-showcase.auth-showcase-illustrated img {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.02);
}

.auth-showcase {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
  min-width: 0;
}

.auth-page[data-auth-profile] .auth-showcase {
  gap: clamp(12px, 1.5vw, 20px);
}

.auth-page.is-candidate-bank .auth-showcase {
  gap: clamp(12px, 1.5vw, 20px);
}

.auth-page[data-auth-portal="client"] .auth-kicker {
  color: #315b00;
  background: rgba(141, 255, 0, 0.22);
  border-color: rgba(99, 182, 0, 0.18);
}

.auth-page[data-auth-portal="candidate"] .auth-kicker {
  color: #075b64;
  background: rgba(14, 168, 179, 0.14);
  border-color: rgba(14, 168, 179, 0.24);
}

.auth-page[data-auth-portal="intern"] .auth-kicker {
  color: #7a0b47;
  background: rgba(214, 32, 122, 0.13);
  border-color: rgba(214, 32, 122, 0.22);
}

.auth-kicker {
  width: max-content;
  padding: 9px 14px;
  color: #315b00;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(141, 255, 0, 0.22);
  border: 1px solid rgba(99, 182, 0, 0.18);
  border-radius: 999px;
}

.auth-showcase h1,
.auth-panel h1 {
  margin: 0;
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-stretch: 80%;
  letter-spacing: var(--title-letter-spacing);
}

.auth-showcase h1 {
  max-width: 720px;
  font-size: calc(
    clamp(3rem, min(5.2vw, 9svh), 5.45rem) * var(--title-size-scale)
  );
  line-height: 1.02;
}

.auth-page[data-auth-profile] .auth-showcase h1 {
  max-width: 660px;
  font-size: calc(
    clamp(2.4rem, min(4.3vw, 7.4svh), 4.3rem) * var(--title-size-scale)
  );
  line-height: 1;
}

.auth-page.is-candidate-bank .auth-showcase h1 {
  max-width: 660px;
  font-size: calc(
    clamp(2.4rem, min(4.3vw, 7.4svh), 4.3rem) * var(--title-size-scale)
  );
  line-height: 1;
}

.auth-showcase p,
.auth-panel-copy,
.auth-muted {
  margin: 0;
  color: var(--subtitle-color);
  font-family: var(--subtitle-font);
  font-size: calc(1rem * var(--subtitle-size-scale));
  font-weight: var(--subtitle-weight);
  letter-spacing: var(--subtitle-letter-spacing);
  line-height: 1.55;
}

.auth-showcase p {
  max-width: 650px;
  font-size: calc(
    clamp(1rem, 1.3vw, 1.24rem) * var(--subtitle-size-scale)
  );
}

.auth-page[data-auth-profile] .auth-showcase p {
  max-width: 600px;
  font-size: calc(
    clamp(0.94rem, 1vw, 1.08rem) * var(--subtitle-size-scale)
  );
  line-height: 1.42;
}

.auth-page.is-candidate-bank .auth-showcase p {
  max-width: 600px;
  font-size: calc(
    clamp(0.94rem, 1vw, 1.08rem) * var(--subtitle-size-scale)
  );
  line-height: 1.42;
}

.auth-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.auth-highlight,
.auth-panel {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 32, 41, 0.08);
  box-shadow: 0 22px 60px rgba(38, 48, 28, 0.09);
  backdrop-filter: blur(18px);
}

.auth-highlight {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
}

.auth-page[data-auth-profile] .auth-highlight {
  min-height: 96px;
  padding: 14px;
}

.auth-page.is-candidate-bank .auth-highlight {
  min-height: 96px;
  padding: 14px;
}

.auth-page[data-auth-profile] .auth-highlight-icon {
  width: 38px;
  height: 38px;
}

.auth-page.is-candidate-bank .auth-highlight-icon {
  width: 38px;
  height: 38px;
}

.auth-page[data-auth-profile] .auth-highlight-icon svg {
  width: 20px;
  height: 20px;
}

.auth-page.is-candidate-bank .auth-highlight-icon svg {
  width: 20px;
  height: 20px;
}

.auth-highlight-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-highlight strong {
  color: #202029;
  font-size: 0.98rem;
  font-weight: 500;
}

.auth-highlight span {
  color: #696a73;
  font-size: 0.82rem;
  line-height: 1.35;
}

.auth-highlight-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  flex: 0 0 auto;
  color: #1f3b00;
  background: rgba(141, 255, 0, 0.24);
  border: 1px solid rgba(99, 182, 0, 0.16);
  border-radius: 999px;
}

.auth-highlight-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 8px;
}

.auth-page[data-auth-profile] .auth-panel {
  gap: 16px;
  padding: clamp(20px, 2.2vw, 28px);
}

.auth-page.is-candidate-bank .auth-panel {
  gap: 16px;
  padding: clamp(20px, 2.2vw, 28px);
}

.auth-panel-header {
  display: grid;
  gap: 10px;
}

.auth-panel h1 {
  font-size: calc(clamp(1.8rem, 2.6vw, 2.65rem) * var(--title-size-scale));
  line-height: 1.08;
}

.auth-page[data-auth-profile] .auth-panel h1 {
  font-size: calc(clamp(1.65rem, 2vw, 2.2rem) * var(--title-size-scale));
}

.auth-page.is-candidate-bank .auth-panel h1 {
  font-size: calc(clamp(1.65rem, 2vw, 2.2rem) * var(--title-size-scale));
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-live-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  color: #315b00;
  font-size: 0.92rem;
  line-height: 1.35;
  background: rgba(141, 255, 0, 0.18);
  border: 1px solid rgba(99, 182, 0, 0.18);
  border-radius: 8px;
}

.auth-live-status.is-error,
.auth-live-status.is-success {
  display: block;
}

.auth-live-status.is-error {
  color: #6f251f;
  background: rgba(255, 237, 229, 0.78);
  border-color: rgba(196, 71, 55, 0.22);
}

.auth-live-status a {
  color: inherit;
  font-weight: 700;
}

.auth-page[data-auth-profile] .auth-form {
  gap: 12px;
}

.auth-page.is-candidate-bank .auth-form {
  gap: 12px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-field label,
.auth-choice-label,
.auth-mfa-title {
  color: #252630;
  font-size: 0.86rem;
  font-weight: 500;
}

.auth-mfa-method {
  position: relative;
}

.auth-help-button {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #315b00;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(141, 255, 0, 0.24);
  border: 1px solid rgba(99, 182, 0, 0.18);
  border-radius: 999px;
}

.auth-help-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 90;
  width: min(320px, 92vw);
  display: grid;
  gap: 10px;
  padding: 16px;
  color: #252630;
  background:
    radial-gradient(circle at 86% 12%, rgba(141, 255, 0, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(32, 32, 41, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(28, 31, 25, 0.16);
}

.auth-help-popover[hidden] {
  display: none;
}

.auth-help-popover p {
  margin: 0;
  color: #62636d;
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-help-popover img {
  width: 132px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(32, 32, 41, 0.08);
  border-radius: 8px;
}

.auth-input,
.auth-select,
.auth-textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: #1e1f29;
  background: #ffffff;
  border: 1px solid rgba(32, 32, 41, 0.12);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.auth-page[data-auth-profile] .auth-input,
.auth-page[data-auth-profile] .auth-select,
.auth-page[data-auth-profile] .auth-primary,
.auth-page[data-auth-profile] .auth-secondary {
  min-height: 48px;
}

.auth-page.is-candidate-bank .auth-input,
.auth-page.is-candidate-bank .auth-select,
.auth-page.is-candidate-bank .auth-primary,
.auth-page.is-candidate-bank .auth-secondary {
  min-height: 48px;
}

.auth-textarea {
  min-height: 92px;
  padding-block: 14px;
  resize: vertical;
}

.auth-input:focus,
.auth-select:focus,
.auth-textarea:focus,
.mfa-code input:focus {
  border-color: rgba(99, 182, 0, 0.68);
  box-shadow: 0 0 0 4px rgba(141, 255, 0, 0.18);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #555762;
  font-size: 0.88rem;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.auth-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent-dark);
}

.auth-link {
  color: #315b00;
  font-weight: 500;
}

.auth-primary,
.auth-secondary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.auth-primary {
  color: #11121a;
  background: var(--color-accent);
  box-shadow: 0 18px 42px rgba(99, 182, 0, 0.2);
}

.auth-page[data-auth-portal="client"] .auth-primary {
  color: #11121a;
  background: var(--color-accent);
  box-shadow: 0 18px 42px rgba(99, 182, 0, 0.2);
}

.auth-page[data-auth-portal="candidate"] .auth-primary {
  color: #ffffff;
  background: #0ea8b3;
  box-shadow: 0 18px 42px rgba(14, 168, 179, 0.2);
}

.auth-page[data-auth-portal="intern"] .auth-primary {
  color: #ffffff;
  background: #d6207a;
  box-shadow: 0 18px 42px rgba(214, 32, 122, 0.2);
}

.auth-secondary {
  color: #202029;
  background: #ffffff;
  border: 1px solid rgba(32, 32, 41, 0.16);
}

.auth-primary:hover,
.auth-primary:focus-visible,
.auth-secondary:hover,
.auth-secondary:focus-visible {
  transform: translateY(-1px);
}

.auth-primary:hover,
.auth-primary:focus-visible {
  color: #ffffff;
  background: var(--color-accent-dark);
}

.auth-page[data-auth-portal="client"] .auth-primary:hover,
.auth-page[data-auth-portal="client"] .auth-primary:focus-visible {
  color: #ffffff;
  background: var(--color-accent-dark);
}

.auth-page[data-auth-portal="candidate"] .auth-primary:hover,
.auth-page[data-auth-portal="candidate"] .auth-primary:focus-visible {
  color: #ffffff;
  background: #087d86;
}

.auth-page[data-auth-portal="intern"] .auth-primary:hover,
.auth-page[data-auth-portal="intern"] .auth-primary:focus-visible {
  color: #ffffff;
  background: #a6115c;
}

.auth-secondary:hover,
.auth-secondary:focus-visible {
  border-color: rgba(99, 182, 0, 0.46);
  box-shadow: 0 12px 28px rgba(38, 48, 28, 0.08);
}

.auth-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #747680;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  content: "";
  background: rgba(32, 32, 41, 0.1);
}

.auth-mfa {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(141, 255, 0, 0.12), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(99, 182, 0, 0.16);
  border-radius: 8px;
}

.auth-register-mfa[hidden] {
  display: none;
}

.auth-register-mfa {
  display: grid;
}

.auth-register-resend {
  color: #087d86;
  background: rgba(14, 168, 179, 0.08);
  border-color: rgba(14, 168, 179, 0.5);
  font-weight: 700;
}

.auth-register-resend:hover,
.auth-register-resend:focus-visible {
  color: #065f66;
  background: rgba(14, 168, 179, 0.16);
  border-color: #0ea8b3;
  box-shadow: 0 12px 28px rgba(14, 168, 179, 0.14);
}

.register-qr {
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(32, 32, 41, 0.08);
  border-radius: 8px;
}

.register-qr img {
  width: min(220px, 100%);
  height: auto;
  display: block;
}

.register-secret {
  display: grid;
  gap: 8px;
}

.register-secret span {
  color: #696a73;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.register-secret code {
  display: block;
  padding: 12px;
  overflow-wrap: anywhere;
  color: #202029;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 32, 41, 0.08);
  border-radius: 8px;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 29, 0.34);
  backdrop-filter: blur(14px);
}

.auth-modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: min(90svh, 720px);
  overflow-y: auto;
  padding: clamp(18px, 3vw, 26px);
  background:
    radial-gradient(circle at 80% 12%, rgba(141, 255, 0, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(11, 13, 18, 0.28);
  animation: modal-rise 220ms ease both;
}

.auth-modal-card .auth-mfa {
  padding: 0;
  background: transparent;
  border: 0;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #202029;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 32, 41, 0.1);
  border-radius: 999px;
}

.auth-modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.auth-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

body.auth-modal-open {
  overflow: hidden;
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-mfa h2 {
  margin: 8px 0 8px;
  color: var(--title-color);
  font-family: var(--title-font);
  font-size: calc(clamp(1.8rem, 4vw, 2.6rem) * var(--title-size-scale));
  font-weight: var(--title-weight);
  font-stretch: 80%;
  letter-spacing: var(--title-letter-spacing);
  line-height: 1.08;
}

.auth-mfa-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.auth-mfa-badge {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #1f3b00;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(141, 255, 0, 0.54);
  border-radius: 999px;
}

.mfa-code {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.mfa-code input {
  width: 100%;
  aspect-ratio: 1;
  color: #11121a;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(32, 32, 41, 0.12);
  border-radius: 8px;
  outline: none;
}

.auth-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-method {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  color: #555762;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 32, 41, 0.08);
  border-radius: 8px;
}

.auth-method strong {
  color: #202029;
  font-size: 0.86rem;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  background: rgba(32, 32, 41, 0.06);
  border-radius: 999px;
}

.auth-switch button {
  min-height: 42px;
  color: #4b4c56;
  background: transparent;
  border-radius: 999px;
  font-weight: 500;
}

.auth-switch button.is-active {
  color: #1f3b00;
  background: var(--color-accent);
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-full {
  grid-column: 1 / -1;
}

.auth-fineprint {
  color: #686a73;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .auth-page {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .auth-page[data-auth-profile],
  .auth-page.is-candidate-bank {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .auth-showcase h1,
  .auth-showcase p {
    max-width: 820px;
  }

  .auth-highlights {
    max-width: 100%;
  }

  .auth-login-page {
    align-items: start;
  }

  .auth-showcase.auth-showcase-illustrated {
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .auth-showcase.auth-showcase-illustrated img {
    max-height: none;
    object-position: center bottom;
  }

  .auth-login-page .auth-showcase.auth-showcase-illustrated img {
    transform: scale(1.035);
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .auth-highlights {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .auth-highlight {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .auth-page {
    width: min(100% - 32px, 1400px);
    min-height: calc(100svh - var(--header-height));
    gap: 22px;
    padding: 22px 0;
    text-align: center;
  }

  .auth-page[data-auth-profile] {
    gap: 18px;
    padding: 18px 0;
  }

  .auth-page.is-candidate-bank {
    gap: 18px;
    padding: 18px 0;
  }

  .auth-showcase.auth-showcase-illustrated {
    width: calc(100% + 20px);
    margin-inline: -10px;
  }

  .auth-showcase {
    gap: 14px;
    justify-items: center;
    text-align: center;
  }

  .auth-page[data-auth-profile] .auth-showcase {
    gap: 12px;
  }

  .auth-page.is-candidate-bank .auth-showcase {
    gap: 12px;
  }

  .auth-showcase h1 {
    font-size: calc(
      clamp(2.2rem, min(10vw, 7svh), 3.2rem) * var(--title-size-scale)
    );
  }

  .auth-page[data-auth-profile] .auth-showcase h1 {
    font-size: calc(
      clamp(2rem, min(9vw, 6.6svh), 2.8rem) * var(--title-size-scale)
    );
  }

  .auth-page.is-candidate-bank .auth-showcase h1 {
    font-size: calc(
      clamp(2rem, min(9vw, 6.6svh), 2.8rem) * var(--title-size-scale)
    );
  }

  .auth-showcase p,
  .auth-panel-copy,
  .auth-muted,
  .auth-fineprint {
    margin-inline: auto;
  }

  .auth-highlights,
  .auth-methods,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-highlight {
    min-height: auto;
    text-align: left;
  }

  .auth-panel {
    padding: 20px;
    text-align: center;
  }

  .auth-panel-header,
  .auth-form,
  .auth-field,
  .auth-method,
  .auth-modal-card .auth-mfa {
    text-align: center;
  }

  .auth-field {
    justify-items: center;
  }

  .auth-mfa-method {
    justify-items: stretch;
  }

  .auth-label-row {
    justify-content: center;
  }

  .auth-help-popover {
    position: static;
    width: 100%;
    text-align: left;
  }

  .auth-input,
  .auth-select,
  .auth-textarea {
    text-align: center;
  }

  .auth-check {
    justify-content: center;
    text-align: left;
  }

  .auth-row,
  .auth-mfa-header {
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .mfa-code {
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .auth-panel {
    padding: 16px;
  }

  .mfa-code {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
