/* AuCRA INSIGHT pages layer, the stages of a sign in (companies plan D8, D9,
   D10): ui/pages/password_new.py, two_step.py, two_step_setup.py, the
   two-step section of account.py (account_two_step*.py), the recovery codes
   left notice (two_step_flash.py) and kit/sign_out.py. Linked after
   pages_soft.css by ui/styles.py. Colours are the brand tokens only. */

/* kit/sign_out.py: Sign out as a link under a rule, on every bare page a sign
   in can stop at. */
.aucra-signout-row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.aucra-signout-form {
  margin: 0;
}
.aucra-signout-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The six digit box: a code is read in one glance, so it is large and spaced. */
.aucra-code-box input {
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  letter-spacing: 0.32em;
}
.aucra-two-step-lost {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* The two-step section and the setup page. */
.aucra-two-step-tag {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wash-head);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
}
.aucra-two-step-tag.aucra-two-step-on {
  border-color: var(--pass);
  background: var(--pass-wash);
  color: var(--pass);
}
.aucra-two-step-line {
  font-size: 13.5px;
  line-height: 1.5;
}
.aucra-two-step-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 24px;
}
.aucra-two-step-qr svg {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--soft-radius-inner);
}
.aucra-two-step-side {
  flex: 1 1 14rem;
  min-width: 0;
}
.aucra-two-step-caption {
  color: var(--muted);
  font-size: 12.5px;
}
.aucra-two-step-secret,
.aucra-two-step-code {
  border: 1px solid var(--line);
  border-radius: var(--soft-radius-inner);
  background: var(--wash-head);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}
.aucra-two-step-secret {
  padding: 10px 12px;
}
.aucra-two-step-code {
  padding: 6px 10px;
}
.aucra-two-step-codes-line {
  font-size: 13.5px;
  font-weight: 500;
}
.aucra-two-step-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Your details: the role's one sentence under the role. */
.aucra-reading:has(.aucra-role-help) {
  flex-wrap: wrap;
  row-gap: 2px;
}
.aucra-role-help {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  flex-basis: 100%;
  padding-left: calc(8rem + 12px);
}

/* ui/two_step_flash.py: shown once on the page a recovery code sign in lands on. */
.aucra-two-step-left {
  border-left: 3px solid var(--gold);
}
