.app-body.auth {
  background:
    radial-gradient(ellipse 70% 50% at 8% -8%, rgb(36 87 197 / 0.16), transparent 72%),
    radial-gradient(ellipse 65% 45% at 92% -12%, rgb(96 139 232 / 0.12), transparent 74%),
    linear-gradient(180deg, #f7fbff 0%, #edf3fb 42%, #e7edf6 100%);
}

.app-body.auth .app-shell {
  display: grid;
  place-items: center;
  padding-block: var(--space-8) var(--space-12);
}

.auth-shell {
  width: min(100%, 32rem);
  margin-inline: auto;
  animation: auth-fade-up 420ms var(--motion-ease) both;
}

.auth-header {
  justify-items: center;
  text-align: center;
}

.auth-kicker {
  margin: 0;
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding-inline: var(--space-3);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: var(--text-meta);
  line-height: 1.333;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-title {
  font-size: clamp(1.875rem, 1.55rem + 1.2vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
}

.auth-card {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(var(--space-5), 4vw, var(--space-8));
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #4f7fdb 55%, #1e40af);
}

.auth-card .btn {
  min-width: 160px;
}

@keyframes auth-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .app-body.auth .app-shell {
    place-items: start center;
    padding-block: var(--space-8) var(--space-10);
  }

  .auth-shell {
    width: 100%;
  }

  .auth-header {
    justify-items: start;
    text-align: left;
  }

  .auth-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-card .btn {
    width: 100%;
    min-width: 0;
  }
}
