         document.getElementById('deviceUtilizationDetails').textContent = `${data.utilizationStats.daysBooked} of ${data.utilizationStats.daysAvailable} days`;

            // Update booking date range
            const firstBooking = data.revenueStats.firstBooking ? new Date(data.revenueStats.firstBooking).toLocaleDateString() : 'N/A';
            const lastBooking = data.revenueStats.lastBooking ? new Date(data.revenueStats.lastBooking).toLocaleDateString() : 'N/A';
            document.getElementById('d