.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  padding: var(--space-m);
}

.auth__card {
  width: 100%;
  max-width: 420px;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-l);
}

.auth__title {
  text-align: center;
  margin-bottom: var(--space-m);
  font-weight: 400;
  font-size: var(--font-size-h3);
}

.auth__flash {
  margin: 0 0 var(--space-s);
  font-size: var(--font-size-small);
  text-align: center;
}

.auth__flash--alert { color: var(--color-error); }
.auth__flash--notice { color: var(--color-accent); }

.auth__links {
  margin-top: var(--space-s);
  text-align: center;
}

.auth__hint {
  margin-top: var(--space-m);
  text-align: center;
  font-size: var(--font-size-p);
  color: var(--color-text-muted);
}
.landing--auth .auth {
  flex: 1;
  display: grid;
  place-items: center;
  padding: var(--space-l) var(--main-padding);
}

.auth--wide .auth__card { max-width: 500px; }

.auth__steps {
  display: flex;
  justify-content: center;
  gap: var(--space-m);
  margin-bottom: var(--space-s);
}

.auth__step {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  background: var(--neutral-300);
  color: var(--color-text-muted);
}

.auth__step--active {
  background: var(--color-primary);
  color: #fff;
}

.auth__actions {
  display: flex;
  gap: var(--space-s);
  justify-content: center;
  align-items: center;
}
@media (max-width: 600px) {
  .landing--auth .auth {
    padding: var(--space-m) var(--space-s);
    place-items: start center;
  }
  .auth--login {
    place-items: start center;
    padding-top: var(--space-m);
    padding-bottom: var(--space-l);
  }
  .auth--login .auth__card {
    padding: var(--space-m);
    border-radius: var(--radius-md);
    overflow: hidden; 
  }
  .auth {
    padding: var(--space-m) var(--space-s);
    place-items: start center;
  }

  .auth__card {
    max-width: 100%;
    padding: var(--space-m); 
    border-radius: var(--radius-md); 
  }

  .auth__title {
    font-size: var(--font-size-h3); 
    margin-bottom: var(--space-s);
  }

  .auth__steps {
    gap: var(--space-s);
    margin-bottom: var(--space-s);
  }

  .auth__step {
    width: 24px;
    height: 24px;
  }

  .auth__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
  }

  .auth__card .btn {
    width: 100%;
    text-align: center;
  }

  .form {
    gap: 1.1rem;
  }

  .auth__hint {
    font-size: var(--font-size-small);
    margin-top: var(--space-s);
  }
}