ursor-default', 'opacity-50');
                } else if (onClick) {
                    button.addEventListener('click', onClick);
                }

                return button;
            }

            // Event Listeners
            // Catalog filter change
            catalogFilterInputs.forEach(input => {
                input.addEventListener('change', () => {
                    activeCatalogFilter = input.value;
                    filterDatasets();
                });
            });

         