.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: fadeInOut 3s ease-in-out;
    color: white;
    font-size: 16px;
}

.toast.success {
    background-color: #4caf50; /* Green for success */
}

.toast.error {
    background-color: #f44336; /* Red for error */
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}
