/* Container to hold the toasts */
#toast-container {
    position: fixed; /* Stays in the same place even when scrolling */
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* Horizontally centers the container */
    z-index: 9999; /* Ensures it appears on top of other content */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Base style for all toasts */
.toast {
    padding: 12px 20px;
    color: white;
    font-family: sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    min-width: 250px;
    text-align: center;
    display: none; /* Initially hidden, jQuery will show it */
}

/* Specific styles for each toast type */
.toast.success {
    background-color: #28a745; /* Green */
}

.toast.warning {
    background-color: #ffc107; /* Yellow */
    color: #333; /* Dark text for better readability on yellow */
}

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