@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: color-mix(in srgb, var(--rp-surface) 88%, transparent);
	backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
	width: 380px;
	min-height: 70px;
	box-shadow: var(--rp-shadow);
	border-radius: var(--rp-radius);
	border: 1px solid var(--rp-border);
	border-left: 3px solid transparent;
}

.toast-notification .notification.success{
	border-left-color: var(--rp-success);
}

.toast-notification .notification.fail{
	border-left-color: var(--rp-danger);
}

.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: var(--rp-success);
}

.toast-notification .notification.fail .icon-box i{
	color: var(--rp-danger);
}

.toast-notification .text-box{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.toast-notification .text-box p{
	color: var(--rp-text);
	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: var(--rp-text-muted);
	font-size: 18px;
	transition: var(--transition);
}

.toast-notification .btn-close:hover i{
	color: var(--rp-text);
}



@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: 100%;
	}
}


@media screen and (max-width: 500px){
	.toast-notification{
		top: 70px;
	}
}