@charset "utf-8";

.toast-notification{
	position: fixed;
	top: 102px; right: 20px;
	z-index: 90909090;
}

.toast-notification .notification{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	padding: 20px;
	background-color: rgba(255,255,255,0.7);
	backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
	width: 380px;
	min-height: 70px;
	box-shadow: 0px 0px 10px rgba(255, 90, 90, 0.15);
	border-radius: 5px;
	border-left: 3px solid transparent;
}

.toast-notification .notification.success{
	border-left-color: #0faf0e;
}

.toast-notification .notification.fail{
	border-left-color: #dd2445;
}

.toast-notification .notification:not(:first-child){
	margin-top: 10px;
}

.toast-notification .icon-box i{
	font-size: 22px;
}

.toast-notification .notification.success .icon-box i{
	color: #0faf0e;
}

.toast-notification .notification.fail .icon-box i{
	color: #dd2445;
}

.toast-notification .text-box{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.toast-notification .text-box p{
	color: var(--gray01);
	font-weight: var(--fw-500);
	font-size: 15px;
	width: 260px;
	line-height: 1.3;
}

.toast-notification .btn-close{
	position: absolute;
	top: 50%; right: 20px;
	transform: translateY(-50%);
}

.toast-notification .btn-close i{
	color: #c8c8c8;
	font-size: 18px;
	transition: var(--transition);
}

.toast-notification .btn-close:hover i{
	color: #aaa;
}



@media screen and (max-width: 1200px){
	.toast-notification{
		top: 90px;
	}
}

@media screen and (max-width: 1000px){
	.toast-notification{
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	.toast-notification .notification{
		border: 0;
		width: auto;
		justify-content: center;
		min-width: 250px;
		min-height: 50px;
		padding: 10px 20px;
		border-radius: 50px;
	}
	.toast-notification .text-box p{
		width: auto;
	}
	.toast-notification .btn-close{
		display: none;
	}
	.toast-notification .notification:not(:first-child){
		margin-top: 5px;
	}
}


@media screen and (max-width: 767px){
	.toast-notification{
		max-width: 90%;
		display: flex;
        flex-direction: column;
        align-items: center;
	}
	 .toast-notification .notification {
        min-width: 205px;
		max-width: 100%;
        min-height: 40px;
    }
	.toast-notification .text-box{
		max-width: 100%;
        overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.toast-notification .icon-box i{
		font-size: 18px;
	}
	.toast-notification .text-box p{
		font-size: 13px;
		max-width:
	}
}


@media screen and (max-width: 500px){
	.toast-notification{
		top: 70px;
	}
}