/* Toast container */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Toast message */
.toast {
    min-width: 250px;
    max-width: 350px;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: toast-in 0.3s ease-in-out;
    background-color: white;
    border-left: 4px solid;
}

/* Toast types */
.toast.success {
    border-left-color: var(--lightGreen, #009e3c);
}

.toast.error {
    border-left-color: var(--red, #e60000);
}

.toast.warning {
    border-left-color: var(--yellow, #ffdc00);
}

.toast.info {
    border-left-color: var(--steelBlue, #5e89a1);
}

/* Toast content */
.toast-content {
    flex: 1;
    padding-right: 10px;
}

/* Toast close button */
.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #777;
}

.toast-close:hover {
    color: #333;
}

/* Toast animations */
@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-hiding {
    animation: toast-out 0.3s ease-in-out forwards;
}

@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
