.birth-input-row .birth-year-stepper {
  position: relative;
  min-width: 0;
}

.birth-input-row .birth-year-stepper input[type="number"] {
  width: 100%;
  padding-right: 28px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.birth-year-stepper input::-webkit-inner-spin-button,
.birth-year-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.birth-year-stepper .birth-year-steps {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 22px;
}

.birth-input-row .birth-year-stepper button {
  display: grid;
  place-items: center;
  width: 22px;
  min-width: 22px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #475569;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
}

.birth-input-row .birth-year-stepper button:hover,
.birth-input-row .birth-year-stepper button:focus-visible {
  background: #eff6ff;
  color: #1d4ed8;
}

.birth-input-row .birth-year-stepper button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}
