toast-wrapper{
    z-index: 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
    position: fixed;
    top: 20px;
    right: 50vw;
    max-width: 250px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    transform: translate(50%, 0px);
    margin: 0 auto;
}

toast {
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 0;
}
toast.active{
    opacity: 1;
}

toast .toastClose{
    top: -10px;
    right: -8px;
    background: black;
    color:white;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;    
}

/* --------------------------------------- TYPES ---------------- */
toast.default,
toast.autoDismiss,
toast.customHtml,
toast.autoDismiss_customHtml{
    animation: slideInNotification 1s ease-in-out;
}

/* --------------------------------------- STATUS ---------------- */
toast.success {
    background-color: #008080;
    color: white;
}
toast.info {
    background-color: #D5B56E;
    color: white;
}
toast.warning {
    background-color: #FF6347;
    color: black;
}
toast.error {
    background-color: #800020;
    color: white;
}

/* --------------------------------------- ANIMATIONS ---------------- */
@keyframes slideInNotification {
    0% { transform: translate(0, 15%); opacity: 0; }
    100% { transform: translate(0, 0%); opacity: 1; }
}

@keyframes fadeOutNotification {
    0%{ opacity:1; }
    100% { opacity: 0; }
}
