/* Identity's own few rules, for the sign-in pages; everything else is the design system's (Vision.Design), the
   administration pages' rows, forms and cards included. Colours only through tokens. */

.form-stack {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.demo-accounts {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}


/* "or" between the password and a passkey */
.or {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

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






.totp-qr {
  display: block;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius-md); /* the image brings its own light quiet zone, dark mode too */
}

.totp-key,
.recovery-codes code {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

.recovery-codes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

/* A tick box with its sentence (the terms at sign-up) */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.check input {
  margin-top: 0.2em;
}

/* A list of rows with their action on the right (the organisation chooser, help, passkeys) */
.security-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.security-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
