/* ============================================================
   CloudClinic — Auth split-stage (login / recovery)
   ============================================================ */

/* Cancel legacy .login-page rules if class is ever re-added */
body.authx-body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

.authx {
  --ax-glow-1: color-mix(in srgb, var(--primary) 20%, transparent);
  --ax-glow-2: color-mix(in srgb, var(--info) 14%, transparent);
  --ax-glow-3: color-mix(in srgb, var(--success) 12%, transparent);
  --ax-line: color-mix(in srgb, var(--text) 10%, transparent);
  --ax-glass: rgba(255,255,255,0.02);
  --ax-scrim: rgba(15, 23, 42, 0.02);
  --ax-stroke: color-mix(in srgb, var(--text) 10%, transparent);
  --ax-ease: cubic-bezier(.22, 1, .36, 1);

  width: min(100%, 1200px);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(280px, 1fr);
  align-items: center;
  justify-items: center;
  position: relative;
  isolation: isolate;
  background: var(--bg);
}

.authx button,
.authx input,
.authx select,
.authx textarea {
  font: inherit;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .authx {
    --ax-glow-1: rgba(77, 171, 247, .28);
    --ax-glow-2: rgba(59, 201, 219, .22);
    --ax-glow-3: rgba(64, 192, 87, .16);
    --ax-line: rgba(128, 128, 128, .14);
    --ax-glass: var(--surface);
    --ax-scrim: rgba(11, 18, 33, .72);
    --ax-stroke: rgba(128, 128, 128, .2);
  }
}

/* ---------- Form column (RTL → right) ---------- */
.authx__form {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(.65rem, 1.3vw, 1.5rem);
  box-sizing: border-box;
  margin-inline: 0;
}

.authx__card {
  width: min(100%, 360px);
  max-width: 360px;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: none;
  padding: .8rem .8rem .7rem;
  box-sizing: border-box;
  margin-inline: auto;
}

:root[data-theme="dark"] .authx__card {
  background: var(--ax-glass);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: color-mix(in srgb, var(--text) 10%, transparent);
}

.authx__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}

.authx__logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: .92rem;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  animation: ax-logo-pulse 4s ease-in-out infinite;
}

.authx__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.authx__title {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
  font-size: clamp(.96rem, .94rem + .22vw, 1.15rem);
}

.authx__subtitle {
  margin: .12rem 0 .55rem;
  color: var(--text-muted);
  font-size: .68rem;
  line-height: 1.4;
}

@keyframes ax-logo-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1px) scale(1.04); }
}

/* ---------- Tabs ---------- */
.auth-tabs {
  --ax-tab: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .18rem;
  padding: .18rem;
  margin-bottom: .8rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: none;
  overflow: hidden;
}

.auth-tabs::before {
  content: none;
}

.auth-tab {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  min-height: 36px;
  padding: .4rem .2rem;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 9px;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
  box-shadow: none !important;
}

.auth-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,0.01);
}

.auth-tab[aria-selected="true"] {
  color: var(--primary);
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.15);
  transform: translateY(-1px);
}

.auth-tab:focus-visible {
  outline: none;
  border-color: var(--primary);
}

/* ---------- Panels ---------- */
.auth-panels {
  position: relative;
  overflow: hidden;
  transition: height .3s var(--ax-ease);
}

.auth-panel {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  transform: translateX(var(--ax-dir, 10px));
  transition: opacity .22s var(--ax-ease), transform .28s var(--ax-ease), visibility .22s;
}

.auth-panel.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .auth-panel {
    transition: none;
    transform: none;
  }
}

/* ---------- Fields ---------- */
.ax-field {
  margin-bottom: .85rem;
}

.ax-field:last-child {
  margin-bottom: 0;
}

.ax-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ax-control {
  position: relative;
  width: 100%;
}

.ax-control > .n-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 2.5rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  box-sizing: border-box;
}

[dir="rtl"] .ax-control > .n-input {
  padding: 10px 2.5rem 10px 14px;
}

.ax-control > .n-input.has-suffix {
  padding-right: 2.75rem;
}

[dir="rtl"] .ax-control > .n-input.has-suffix {
  padding-right: 2.5rem;
  padding-left: 2.75rem;
}

