gles:', toggles.length);
            
            toggles.forEach((toggle, index) => {
                console.log('Setting up toggle', index, toggle);
                
                toggle.addEventListener('click', function(e) {
                    console.log('Toggle clicked!', index);
                    e.stopPropagation();
                    
                    const dropdown = this.closest('.rc-dropdown');
                    console.log('Dropdown element:', dropdown);
                    
       