.toast-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
}

.toast-alert {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    transform: translateX(calc(100% + 30px));
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.toast-alert.show:not(.hide) {
    transform: translateX(0%);
}

.toast-main {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 325px;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.toast-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.toast-alert:not(.static) .progress-bar {
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    animation: progress 5s linear 1;
}

.toast-alert.static .progress-bar,
.toast-alert:hover .progress-bar {
    animation-play-state: paused;
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}