﻿.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #000f08;
    color: #17a65e;
    text-align: center;
    border: solid 1px #17a65e;
    font-weight: normal;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 3000;
    left: 50%;
    top: 30px;
    font-size: 13px;
}

    .toast.toasterror {
        background-color: #0f0008;
        color: #f55b3c;
        border: solid 1px #f55b3c;
    }

    .toast.show {
        visibility: visible;
        animation: fadeinout 3s linear forwards;
    }

    .toast svg {
        width: calc(var(--spacing) * 5);
        height: calc(var(--spacing) * 5);
        font-family: var(--font-family);
        margin-right: calc(var(--spacing) * 3);
        vertical-align: central;
    }

    .toast span {
        vertical-align: central;
    }

@keyframes fadeinout {
    0% {
        opacity: 0;
        top: 0;
    }

    10% {
        opacity: 1;
        top: 30px;
    }

    90% {
        opacity: 1;
        top: 30px;
    }

    100% {
        opacity: 0;
        top: 0;
    }
}
