.ui-datatable tbody tr td.servico-atrasado {
  background-color: #dc3545;
  background-image: none;
  color: #000000;
}
.ui-datatable tbody tr.impedido,
.ui-datatable tbody tr td.vencido,
.ui-datatable tbody tr.user-blocked {
  background-color: #ffc107;
  background-image: none;
  color: #000000;
}

.ui-datatable tbody tr.inativo,
.ui-datatable tbody tr.invalidado {
  background-color: #e9ecef !important;
}
.table-filter-inputText-number {
  max-width: 80px !important;
}

table .ui-widget-content td.destaque-f7,
table .ui-widget-content td.evento-temporario {
  background-color: #ffc107;
}

/*  custom primefaces tabelas responsivas */
body .ui-datatable table {
  table-layout: auto !important;
}

body .ui-datatable thead th {
  white-space: nowrap; /* Evita quebra de linha */
  width: auto; /* Permite ajuste natural */
}
/* fim  - custom primefaces tabelas responsivas  */
/* coluna do icone de detalhes */
body .ui-datatable thead th.column-details {
  min-width: 8px !important;
}
/* coluna do icone de detalhes e coluna de ações */
th.column-details + th,
th:has(> span.ui-column-title:empty) {
  min-width: 7em !important;
}

.div-filter-datatable {
  margin-bottom: 8px;
}
.div-filter-datatable button {
  background-color: #f8f9fa !important;
  border-color: #ddd !important;
  color: #444 !important;
}
