/* Abrams Intake DOB Fix: reveal the year control in the flatpickr popup
   used by the intake form's Date of Birth field.
   v1.0.2: The site theme styles every input[type=number] with 1rem
   horizontal padding, 1.7 line-height and block display, which crushes
   the flatpickr year input inside the 34px popup header. These rules
   fully reset that one input, force a dark text colour (including the
   iOS -webkit-text-fill-color path), and lift it above the month
   dropdown so nothing can paint over it. Popup only. */
.flatpickr-calendar .flatpickr-current-month {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.flatpickr-calendar .flatpickr-current-month select.flatpickr-monthDropdown-months {
  position: relative !important;
  z-index: 1;
  flex: 0 0 auto;
  width: auto !important;
}
.flatpickr-calendar .flatpickr-current-month .numInputWrapper {
  display: inline-block !important;
  position: relative !important;
  z-index: 3;
  flex: 0 0 auto;
  width: 78px !important;
  min-width: 78px !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
}
.flatpickr-calendar .flatpickr-current-month input.cur-year {
  display: inline-block !important;
  position: relative !important;
  z-index: 3;
  width: 62px !important;
  min-width: 62px !important;
  max-width: none !important;
  height: 26px !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #393939 !important;
  -webkit-text-fill-color: #393939 !important;
  caret-color: #393939;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowDown {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 4;
}
