.notifications {
    position: fixed;
    bottom: 30px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}
.toast-item {
    animation: show_toast 0.3s ease forwards;
}
.toast-item .toast {
    width: 400px;
    border-radius: 10px;
    background: #ffff;
    padding: 16px 40px 16px 32px;
    position: relative;
    box-shadow: 0 0 10px #ccc;
}
.toast-item .toast::before {
    content: '';
    position: absolute;
    width: 8px;
    height: calc(100% - 20px);
    border-radius: 10px;
    top: 10px;
    right: 10px;
}
.toast-item.success .toast::before {
    background: var(--success);
}
.toast-item.error .toast::before {
    background: var(--error);
}
.toast-item.warning .toast::before {
    background: var(--warning);
}
.toast-item.info .toast::before {
    background: var(--info);
}
.toast-item .toast .icon-wrapper {
    border-radius: 50%;
    display: flex;
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 3px;
    cursor: pointer;
    transition: 0.3s;
}
.toast-item.success .toast .icon-wrapper:hover {
    background: var(--success);
}
.toast-item.error .toast .icon-wrapper:hover {
    background: var(--error);
}
.toast-item.warning .toast .icon-wrapper:hover {
    background: var(--warning);
}
.toast-item.info .toast .icon-wrapper:hover {
    background: var(--info);
}
.toast-item .toast .icon-wrapper:hover svg path {
    fill: #fff;
}
.toast-item .toast h3 {
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    position: relative;
}
.toast-item.success .toast h3 {
    color: var(--success);
}
.toast-item.error .toast h3 {
    color: var(--error);
}
.toast-item.warning .toast h3 {
    color: var(--warning);
}
.toast-item.info .toast h3 {
    color: var(--info);
}
.toast-item .toast p {
    position: relative;
    font-size: 14px;
    z-index: 1;
    margin-top: 10px;
    color: #595959;
    line-height: 25px;
}
.notifications .toast-item.hide {
	animation: hide_toast 0.3s ease forwards;
}
@keyframes show_toast {
	0% {
		transform: translateX(-100%);
	}
	40% {
		transform: translateX(5%);
	}
	80% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(10%);
	}
}

@keyframes hide_toast {
	0% {
		transform: translateX(10%);
	}
	40% {
		transform: translateX(0%);
	}
	80% {
		transform: translateX(5%);
	}
	100% {
		transform: translateX(calc(-100% - 20px));
	}
}