/* The mark heads the card on its own */
.auth-logo {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
}

.account-form input {
  width: 100%;
}

.account-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.account-form .form-group + .form-group {
  margin-top: 1rem;
}

.login-bottom {
  align-items: flex-end;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-top: 2rem;
}

.reset-confirm {
  margin-top: 2rem;
}

.reset-complete {
  text-align: center;
}

ul {
  padding-left: 1.1rem;
}

li {
  list-style-type: disc;
}

.form-text {
  font-size: 1.1rem;
}

.account-form .invalid-feedback {
  text-align: left;
}

#password-reset-form label {
  display: none;
}

.reset-message {
  margin: 1.5rem 0;
  text-align: center;
}

/* A message for the whole form (a wrong password, the cooldown, a wrong
   code): a plain line with room below it, not a bulleted list */
.account-form .errorlist.nonfield,
.card-body > .errorlist.nonfield {
  margin: 0 0 1rem;
  padding: 0;
}

.errorlist.nonfield li {
  list-style: none;
}

/* The eye button inside a password field (password-reveal.js) */
.password-reveal {
  position: relative;
}

.password-reveal input {
  padding-right: 2.75rem;
}

.password-reveal-button {
  align-items: center;
  background: none;
  border: none;
  bottom: 0;
  color: var(--color-muted);
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  padding: 0 0.75rem;
  position: absolute;
  right: 0;
  top: 0;
}

.password-reveal-button:hover,
.password-reveal-button[aria-pressed="true"] {
  color: var(--color-primary);
}
