/* Log in page: reuses the card, form and button styles from signup.css */

.card--narrow {
  max-width: 30rem;
}

.step:not([hidden]) {
  animation: fade-up 0.5s ease-out both;
}

/* One-time code box: big, centered digits, always left to right */
.field__input--code {
  direction: ltr;
  min-height: 3.5rem;
  padding-inline: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.6em;
  text-align: center;
  text-indent: 0.6em; /* balances the trailing letter-spacing so digits sit centered */
}

.field__input--code::placeholder {
  letter-spacing: 0.6em;
}

/* Text-like buttons under the code form */
.form__alt--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.link-btn {
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--red);
  font: 700 0.9rem/1.3 var(--font-body);
  text-decoration: underline;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--black);
}

.link-btn:disabled {
  color: #777;
  text-decoration: none;
  cursor: default;
}
