.ui-toast {
	border-radius: 18px;
	background: #fff;
	min-width: 340px;
	box-shadow: 0 25px 70px rgba(0, 0, 0, .18);
	overflow: hidden;
}

.ui-toast-icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #f9fafb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ui-toast-progress {
	height: 3px;
	background: rgba(0, 0, 0, .15);
	animation: toastProgress linear forwards;
	margin-top: 10px;
}

@keyframes toastProgress {
	from {
		width: 100%
	}

	to {
		width: 0%
	}
}

.ui-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .35);
	backdrop-filter: blur(1px);
	z-index: 30000;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.ui-modal-open {
	overflow: hidden !important;
	user-select: none !important;
}

.ui-box {
	background: #fff;
	border-radius: 18px;
	padding: 40px;
	width: 100%;
	max-width: 530px;
	text-align: center;
	box-shadow: 0 40px 100px rgba(0, 0, 0, .2);
	animation: pop .2s ease;
}

.ui-icon {
	font-size: 42px;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.ui-spinner {
	width: 64px;
	height: 64px;
	border: 4px solid #e5e7eb;
	border-top-color: #111827;
	border-radius: 50%;
	animation: spin 0.9s linear infinite;
	margin: 0 auto 20px;
}

.ui-title {
	font-weight: 600;
	margin-bottom: 8px;
}

.ui-message {
	font-size: 1em;
	color: #6b7280;
	margin-bottom: 24px;
}

.ui-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes pop {
	from {
		transform: scale(.96);
		opacity: 0
	}

	to {
		transform: scale(1);
		opacity: 1
	}
}
