<style>
/* Container for the notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual notification style */
.custom-toast {
    min-width: 250px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-family: Tahoma, Arial, sans-serif; /* Good for Persian text */
    font-size: 14px;
    direction: rtl;
    text-align: right;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    /* Animation settings */
    opacity: 0;
    transform: translateY(20px);
    animation: toastSlideIn 0.4s forwards, toastFadeOut 0.4s 3.6s forwards;
}

/* Colors for different types of messages */
.custom-toast.success { background-color: #10B981; } /* Modern Green */
.custom-toast.error { background-color: #EF4444; }   /* Modern Red */
.custom-toast.info { background-color: #3B82F6; }    /* Modern Blue */

/* Animations */
@keyframes toastSlideIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateY(-10px); }
}
</style>