.authx .n-input,
.authx .n-input::placeholder {
  color: var(--text);
}

.authx .n-input::placeholder {
  opacity: 1;
  color: color-mix(in srgb, var(--text) 64%, transparent);
  font-size: 12px;
}

.ax-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: .85rem;
  color: var(--text-muted);
  font-size: .9rem;
  pointer-events: none;
  line-height: 1;
}

[dir="rtl"] .ax-icon {
  right: auto;
  left: .85rem;
}

.ax-suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: .2rem;
  min-width: 44px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
}

[dir="rtl"] .ax-suffix {
  left: auto;
  right: .2rem;
}

.ax-suffix:hover {
  color: var(--primary);
  background: var(--surface-hover);
}

.ax-hint {
  margin: .3rem 0 0;
  font-size: .74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ax-hint.is-error {
  color: var(--danger);
}

.ax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: .15rem 0 .9rem;
  flex-wrap: wrap;
}

.ax-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .78rem;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.ax-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.ax-strength {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3rem;
  margin-top: .4rem;
}

.ax-strength i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: var(--border);
  transition: background .25s;
}

.ax-strength[data-level="1"] i:nth-child(1) {
  background: var(--danger);
}

.ax-strength[data-level="2"] i:nth-child(-n+2) {
  background: var(--warning);
}

.ax-strength[data-level="3"] i {
  background: var(--success);
}

.ax-otp {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .35rem;
  direction: ltr;
}

.ax-otp input {
  width: 100%;
  min-height: 46px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  box-shadow: inset 2px 2px 5px var(--neu-in-dk), inset -2px -2px 5px var(--neu-in-lt);
  box-sizing: border-box;
}

.ax-otp input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.authx .btn-neu,
.ax-submit {
  width: 100%;
  min-height: 44px;
  margin-top: .2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  box-shadow: none !important;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  filter: none !important;
}

.authx .btn-neu:hover,
.ax-submit:hover {
  box-shadow: none !important;
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  filter: none !important;
}

.authx .btn-neu:active,
.ax-submit:active {
  box-shadow: none !important;
  transform: translateY(0);
}

.authx .n-input {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  box-shadow: none;
  border-radius: 12px;
}

.authx .n-input:focus {
  box-shadow: none;
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
}

.ax-submit[aria-busy="true"] {
  pointer-events: none;
  opacity: .75;
}

.ax-submit[aria-busy="true"] .ax-submit__icon {
  display: none;
}

.ax-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: ax-spin .7s linear infinite;
}

.ax-submit[aria-busy="true"] .ax-spinner {
  display: inline-block;
}

@keyframes ax-spin {
  to {
    transform: rotate(360deg);
  }
}

#loginError,
.ax-alert {
  display: none;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .85rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  line-height: 1.45;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
}

#loginError.is-visible,
.ax-alert.is-visible {
  display: flex;
}

.ax-alert--ok {
  background: var(--success-soft);
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 35%, transparent);
}

.ax-alert--info {
  background: var(--info-soft);
  color: var(--info);
  border-color: color-mix(in srgb, var(--info) 35%, transparent);
}

.authx__footer {
  margin-top: 1rem;
  text-align: center;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.authx__theme {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

[dir="rtl"] .authx__theme {
  left: auto;
  right: 1rem;
}

html.theme-anim,
html.theme-anim * {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

/* ============================================================
   Stage column (RTL → left)
   ============================================================ */
.authx__stage {
  position: relative;
  order: -1;
  width: 100%;
  min-height: clamp(180px, 24vh, 260px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, var(--ax-glow-1) 0%, transparent 58%),
    radial-gradient(100% 80% at 85% 100%, var(--ax-glow-2) 0%, transparent 52%),
    var(--bg);
  border-left: 1px solid var(--border);
}

.ax-stage__content {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1rem;
}

.ax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .45;
  will-change: transform;
  pointer-events: none;
  animation: ax-float 16s ease-in-out infinite;
}

.ax-blob--1 {
  width: 34vmax;
  height: 34vmax;
  top: -12%;
  left: -10%;
  background: var(--ax-glow-1);
  animation: ax-float 19s ease-in-out infinite;
}

.ax-blob--2 {
  width: 28vmax;
  height: 28vmax;
  bottom: -14%;
  right: -8%;
  background: var(--ax-glow-2);
  animation: ax-float 25s ease-in-out infinite reverse;
}

.ax-blob--3 {
  width: 20vmax;
  height: 20vmax;
  top: 40%;
  right: 22%;
  background: var(--ax-glow-3);
  animation: ax-float 31s ease-in-out infinite;
}

@keyframes ax-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(3%, -4%, 0) scale(1.06);
  }

  66% {
    transform: translate3d(-2%, 3%, 0) scale(.96);
  }
}

