.authentication__link {
  color: var(--color-base);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  width: 10ch;
}

.authentication__link input {
  border: none;
  background: none;
}

.authentication__devise-link {
  color: var(--color-base);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

.authentication__form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sign-up: the hint above the form and the Facilitator Terms checkbox.
   The hint is body text; slide paragraphs are otherwise heading-sized. */
.authentication__hint,
.slide p.authentication__hint {
  font-size: var(--font-size-body);
  max-width: 32rem;
  text-align: center;
}

/* Sign-up: the proof points under the intro, read as part of it: body
   text, the form's width, left-aligned, plain bullets. */
.authentication__proof-points {
  box-sizing: border-box;
  font-size: var(--font-size-body);
  list-style: disc;
  margin: 0 0 var(--spacing-base);
  max-width: 32rem;
  padding-left: calc(var(--spacing-base) * 1.5);
  text-align: left;
  width: 100%;
}

.authentication__proof-points li + li {
  margin-top: var(--spacing-small);
}

/* Sign-up: one column the consent box's width. Every field, the terms
   checkbox, the consent box and the button fill it, left-aligned. */
.authentication__form--signup {
  align-items: stretch;
  max-width: 32rem;
  width: 100%;
}

.authentication__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--spacing-base);
}

/* Sign-up: the portal's logo, sized for a form page; the heading's own
   margin is the space below it. */
.authentication__logo {
  display: block;
  margin: var(--spacing-large) auto 0;
  width: 9rem;
}

/* Sign-up: who brings the app, under the sign-in line; the link is
   underlined because it is the same colour as the text around it. */
.authentication__credit,
.slide p.authentication__credit {
  color: var(--color-base);
  font-size: var(--font-size-small);
  margin: 0;
  text-align: center;
}

.authentication__credit a {
  color: inherit;
  text-decoration: underline;
}

/* Sign-up: help text under a field, left-aligned with it. */
.authentication__field-hint,
.slide p.authentication__field-hint {
  font-size: var(--font-size-small);
  margin: var(--spacing-small) 0 0;
}

/* A link inside hint text takes the text's size. */
.authentication__hint .authentication__devise-link {
  font-size: inherit;
}

.authentication__field .form__input {
  box-sizing: border-box;
  width: 100%;
}

.authentication__terms {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  max-width: 32rem;
}

.authentication__terms input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.authentication__terms a {
  color: var(--color-base);
  font-weight: var(--font-weight-bold);
}
/* Sign-up: the trial-consent statement (docs/decisions/18). */
.authentication__consent {
  border: 2px solid var(--color-secondary);
  margin: var(--spacing-base) 0;
  max-width: 32rem;
  padding: var(--spacing-base);
}

.authentication__consent legend {
  font-weight: var(--font-weight-bold);
  padding: 0 0.25rem;
}

.authentication__consent ul {
  list-style: disc;
  margin-bottom: var(--spacing-base);
  padding-left: calc(var(--spacing-base) * 1.5);
}
