.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 250px;
    border-radius: 8px;
    padding: 15px;
    display: none;
    z-index: 9999;
    color: #333;
}

.toast.active {
    display: block;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
		opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
	}
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    animation: decrease 3s linear forwards;
}

@keyframes decrease {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}