/* ============================================================================
   ITQAN auth pages - shared stylesheet
   Source: Figma "ETQAN-Platform" (file LDH5dUQC9XDCoGazLpAjgu), frames
   "Login / 1", "Login / 2", "Login / OTP / 1", "Forget password",
   "Login / Reset Password", "Login / Reset Password / Success",
   "Login / Account Closed", "Login / Restore Account".

   Used by Themes/LeptonX/Layouts/Account/Default.cshtml and the pages under
   Pages/Account. Loaded after the ABP global bundle, so every rule here wins
   a tie; the "Host integration" section at the end styles the few ABP pieces
   (page alerts, validation messages) that render inside the shell.
   ============================================================================ */

@font-face {
  font-family: 'ReadexPro';
  src: url('../assets/fonts/ReadexPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ReadexPro';
  src: url('../assets/fonts/ReadexPro-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ReadexPro';
  src: url('../assets/fonts/ReadexPro-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ReadexPro';
  src: url('../assets/fonts/ReadexPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens (values taken from the Figma frames) ---------- */
:root {
  --auth-brand: #054239; /* dark green: logo, focus ring, links */
  --auth-gold: #988561; /* primary button, titles, ornament; the layout overrides it with the institution theme when one is configured */
  --auth-gold-hover: color-mix(in srgb, var(--auth-gold) 88%, #000);
  --auth-gold-shadow: color-mix(in srgb, var(--auth-gold) 35%, transparent);
  --auth-link: #04352e; /* "forgot password" (brand + 20% black) */
  --auth-panel-bg: #fbfaf6;
  --auth-surface: #ffffff;
  --auth-text: #0f172a;
  --auth-text-2: #334155;
  --auth-text-3: #475569;
  --auth-muted: #64748b;
  --auth-placeholder: #94a3b8;
  --auth-border: #e2e8f0; /* filled input */
  --auth-border-empty: #cbd5e1; /* empty input */
  --auth-hover-bg: #edf2f1;
  --auth-warning: #f59e0b;
  --auth-warning-bg: #fef5e7; /* warning + 90% white */
  --auth-danger: #dc2626;
  --auth-danger-bg: #fdf1f1;
  --auth-success: #15803d;
  --auth-success-bg: #effaf3;
  --auth-info: #0369a1;
  --auth-info-bg: #eef7fc;
  --auth-font: 'ReadexPro', 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;
  --auth-panel-width: 573px;
  --auth-column-width: 493px;
  --auth-radius-pill: 999px;
  --auth-motion-fast: 120ms;
  --auth-motion-base: 200ms;
  --auth-motion-slow: 320ms;
  --auth-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

.auth-body {
  padding: 0;
  font-family: var(--auth-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--auth-text);
  background: var(--auth-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Shell: form panel + photo ---------- */
/* The shell is exactly one window tall, so the page itself never scrolls. When a page grows
   (page alert, validation messages) the flexible spaces in the panel shrink first: the space
   above the logo (108px down to 16px) and the two big gaps of the form (48px down to 24px).
   Only when that is not enough does the panel scroll on its own; the photo stays put. */
.auth {
  display: flex;
  height: 100vh;
  height: 100dvh;
  /* The form panel is on the LEFT and the photo on the RIGHT, exactly as drawn
     in Figma. The shell is forced LTR so an RTL document does not mirror the
     two columns; the panel itself follows the document direction. */
  direction: ltr;
}

.auth__panel {
  direction: ltr;
  position: relative;
  flex: 0 0 var(--auth-panel-width);
  width: var(--auth-panel-width);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 40px;
  background: var(--auth-panel-bg);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Space above the logo: 98px + the 10px panel gap = Figma's 108px. auth.js sets
   --auth-squeeze-top (0 to 92px) when the page would otherwise overflow, so it ends at 16px. */
.auth__panel::before {
  content: '';
  flex: 0 0 auto;
  height: max(6px, calc(var(--auth-top-space, 98px) - var(--auth-squeeze-top, 0px)));
}

[dir='rtl'] .auth__panel {
  direction: rtl;
}

.auth__ornament {
  position: absolute;
  left: -188px;
  top: -50px;
  width: 407px;
  height: 553px;
  pointer-events: none;
  user-select: none;
}

.auth__content {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--auth-column-width);
  margin: 0 auto;
}

.auth__copyright {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
  color: var(--auth-gold);
  opacity: 0.8;
}

.auth__photo {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  background: var(--auth-brand);
  isolation: isolate;
}

.auth__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  filter: brightness(1.12); /* Figma: exposure +0.17 */
}

/* Figma stacks a "hue" layer of brand green and a 30% black layer over the photo */
.auth__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--auth-brand);
  mix-blend-mode: hue;
}

.auth__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
}

/* ---------- Platform intro (logo + title + subtitle) ---------- */
.auth-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: center;
}

.auth-intro__logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.auth-intro__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-intro__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--auth-gold);
}

.auth-intro__subtitle {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: var(--auth-placeholder);
  opacity: 0.8;
}

/* ---------- Flow block (header + fields + actions) ---------- */
/* The flow's big gaps (Figma: 48px, OTP 40px) are 12px gap + a spacer + 12px gap.
   The spacers are ::before (header / fields) and ::after (fields / actions), placed with
   `order`; flows without a direct .auth-form child (OTP, result pages) have one gap only.
   auth.js sets --auth-squeeze-flow to shrink the spacers (down to 0, so the gaps end at 24px). */
.auth-flow {
  --auth-flow-space: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
}

.auth-flow > * {
  order: 3;
}

.auth-flow > .auth-flow__header,
.auth-flow > .auth-flow__group:first-of-type {
  order: 1;
}

.auth-flow > .auth-actions,
.auth-flow > .auth-flow__group ~ .auth-flow__group {
  order: 5;
}

.auth-flow::before,
.auth-flow::after {
  content: '';
  flex: 0 0 auto;
  height: max(0px, calc(var(--auth-flow-space) - var(--auth-squeeze-flow, 0px)));
}

.auth-flow::before {
  order: 2;
}

.auth-flow::after {
  order: 4;
}

.auth-flow:not(:has(> .auth-form))::after {
  display: none;
}

.auth-flow--otp {
  --auth-flow-space: 16px;
}

.auth-flow__group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-flow__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-flow__header--center {
  gap: 16px;
  text-align: center;
}

.auth-flow__title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.auth-flow__title {
  flex: 1 1 auto;
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  color: var(--auth-text);
}

.auth-flow__title--center {
  font-size: 20px;
  line-height: 25px;
  text-align: center;
}

.auth-flow__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--auth-placeholder);
}

