/* Use # to override anything else that may be toast */
#toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 9999;
}

/* Make sure these are “normal” blocks inside the container */
#toast-container .toast {
    position: static;          /* override any absolute/fixed from elsewhere */
    display: block;            /* ensure they stack */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .3s, transform .3s;

    /* optional styling */
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

/* If you have type variants, keep them separate */
#toast-container .toast.success {
    background: #2d7a32;
    color: white;
}

#toast-container .toast.error {
    background: #b3261e;
    color: white;
}

#toast-container .toast.show {
    opacity: 1;
    transform: translateY(0);
}
