es
        const colorPicker = document.getElementById('color');
        const colorHex = document.getElementById('colorHex');
        
        if (colorPicker && colorHex) {
            colorPicker.addEventListener('input', function() {
                colorHex.value = this.value;
            });
        }
    });
    
    function toggleTagForm() {
        const form = document.getElementById('tagFormContainer');
        const button = document.getElementById('toggleTagForm');
        
        if (form.st