.auth-flow__lead--dark {
  color: var(--auth-text-3);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Icons (inline SVG, 24px viewBox drawn at 20px) ---------- */
.auth-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.auth-icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Language switcher ---------- */
.auth-lang {
  position: relative;
  flex: 0 0 auto;
}

.auth-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 12px;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: 4px;
  color: var(--auth-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  cursor: pointer;
  transition:
    border-color var(--auth-motion-fast),
    box-shadow var(--auth-motion-fast);
}

.auth-lang__btn:hover {
  border-color: var(--auth-border-empty);
}

.auth-lang__btn:focus-visible {
  outline: 2px solid var(--auth-brand);
  outline-offset: 2px;
}

.auth-lang__chevron {
  margin-inline-start: -4px;
  transition: transform var(--auth-motion-base) var(--auth-ease-out);
}

.auth-lang.is-open .auth-lang__chevron {
  transform: rotate(180deg);
}

.auth-lang__menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  min-width: 100%;
  /* the panel clips overflow, so a long language list scrolls inside the menu instead */
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  box-shadow: 0 8px 40px 8px rgba(163, 163, 163, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity var(--auth-motion-base),
    transform var(--auth-motion-base) var(--auth-ease-out),
    visibility 0s linear var(--auth-motion-base);
}

.auth-lang.is-open .auth-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.auth-lang__item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--auth-motion-fast),
    color var(--auth-motion-fast);
}

.auth-lang__item:hover,
.auth-lang__item:focus-visible,
.auth-lang__item.is-active {
  background: var(--auth-hover-bg);
  color: var(--auth-brand);
  text-decoration: none;
}

/* ---------- Text field ---------- */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field__label {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  color: var(--auth-text-2);
}

.auth-field__control {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 12px 16px;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border-empty);
  border-radius: var(--auth-radius-pill);
  transition:
    border-color var(--auth-motion-fast),
    box-shadow var(--auth-motion-fast);
}

