.display = 'inline-block';
            } else {
                serialSpan.style.display = 'none';
            }
            
            // Only show category if it exists
            const categorySpan = document.getElementById('deviceCategory');
            if (data.deviceInfo.categoryName) {
                categorySpan.textContent = data.deviceInfo.categoryName;
                categorySpan.style.display = 'inline-block';
            } else {
                categorySpan.style.display = 'none';
       