/* Project-specific styles. Tailwind utility classes do most of the work. */

/* Prevent iOS Safari from zooming in when focusing form controls.
   iOS auto-zooms when font-size < 16px; setting 16px as a floor stops it
   without disabling user-initiated pinch zoom. */
input:not([type=checkbox]):not([type=radio]),
select,
textarea {
  font-size: max(16px, 1em);
}

/* Dark mode: apply dark bg/text to native form controls globally */
.dark input:not([type=checkbox]):not([type=radio]),
.dark select,
.dark textarea {
  background-color: rgb(30 41 59); /* slate-800 */
  color: rgb(226 232 240);         /* slate-200 */
}

/* Ensures native UI (date picker, scrollbar, etc.) follows dark mode */
.dark {
  color-scheme: dark;
}