/* Figma uses a lighter border once the field has a value */
.auth-field__control:has(.auth-field__input:not(:placeholder-shown)) {
  border-color: var(--auth-border);
}

.auth-field__control:focus-within {
  border-color: var(--auth-brand);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.auth-field__control.is-invalid,
.auth-field__control:has(.input-validation-error) {
  border-color: var(--auth-danger);
}

.auth-field__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--auth-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
}

.auth-field__input:focus {
  outline: 0;
  box-shadow: none;
}

.auth-field__input::placeholder {
  color: var(--auth-placeholder);
  opacity: 1;
}

.auth-field__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--auth-surface) inset;
  -webkit-text-fill-color: var(--auth-text);
}

.auth-field__icon-btn {
  display: inline-flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--auth-text);
  cursor: pointer;
}

.auth-field__icon-btn:focus-visible {
  outline: 2px solid var(--auth-brand);
  outline-offset: 2px;
}

.auth-field__icon-btn .auth-icon--eye-off {
  display: none;
}

.auth-field__icon-btn.is-visible .auth-icon--eye {
  display: none;
}

.auth-field__icon-btn.is-visible .auth-icon--eye-off {
  display: block;
}

.auth-field__hint {
  display: flex;
  padding-block-start: 8px;
  padding-inline-start: 8px;
  font-size: 12px;
  line-height: 20px;
}

.auth-field__error {
  display: block;
  margin: 0;
  padding-inline-start: 8px;
  font-size: 12px;
  line-height: 20px;
  color: var(--auth-danger);
}

.auth-field__error:empty,
.auth-field__error.field-validation-valid {
  display: none;
}

/* ---------- Links ---------- */
.auth-link {
  color: var(--auth-link);
  text-decoration: none;
  transition: color var(--auth-motion-fast);
}

.auth-link:hover,
.auth-link:focus {
  color: var(--auth-link);
  text-decoration: underline;
}

.auth-link:focus-visible {
  outline: 2px solid var(--auth-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.auth-link--brand,
.auth-link--brand:hover,
.auth-link--brand:focus {
  color: var(--auth-brand);
}

/* ---------- OTP cells ---------- */
.auth-otp {
  display: flex;
  gap: 16px;
  direction: ltr; /* digits always read left to right */
}

.auth-otp__cell {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0;
  text-align: center;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: 4px;
  outline: 0;
  color: var(--auth-text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  caret-color: var(--auth-brand);
  transition:
    border-color var(--auth-motion-fast),
    box-shadow var(--auth-motion-fast);
}

.auth-otp__cell:focus {
  outline: 0;
  border-color: var(--auth-brand);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.auth-resend {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--auth-placeholder);
}

/* ---------- Buttons ---------- */
.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--auth-radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--auth-motion-fast),
    border-color var(--auth-motion-fast),
    color var(--auth-motion-fast),
    box-shadow var(--auth-motion-fast),
    transform var(--auth-motion-fast);
}

.auth-btn:hover,
.auth-btn:focus {
  text-decoration: none;
}

.auth-btn:focus-visible {
  outline: 2px solid var(--auth-brand);
  outline-offset: 2px;
}

.auth-btn:active {
  transform: scale(0.985);
}

.auth-btn--primary {
  background: var(--auth-gold);
  border-color: var(--auth-gold);
  color: #ffffff;
}

.auth-btn--primary:hover,
.auth-btn--primary:focus {
  background: var(--auth-gold-hover);
  border-color: var(--auth-gold-hover);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--auth-gold-shadow);
  transform: translateY(-1px);
}

.auth-btn--primary:active {
  transform: scale(0.985);
  box-shadow: none;
}

.auth-btn--outline {
  background: transparent;
  border-color: var(--auth-placeholder);
  color: var(--auth-muted);
}

.auth-btn--outline:hover,
.auth-btn--outline:focus {
  background: var(--auth-surface);
  border-color: var(--auth-muted);
  color: var(--auth-text-2);
}

.auth-btn[disabled],
.auth-btn.is-busy {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* ---------- Alert ---------- */
.auth-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px;
  background: var(--auth-warning-bg);
  border: 1px solid var(--auth-warning);
  border-radius: 6px;
  text-align: start;
}