.ax-grid {
  position: absolute;
  inset: -20%;
  opacity: .35;
  pointer-events: none;
  background-image: radial-gradient(var(--ax-line) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: ax-drift 60s linear infinite;
}

@keyframes ax-drift {
  to {
    transform: translate3d(24px, 24px, 0);
  }
}

/* ---------- Floating medical icons ---------- */
.ax-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ax-float-icon {
  position: absolute;
  display: grid;
  place-items: center;
  opacity: 0.12;
  color: var(--primary);
  animation: ax-float-icon-move linear infinite;
}

.ax-float-icon i {
  font-size: var(--icon-size, 2rem);
  filter: drop-shadow(0 0 8px var(--ax-glow-1));
}

.ax-float-icon--1 {
  --icon-size: 2.2rem;
  top: 12%;
  left: 15%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.ax-float-icon--2 {
  --icon-size: 1.8rem;
  top: 25%;
  right: 20%;
  animation-duration: 22s;
  animation-delay: -3s;
  color: var(--info);
}

.ax-float-icon--3 {
  --icon-size: 2.5rem;
  bottom: 30%;
  left: 25%;
  animation-duration: 25s;
  animation-delay: -6s;
  color: var(--success);
}

.ax-float-icon--4 {
  --icon-size: 1.6rem;
  top: 60%;
  right: 15%;
  animation-duration: 20s;
  animation-delay: -9s;
}

.ax-float-icon--5 {
  --icon-size: 2rem;
  top: 40%;
  left: 10%;
  animation-duration: 24s;
  animation-delay: -12s;
  color: var(--info);
}

.ax-float-icon--6 {
  --icon-size: 1.9rem;
  bottom: 15%;
  right: 30%;
  animation-duration: 19s;
  animation-delay: -4s;
  color: var(--success);
}

.ax-float-icon--7 {
  --icon-size: 2.3rem;
  top: 8%;
  right: 35%;
  animation-duration: 26s;
  animation-delay: -8s;
}

.ax-float-icon--8 {
  --icon-size: 1.7rem;
  bottom: 45%;
  left: 40%;
  animation-duration: 21s;
  animation-delay: -11s;
  color: var(--info);
}

@keyframes ax-float-icon-move {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.08;
  }
  25% {
    transform: translate(30px, -40px) rotate(15deg) scale(1.1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-20px, -20px) rotate(-10deg) scale(0.95);
    opacity: 0.12;
  }
  75% {
    transform: translate(40px, 30px) rotate(20deg) scale(1.05);
    opacity: 0.18;
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.08;
  }
}

.ax-stage__center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 0;
  animation: none;
}

@keyframes ax-stage-enter {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Icon grid — simple 2×2 with hero tooth */
.ax-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  width: min(100%, 290px);
  transform: none;
}

.ax-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .3rem;
  border-radius: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: none;
}

.ax-icon-card--hero {
  grid-column: auto;
  padding: .4rem;
}

.ax-icon-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 1.08rem;
  color: var(--primary);
  border-radius: 50%;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.12);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.12);
  animation: ax-icon-bob 3.2s ease-in-out infinite;
}

.ax-icon-card--hero .ax-icon-card__icon {
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
}

.ax-icon-card--tooth .ax-icon-card__icon {
  color: #1ec6b8;
  background: linear-gradient(135deg, rgba(30,198,184,0.18), rgba(20,184,166,0.08));
  border-color: rgba(20,184,166,0.22);
}

