﻿#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 7px 30px 5px 40px;
    opacity: 1;
    z-index: 9999;
    overflow: hidden;
}

    #toast svg {
        position: absolute;
        left: 17px;
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

        #toast svg.success path {
            color: #4CAF50;
        }

        #toast svg.error path {
            color: #F44336;
        }

    #toast::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: var(--bs-toast-border-color);
    }

    #toast.show::after {
        animation: timer 4s linear forwards;
    }

@keyframes timer {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}
