/* The pages of sign-in, on the plain page, and the pages about passkeys, inside the shell. */

.signin {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.signin__notices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* The word between the two ways in, with a line to each side of it. */
.signin__or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: var(--fs-note);
}

.signin__or::before,
.signin__or::after {
  flex: 1;
  border-top: 1px solid var(--hairline);
  content: "";
}

/* Six digits, spaced so that each can be checked against the mail. */
.signin__code {
  font-size: var(--fs-figure);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3em;
  text-align: center;
}

/* The way back to the first page, said quietly under the form. */
.signin__again {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
  width: 100%;
  color: var(--muted);
  font-size: var(--fs-note);
}

/* A button that reads as a link: it sends a form, so it cannot be a link. */
.signin__other {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: var(--fs-note);
  text-decoration: underline;
  cursor: pointer;
}

/* The form that makes a passkey: a name, what went wrong if anything, and the buttons. */
.passkey {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* What the page opens with when it was offered and not asked for. */
.passkey__offer {
  font-weight: 600;
}

/* The answer to a question about a passkey, and the way out beside it. */
.passkey__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
