// Notification System - Replaces alerts and confirms /** * Show a notification message * @param {string} message - The message to display * @param {string} type - 'success', 'error', 'warning', 'info' * @param {number} duration - Auto-close duration in ms (0 = don't auto-close) */ function showNotification(message, type = 'info', duration = 5000) { const container = document.getElementById('notificationContainer'); if (!container) { console.warn('Notification container not found'); return; } const notification = document.createElement('div'); notification.className = `notification ${type}`; const titles = { success: 'Success', error: 'Error', warning: 'Warning', info: 'Info' }; notification.innerHTML = `