t newOption = document.createElement('option');
            newOption.value = categoryName.toLowerCase().replace(/\s+/g, '-');
            newOption.textContent = `${icon} ${categoryName}`;
            
            select.insertBefore(newOption, select.lastElementChild);
            select.value = newOption.value;
            
            showToast(`Created and selected: ${categoryName}`);
        }

        function simulateUrlPreview(url) {
            const preview = document.getElementById('urlPreview')