/* Toast container */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Ensure it's on top of other content */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between notifications */
}

/* Base toast styles */
.toast {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 14px;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    transition: all 0.5s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Success toast */
.toast-success {
    background-color: #4CAF50;
    color: white;
}

/* Error toast */
.toast-error {
    background-color: #F44336;
    color: white;
}

/* Info toast */
.toast-info {
    background-color: #2196F3;
    color: white;
}

/* Warning toast */
.toast-warning {
    background-color: #FFC107;
    color: #333;
}

/* Close button for toast */
.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
}

/* Animation to fade out */
.toast.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
