/* CSS to hide Retención IVA fields by default */
/* This ensures they are hidden before JS loads to prevent flashing and ensure default state */

/* Standard Dolibarr Extrafield Row IDs */
#tr_options_dtesv_retencion_iva_aplica,
#tr_options_dtesv_retencion_iva_base,
#tr_options_dtesv_retencion_iva_rate,
#tr_options_dtesv_retencion_iva_amount {
    display: none;
}

/* Fallback using :has selector for robustness if IDs change logic */
tr:has([name="options_dtesv_retencion_iva_aplica"]),
tr:has([name="options_dtesv_retencion_iva_base"]),
tr:has([name="options_dtesv_retencion_iva_rate"]),
tr:has([name="options_dtesv_retencion_iva_amount"]) {
    display: none;
}
