.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999999;
    width: 350px;
}

.toast {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    opacity: 1;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
}

.toast-enter {
    animation-name: bounceIn;
}

.toast-exit {
    animation-name: bounceOut;
}

.toast-icon {
    margin-right: 10px;
    color: #4caf50;
}

.toast-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.toast-success {
    background-color: #2770ff;
}
.toast-error {
    background-color: #ff3333;
}
.toast-warning {
    background-color: #ffcc00;
}

.toast-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.toast-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: -5px;
}

.toast-content p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.toast-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    margin-left: 10px;
}

.toast-close:hover {
    color: #000;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    animation: toastProgress 3s linear forwards;
}
.success-progress{
    background-color: #2770ff;
}
.error-progress{
    background-color: #ff3333;
}
.warning-progress{
    background-color: #ffcc00;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

@keyframes bounceIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    50% {
        transform: translateY(30px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}