/* "Forgot password" pages (/forgot-password, /verify, /new) and the
 * "Forgot password?" link of /login. Builds on auth.css: only the few pieces
 * auth.css does not have. No animation of its own.
 */

/* The link under the password field of /login, aligned with the field's end. */
.auth-forgot {
  display: flex;
  justify-content: flex-end;
  margin: calc(var(--auth-gap) * -0.5) 0 0;
  font-size: var(--auth-fs-small);
}

.auth-forgot .auth-link {
  /* A comfortable touch target without changing the line's look. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
}

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

/* Three steps fit a phone: the labels of done steps shrink like sign-up's two. */
.reset-steps {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}
