#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #111827;
    /* dark slate */
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(-10px);
    animation: toast-in 0.4s ease forwards;
    font-size: 14px;
}

.toast.success {
    border-left: 4px solid #22c55e;
    /* green */
}

@keyframes toast-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}