 (alertDiv.parentNode) {
                    alertDiv.remove();
                }
            }, 3000);
        }
    }

    function updateCaseDevicesContent(devices, caseID) {
        const content = document.getElementById('caseDevicesContent');
        if (!content) return;
        
        if (devices.length === 0) {
            content.innerHTML = `
                <div class="rc-text-center rc-py-xl">
                    <div style="font-size: 3rem; color: var(--text-muted); margin-bottom: var(--spac