diff --git a/src/components/dashboard/EventsSection.astro b/src/components/dashboard/EventsSection.astro
index ae75ade..896c03d 100644
--- a/src/components/dashboard/EventsSection.astro
+++ b/src/components/dashboard/EventsSection.astro
@@ -1,7 +1,7 @@
---
import { Icon } from "astro-icon/components";
import JSZip from "jszip";
-import FilePreview from "./Officer_EventManagement/FilePreview";
+import FilePreview from "./universal/FilePreview";
---
@@ -276,9 +276,27 @@ import FilePreview from "./Officer_EventManagement/FilePreview";
const toast = document.createElement("div");
toast.className = "toast translate-x-full";
toast.setAttribute("data-index", "0");
+
+ // Update alert styling based on type
+ const alertClass =
+ type === "success"
+ ? "alert-success bg-success text-success-content"
+ : type === "error"
+ ? "alert-error bg-error text-error-content"
+ : "alert-warning bg-warning text-warning-content";
+
toast.innerHTML = `
-
-
${message}
+
+
+ ${
+ type === "success"
+ ? '
'
+ : type === "error"
+ ? '
'
+ : '
'
+ }
+
${message}
+
`;