@layer components {
  /* :not() raises specificity above the @tailwindcss/forms [type='…'] rules */
  :is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="submit"], [type="file"]) {
    @apply bg-bg text-ink border-muted/50 px-3 focus:border-primary-dark focus:ring-primary-dark;
  }

  :is(input, select):not([type="checkbox"], [type="radio"], [type="submit"], [type="file"]) {
    @apply min-h-[44px];
  }

  label {
    @apply font-heading font-semibold text-[15px] text-ink;
  }

  input[type="checkbox"] {
    @apply mr-2 text-primary-dark;
  }

  .form-field {
    @apply mb-4;
  }

  .field-hint {
    @apply text-sm text-muted mt-1;
  }

  textarea {
    @apply w-full md:w-1/2 h-60;
  }
}
