.root {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, hsla(262, 68%, 52%, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, hsla(150, 40%, 42%, 0.04) 0%, transparent 50%),
    var(--bg-canvas);
}

.form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px;
  background-color: variables.$bg-default;
  border-radius: variables.$radius-lg;
  box-shadow: var(--shadow-lg);
  animation: formEntrance 0.5s var(--ease-out) both;
}

.title {
  @include typography.font-header-l;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  width: 100%;
  text-align: center;
  color: variables.$text-primary;
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.actions {
  display: flex;
  justify-content: center;
}

.link {
  @include typography.font-body-s;
  color: variables.$text-secondary;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);

  &:hover {
    color: variables.$color-secondary;
  }
}

@keyframes formEntrance {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
