label, button, input {
  font-family: "Montserrat", sans-serif;
}

.button-gender {
  width: 130px;
  height: 50px;
  border-radius: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(150, 150, 150);
  outline: none;
  font-size: 15px;
  transition: border-color .2s;
  background-color: transparent;
  color: rgb(150, 150, 150);
}

.button-gender:hover {
  border-color: black;
  color: black;
  cursor: pointer;
}

.submit_deprecated {
  width: 400px;
  height: 50px;
  border-radius: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(150, 150, 150);
  outline: none;
  font-size: 15px;
  transition: border-color .2s;
  background-color: transparent;
  color: rgb(150, 150, 150);
}

.submit_deprecated:hover {
  color: black;
  border-color: black;
  cursor: pointer;
}

.submit {
  width: 400px;
  height: 50px;
  border-radius: 25px;
  outline: none;
  font-size: 15px;
  transition: border-color .2s;
  background-color: rgb(13, 110, 255);
  color: white;
  font-weight: 500;
  transition: filter .2s;
  border-color: transparent;
  border-style: solid;
  border-width: 2px;
}

.submit:not(:disabled):hover {
  filter: brightness(90%);
  cursor: pointer;
}

.submit:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.submit-label {
  display: block;
  height: 1em;          /* always reserves space for one line of text */
  margin-top: 5px;      /* spacing between button and label */
  color: red;
  font-size: 0.9em;
  line-height: 1em;     /* ensure consistent vertical spacing */
  overflow: hidden;     /* prevents overflow from pushing layout */
  white-space: nowrap;  /* optional: prevents multi-line messages */
}