.auth-alert--danger {
  background: var(--auth-danger-bg);
  border-color: var(--auth-danger);
}

.auth-alert--danger .auth-alert__icon {
  color: var(--auth-danger);
}

.auth-alert__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--auth-warning);
}

.auth-alert__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-end: 12px;
}

.auth-alert__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--auth-text);
}

.auth-alert__text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--auth-text-2);
}

/* ---------- Error page (Views/Error/_AuthError.cshtml) ---------- */
.auth-error-code {
  margin: 0;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--auth-gold);
  font-variant-numeric: tabular-nums;
}

.auth-flow--error .auth-flow__lead {
  color: var(--auth-text-3);
}

.auth-btn[hidden] {
  display: none;
}

/* ---------- Motion ---------- */
@keyframes auth-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes auth-logo {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.auth__content {
  animation: auth-enter var(--auth-motion-slow) var(--auth-ease-out) both;
}

.auth-intro__logo {
  animation: auth-logo 700ms var(--auth-ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .auth *,
  .auth *::before,
  .auth *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root {
    --auth-panel-width: 480px;
  }
}

@media (max-width: 900px) {
  .auth__photo {
    display: none;
  }

  .auth__panel {
    flex: 1 1 auto;
    width: auto;
  }
}

@media (max-width: 600px) {
  .auth__panel {
    padding: 24px 20px;
    --auth-top-space: 46px; /* + 10px gap = 56px */
  }

  .auth-intro__title {
    font-size: 20px;
    line-height: 28px;
  }

  .auth-intro__subtitle {
    font-size: 16px;
    line-height: 26px;
  }

  .auth-flow {
    gap: 8px;
    --auth-flow-space: 16px; /* 8 + 16 + 8 = 32px */
  }

  .auth-flow__title {
    font-size: 24px;
    line-height: 32px;
  }

  .auth-otp {
    gap: 8px;
  }
}

/* ---------- Host integration (ABP pieces rendered inside the shell) ---------- */

/* Page alerts (PageAlertsViewComponent): Alerts.Danger(...) from the page models */
.auth__alerts {
  width: 100%;
}

/* Razor leaves whitespace inside, so :empty never matches; hide the box (and its flex gap) when it holds no alert */
.auth__alerts:not(:has(.alert)),
#AbpPageAlerts:not(:has(.alert)) {
  display: none;
}

#AbpPageAlerts .alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px 44px 16px 16px;
  border: 1px solid var(--auth-warning);
  border-radius: 6px;
  background: var(--auth-warning-bg);
  color: var(--auth-text-2);
  font-size: 12px;
  line-height: 20px;
  text-align: start;
}

[dir='rtl'] #AbpPageAlerts .alert {
  padding: 16px 16px 16px 44px;
}

#AbpPageAlerts .alert:last-child {
  margin-bottom: 0;
}

#AbpPageAlerts .alert-danger {
  border-color: var(--auth-danger);
  background: var(--auth-danger-bg);
}

#AbpPageAlerts .alert-success {
  border-color: var(--auth-success);
  background: var(--auth-success-bg);
}

#AbpPageAlerts .alert-info {
  border-color: var(--auth-info);
  background: var(--auth-info-bg);
}

#AbpPageAlerts .alert p,
#AbpPageAlerts .alert ul {
  margin: 0;
}

#AbpPageAlerts .alert ul {
  padding-inline-start: 18px;
}

#AbpPageAlerts .alert .alert-heading,
#AbpPageAlerts .alert h4,
#AbpPageAlerts .alert h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--auth-text);
}

#AbpPageAlerts .btn-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--auth-muted);
  font-size: 0;
  cursor: pointer;
  opacity: 1;
}

#AbpPageAlerts .btn-close::before {
  content: '\00d7';
  display: block;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

#AbpPageAlerts .btn-close:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--auth-text);
}

/* Unobtrusive validation adds this class to the input; the pill border follows it (see .auth-field__control:has) */
.auth-field__input.input-validation-error {
  color: var(--auth-text);
}

/* Validation summary, when a page renders one */
.auth .validation-summary-errors {
  color: var(--auth-danger);
  font-size: 12px;
  line-height: 20px;
}

.auth .validation-summary-errors ul {
  margin: 0;
  padding-inline-start: 18px;
}

.auth .validation-summary-valid {
  display: none;
}
