function showToast(options) { if (!options) return; const toast = document.getElementById("toast"); const tMsg = document.getElementById("toast-msg"); const tIcon = document.getElementById("toast-icon"); tMsg.textContent = options.title; tIcon.textContent = options.icon; toast.classList.add("show"); setTimeout(() => { toast.classList.remove("show"); }, 3500); }