`
        <i class="bi bi-download"></i> 
        Preparing ${format} export... This may take a moment.
        <button onclick="this.parentElement.remove();" class="rc-btn rc-btn-sm rc-ml-2">&times;</button>
    `;
    document.body.appendChild(notification);
    
    // Auto remove notification after 5 seconds
    setTimeout(() => {
        if (notification.parentElement) {
            notification.remove();
        }
    }, 5000);
}


function exportData(format) {
    const period = new URLSearchParams(w