xt without full re-render
        e.target.parentElement.childNodes[0].textContent = filter.column;
      }
    }
  });
  
  // Handle operator select change
  document.addEventListener('change', (e) => {
    if (e.target.classList.contains('dropdown-select') && e.target.parentElement.classList.contains('filter-badge-operator')) {
      const id = parseInt(e.target.dataset.id);
      const filter = filters.find(f => f.id === id);
      if (filter) {
        filter.operator = e.target.value;
        
       