.ax-icon-card--calendar .ax-icon-card__icon {
  color: #4f7cff;
  background: linear-gradient(135deg, rgba(79,124,255,0.18), rgba(59,130,246,0.08));
  border-color: rgba(79,124,255,0.22);
}

.ax-icon-card--stethoscope .ax-icon-card__icon {
  color: #f59e0b;
  background: linear-gradient(135deg, rgba(245,158,11,0.16), rgba(251,191,36,0.08));
  border-color: rgba(245,158,11,0.22);
}

.ax-icon-card--ai .ax-icon-card__icon {
  color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139,92,246,0.17), rgba(168,85,247,0.08));
  border-color: rgba(139,92,246,0.22);
}

.ax-icon-card--file .ax-icon-card__icon {
  color: #10b981;
  background: linear-gradient(135deg, rgba(16,185,129,0.16), rgba(34,197,94,0.08));
  border-color: rgba(16,185,129,0.22);
}

.ax-icon-card--shield .ax-icon-card__icon {
  color: #ef476f;
  background: linear-gradient(135deg, rgba(239,71,111,0.16), rgba(236,72,153,0.08));
  border-color: rgba(239,71,111,0.22);
}

.ax-icon-card__label {
  font-size: .66rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: .01em;
  line-height: 1.25;
}

@keyframes ax-icon-bob {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  25% { transform: translateY(-2px) scale(1.04) rotate(-3deg); }
  50% { transform: translateY(-4px) scale(1.08) rotate(3deg); }
  75% { transform: translateY(-2px) scale(1.04) rotate(-2deg); }
}

.ax-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--primary);
  font-size: .68rem;
}

@keyframes ax-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ax-caption {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  animation: none;
}

@keyframes ax-caption-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ax-caption h2 {
  font-size: clamp(.94rem, .88rem + .22vw, 1.12rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 .25rem;
}

.ax-caption p {
  margin: 0 0 .35rem;
  color: var(--text-muted);
  font-size: clamp(.7rem, .68rem + .06vw, .79rem);
  line-height: 1.5;
  max-width: 48ch;
}

.ax-caption__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .24rem .42rem;
  margin: .32rem 0 0;
}

.ax-caption__meta-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .34rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  font-size: .62rem;
  color: var(--text);
}

.ax-caption__meta-item i {
  color: var(--primary);
  font-size: .72rem;
}

.ax-pills {
  display: flex;
  gap: .22rem;
  flex-wrap: wrap;
  margin-top: .36rem;
}

.ax-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .18rem .38rem;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--ax-stroke);
  backdrop-filter: none;
  animation: ax-pill-float 4.8s ease-in-out infinite;
}

.ax-pill:nth-child(2) { animation-delay: .25s; }
.ax-pill:nth-child(3) { animation-delay: .5s; }
.ax-pill:nth-child(4) { animation-delay: .75s; }

@keyframes ax-pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 768px) {
  .authx__stage {
    min-height: clamp(220px, 30vh, 300px);
  }

  .ax-icons {
    width: min(100%, 380px);
  }

  .authx__card {
    max-width: 440px;
  }
}

@media (min-width: 1024px) {
  .authx {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    min-height: 100svh;
  }

  .authx__stage {
    order: 0;
    min-height: 100svh;
  }

  .authx__form {
    min-height: 100svh;
    padding: 2rem clamp(1.5rem, 3vw, 3rem);
  }

  .authx__card {
    max-width: 400px;
  }
}

@media (max-width: 980px) {
  .authx {
    grid-template-columns: 1fr;
  }

  .authx__form,
  .authx__stage {
    min-height: auto;
  }

  .authx__stage {
    order: 0;
    min-height: 300px;
  }

  .authx__form {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .authx {
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  }

  .authx__card {
    max-width: 420px;
  }

  .ax-icons {
    width: min(100%, 400px);
  }
}

@media (max-height: 620px) and (max-width: 1023px) {
  .authx__stage {
    display: none;
  }

  .authx__form {
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .authx *,
  .authx *::before,
  .authx *::after {
    animation: none !important;
    transition: none !important;
  }

  .ax-icon-card {
    opacity: 1;
    transform: none;
  }
}
