.noravo-root {
	position: fixed;
	z-index: 99998;
	display: flex;
	width: min(var(--noravo-toast-width, 360px), calc(100vw - 32px));
	pointer-events: none;
}

.noravo-bottom-left,
.noravo-bottom-right {
	bottom: 24px;
}

.noravo-top-left,
.noravo-top-right {
	top: 24px;
}

.noravo-bottom-left,
.noravo-top-left {
	left: 24px;
}

.noravo-bottom-right,
.noravo-top-right {
	right: 24px;
}

.noravo-toast {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 12px;
	width: 100%;
	padding: 14px;
	color: var(--noravo-toast-text, #172026);
	text-decoration: none;
	background: var(--noravo-toast-background, rgba(255, 255, 255, 0.96));
	border: 1px solid rgba(22, 32, 38, 0.12);
	border-radius: var(--noravo-toast-radius, 8px);
	box-shadow: 0 18px 46px rgba(22, 32, 38, 0.16);
	pointer-events: auto;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 220ms ease, transform 220ms ease;
	backdrop-filter: blur(14px);
}

.noravo-animation-fade .noravo-toast {
	transform: none;
}

.noravo-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.noravo-toast:hover {
	color: var(--noravo-toast-text, #172026);
	border-color: rgba(24, 119, 242, 0.28);
}

.noravo-toast-icon,
.noravo-toast-image {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 8px;
	overflow: hidden;
}

.noravo-toast-icon {
	color: #0f766e;
	background: #e6fffa;
}

.noravo-toast-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.noravo-toast-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.noravo-toast-body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.noravo-toast-body strong {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.noravo-toast-body span {
	font-size: 13px;
	line-height: 1.4;
	color: color-mix(in srgb, var(--noravo-toast-text, #172026) 78%, transparent);
}

.noravo-toast-body small {
	margin-top: 2px;
	font-size: 11px;
	line-height: 1.2;
	color: color-mix(in srgb, var(--noravo-toast-text, #172026) 58%, transparent);
}

@media (max-width: 520px) {
	.noravo-root {
		right: 16px;
		bottom: 16px;
		left: 16px;
		top: auto;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.noravo-toast {
		transition: none;
		transform: none;
	}
}
