.toast-notifications-view {
    display: flex;
    text-align:right;
    
    position: absolute;

    right: 0;
    bottom: 0;
    z-index: 1000000;
}

.toast-notifications {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.toast-notification {
    color: var(--whispr-white);

    cursor: pointer;

    display: flex;

    border: 1px solid;
    border-radius: 2px;

    text-align: justify;

    margin: .5em 1em;
    padding: .25em .5em;

    max-width: 25vw;
    width: fit-content;
}

.toast-notification.error {
    background-color: var(--whispr-dark-red);
    border-color: var(--whispr-red);
}

.toast-notification.info {
    background-color: var(--whispr-corporate-blue);
    border-color: var(--whispr-bright-blue);
}

.toast-notification.warn {
    background-color: var(--whispr-yellow);
    border-color: yellow;
}

.toast-notification .message {
    flex-grow: 1;
}

.toast-notification i {
    cursor: pointer;

    margin-left: 1em;

    height: 100%;
}

@keyframes fade-out {
    0% { 
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.toast-notification.fade-out {
    animation-duration: var(--animation-duration);
    animation-fill-mode: forwards;
    animation-name: fade-out;
}
