e="checkbox"]');
        const selectedCount = Array.from(checkboxes).filter(cb => cb.checked).length;
        
        document.getElementById('selectionCount').textContent = selectedCount;
        document.getElementById('deleteSelectedBtn').disabled = selectedCount === 0;
    }

    function confirmSelectiveDeletion() {
        const checkboxes = document.querySelectorAll('#cableSelectionList input[type="checkbox"]:checked');
        const selectedIds = Array.from(checkboxes).map(cb => parseInt(cb.value)