/* MAIMO: label + input on the same line for the optional graduation year field */
.text__field__card.graduation-year-row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.text__field__card.graduation-year-row h6 {
  margin: 0;
  flex: 1;
}

.text__field__card.graduation-year-row input#donation_graduation_year {
  width: 90px;
  flex: 0 0 90px;
  padding: 13px 10px;
  text-align: center;
}

/* The validation error message is inserted right after the input in the DOM;
   force it full-width so it wraps to its own line instead of sitting beside the input. */
.text__field__card.graduation-year-row .invalid-feedback {
  flex: 0 0 100%;
  width: 100%;
}
