| /** | |
| * Toast Notifications - User feedback messages | |
| */ | |
| /** | |
| * Show toast notification | |
| */ | |
| export function showToast(message, type = 'info') { | |
| const toast = document.getElementById('toast'); | |
| if (!toast) return; | |
| toast.textContent = message; | |
| toast.className = `toast ${type} show`; | |
| setTimeout(() => { | |
| toast.classList.remove('show'); | |
| }, 3000); | |
| } | |