/*
 * Kontras kolom formulir (publik + admin).
 * Sebelumnya kolom tidak punya garis tepi karena plugin @tailwindcss/forms tidak terpasang
 * dan class "border-gray-300" hanya mengatur WARNA garis, bukan ketebalannya.
 * File ini dimuat setelah CSS utama, tidak perlu rebuild Vite.
 */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]),
textarea,
select {
  border: 1px solid #1f2937;
  background-color: #fff;
  color: #111827;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):hover,
textarea:hover,
select:hover {
  border-color: #000;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]):focus,
textarea:focus,
select:focus {
  border-color: #0f766e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.28);
}

/* Jarak isi bawaan (kalah dari class utility seperti px-3 py-2 bila ada) */
html input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="range"]):not([type="color"]),
html textarea,
html select {
  padding: 0.6rem 0.85rem;
}

input[type="checkbox"],
input[type="radio"] {
  border: 1px solid #1f2937;
  accent-color: #0f766e;
}

input[type="file"] {
  color: #111827;
}

::placeholder {
  color: #6b7280;
  opacity: 1;
}

/* Teks kecil abu-abu muda di latar putih (rasio kontras < 4.5:1) dibuat lebih gelap */
.text-gray-400 {
  color: #4b5563;
}
footer .text-gray-400 {
  color: #d1d5db;
}
