/* ============================================================================
   LEGIBILIDAD UNIVERSAL DE FORMULARIOS — Hipercapital Finance
   Fuerza texto OSCURO sobre fondo CLARO en todos los campos, para que nunca
   haya texto blanco invisible sobre fondo blanco. Cargar SIEMPRE despues del
   CSS del tema para que gane por orden + !important.
   ============================================================================ */

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="image"]),
textarea,
select {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  background-color: #ffffff !important;
  caret-color: #0b1220 !important;
  opacity: 1 !important;
}

input::placeholder,
textarea::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  opacity: 1 !important;
}

/* Las opciones del desplegable tambien legibles (algunos SO las pintan claras) */
select option,
select optgroup {
  color: #0b1220 !important;
  background-color: #ffffff !important;
}

/* Autofill de Chrome/Edge: evita texto invisible y el fondo amarillo */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #0b1220 !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
}
