/* Motyw BDLTheme nadaje wszystkim przyciskom białą czcionkę i zielone tło z !important,
   stąd !important poniżej - inaczej przycisk filtra jest niewidoczny na białym nagłówku. */
table.dataTable thead th .bdl-filter-btn { border: 0 !important; background: none !important; padding: 0 0 0 4px !important;
    cursor: pointer; color: #666 !important; font-size: .9em; line-height: 1; text-transform: none; box-shadow: none !important; }
table.dataTable thead th .bdl-filter-btn:hover { color: #000 !important; }
table.dataTable thead th .bdl-filter-btn.active { color: #2a702b !important; font-weight: bold; }
.bdl-filter-nowrap { white-space: nowrap; }
.bdl-filter-popup { position: absolute; z-index: 1050; min-width: 220px; max-width: 360px;
    background: #fff; border: 1px solid #333; box-shadow: 0 4px 12px rgba(0,0,0,.2); padding: 12px; }
.bdl-filter-list { max-height: 300px; overflow-y: auto; }
.bdl-filter-item { display: block; white-space: nowrap; margin: 2px 0; font-weight: normal; cursor: pointer; }
.bdl-filter-item input { margin-right: 4px; }
.bdl-filter-all { border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 4px; }
.bdl-filter-buttons { display: flex; justify-content: space-around; margin-top: 12px; gap: 8px; }
/* Górny pasek DataTables: "Pokaż [] pozycji" po lewej, "Wyczyść filtry" po prawej */
.bdl-dt-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.bdl-dt-top .dataTables_length { float: none; text-align: left; }
/* Połączenie stylów Bootstrap (.table-bordered) i DataTables zeruje górną krawędź nagłówka - przywracamy ją
   w kolorze bocznych krawędzi. */
table.dataTable.table-bordered thead th { border-top: 1px solid #dee2e6; }
/* Rozmiar czcionki tabeli i opisów DataTables (Pokaż, informacja o liczbie pozycji, paginacja) oraz okienka filtra */
#bdlDataTable_wrapper,
#bdlDataTable_wrapper table.dataTable,
#bdlDataTable_wrapper select,
#bdlDataTable_wrapper .paginate_button,
#bdlDataTable_wrapper #bdlClearFilters,
.bdl-filter-popup,
.bdl-filter-popup input,
.bdl-filter-popup button { font-size: 14px !important; }
