/* override tabulator base, da mettere DOPO il css ufficiale */

/* reset sfondi righe e celle */
.tabulator,
.tabulator .tabulator-header,
.tabulator .tabulator-col,
.tabulator .tabulator-tableholder,
.tabulator .tabulator-table,
.tabulator .tabulator-footer,
.tabulator-row,
.tabulator-row .tabulator-cell {
  background-color: transparent !important;
  font-size: 14px;
}

/* zebra, hover, selected: unica palette trasparente */
.tabulator-row:nth-child(even) {
  background-color: rgba(var(--bs-emphasis-color-rgb), .04) !important;
}
.tabulator-row.tabulator-selectable:hover {
  background-color: rgba(var(--bs-emphasis-color-rgb), .08) !important;
}
.tabulator-row.tabulator-selected {
  background-color: rgba(var(--bs-primary-rgb), .20) !important;
  color: var(--bs-body-color);
}

/* footer, header coerenti */
.tabulator .tabulator-header { border-bottom: 1px solid var(--bs-border-color) !important; }
.tabulator .tabulator-col   { border-right: 1px solid var(--bs-border-color) !important; }
.tabulator-row              { border-bottom: 1px solid var(--bs-border-color) !important; }
.tabulator-row .tabulator-cell { border-right: 1px solid var(--bs-border-color) !important; }

/* input/editor */
.tabulator input,
.tabulator select,
.tabulator textarea {
  background-color: rgba(var(--bs-body-bg-rgb), .7);
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.tabulator-col-title {
  font-weight: 600;
  color: var(--vns-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input {
  font-size: 14px;
  background-color: rgba(255,255,255,0);
}


/* ==================================================== */
.tabulator .ip_ev {
  font-weight: 600;
  color: var(--bs-primary); /* o un colore che si adatta a light/dark */
}
.tabulator .has-hit{ box-shadow: inset 0 0 0 9999px var(--vns-primary-30); }
.vns-table-search-block{ margin-bottom: 20px ; }
.vns-toolbar{ color: #000e23; }
.vns-hidden { display: none !important; }
.dropdown-menu.show { z-index: 9999 !important; }