.voidpulse {
	align-items: center;
	background: var(--voidpulse-bg, #fff);
	border: 1px solid var(--voidpulse-border, #e4e7ec);
	border-radius: var(--voidpulse-radius, 14px);
	box-sizing: border-box;
	color: var(--voidpulse-text, #172033);
	display: flex;
	font-family: inherit;
	font-size: var(--voidpulse-font-size, 14px);
	gap: 12px;
	inset-block-end: 22px;
	max-width: calc(100vw - 32px);
	min-height: 82px;
	opacity: 0;
	padding: 10px 42px 10px 10px;
	position: fixed;
	transform: translateY(12px);
	transform-origin: bottom center;
	transition:
		opacity var(--voidpulse-animation-duration, 400ms) var(--voidpulse-animation-easing, ease-out),
		transform var(--voidpulse-animation-duration, 400ms) var(--voidpulse-animation-easing, ease-out);
	width: var(--voidpulse-width, 380px);
	z-index: 99998;
}

.voidpulse--bottom-left {
	inset-inline-start: 22px;
}

.voidpulse--bottom-right {
	inset-inline-end: 22px;
}

.voidpulse--visible {
	opacity: 1;
	transform: translateY(0);
}

.voidpulse--leaving {
	opacity: 0;
	transform: translateY(8px);
}

.voidpulse--animation-fade {
	transform: none;
}

.voidpulse--animation-scale {
	transform: scale(0.88);
}

.voidpulse--animation-bounce {
	transform: translateY(26px) scale(0.96);
}

.voidpulse--animation-flip {
	transform: perspective(700px) rotateX(28deg) translateY(12px);
}

.voidpulse--animation-fade.voidpulse--visible,
.voidpulse--animation-slide.voidpulse--visible,
.voidpulse--animation-scale.voidpulse--visible,
.voidpulse--animation-bounce.voidpulse--visible,
.voidpulse--animation-flip.voidpulse--visible {
	opacity: 1;
	transform: none;
}

.voidpulse--animation-fade.voidpulse--leaving {
	transform: none;
}

.voidpulse--animation-slide.voidpulse--leaving {
	transform: translateY(12px);
}

.voidpulse--animation-scale.voidpulse--leaving {
	transform: scale(0.94);
}

.voidpulse--animation-bounce.voidpulse--leaving {
	transform: translateY(18px) scale(0.97);
}

.voidpulse--animation-flip.voidpulse--leaving {
	transform: perspective(700px) rotateX(-18deg) translateY(8px);
}

.voidpulse--modern {
	box-shadow: 0 10px 30px rgb(16 24 40 / 10%);
}

.voidpulse--minimal {
	border-inline-start: 3px solid var(--voidpulse-accent, #6d5dfc);
	border-radius: 4px;
	box-shadow: none;
}

.voidpulse--clean {
	box-shadow: none;
}

.voidpulse__image {
	flex: 0 0 62px;
	height: 62px;
	object-fit: cover;
	width: 62px;
}

.voidpulse__image--rounded {
	border-radius: 10px;
}

.voidpulse__image--circle {
	border-radius: 50%;
}

.voidpulse__image--square {
	border-radius: 0;
}

.voidpulse__copy {
	flex: 1;
	min-width: 0;
}

.voidpulse__label {
	color: var(--voidpulse-label-color, var(--voidpulse-accent, #6d5dfc));
	display: block;
	font-family: var(--voidpulse-label-font, inherit);
	font-size: var(--voidpulse-label-size, 10px);
	font-weight: var(--voidpulse-label-weight, 500);
	letter-spacing: 0.07em;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.voidpulse__headline {
	color: var(--voidpulse-headline-color, var(--voidpulse-text, #172033));
	display: block;
	font-family: var(--voidpulse-headline-font, inherit);
	font-size: var(--voidpulse-headline-size, calc(var(--voidpulse-font-size, 14px) + 1px));
	font-weight: var(--voidpulse-headline-weight, 500);
	letter-spacing: -0.015em;
	line-height: 1.25;
	margin: 0 0 4px;
	overflow-wrap: anywhere;
}

.voidpulse__message {
	color: var(--voidpulse-message-color, var(--voidpulse-text, #172033));
	display: block;
	font-family: var(--voidpulse-message-font, inherit);
	font-size: var(--voidpulse-message-size, var(--voidpulse-font-size, 14px));
	font-weight: var(--voidpulse-message-weight, 500);
	line-height: 1.45;
	min-width: 0;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.voidpulse__message:hover {
	color: var(--voidpulse-accent, #6d5dfc);
	text-decoration: underline;
}

.voidpulse__close {
	-webkit-appearance: none;
	appearance: none;
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 5px;
	box-shadow: none !important;
	color: var(--voidpulse-muted, #667085);
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	font-weight: 500;
	height: 28px;
	inset-block-start: 6px;
	inset-inline-end: 6px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-height: 28px;
	min-width: 28px;
	opacity: 1;
	padding: 0 !important;
	position: absolute;
	width: 28px;
}

.voidpulse__close:hover,
.voidpulse__close:focus {
	background: rgb(127 127 127 / 10%) !important;
	box-shadow: none !important;
	color: var(--voidpulse-text, #172033);
	filter: none;
	padding: 0 !important;
}

.voidpulse__message:focus-visible,
.voidpulse__close:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--voidpulse-accent, #6d5dfc) 55%, #fff);
	outline-offset: 2px;
}

@media (min-width: 601px) and (max-width: 900px) {

	.voidpulse {
		inset-block-end: 18px;
		max-width: calc(100vw - 36px);
	}

	.voidpulse--bottom-left {
		inset-inline-start: 18px;
	}

	.voidpulse--bottom-right {
		inset-inline-end: 18px;
	}
}

@media (max-width: 600px) {

	.voidpulse {
		gap: 10px;
		inset-block-end: max(10px, env(safe-area-inset-bottom));
		inset-inline-end: max(10px, env(safe-area-inset-right)) !important;
		inset-inline-start: max(10px, env(safe-area-inset-left)) !important;
		max-height: min(40vh, 220px);
		max-width: none;
		min-height: 0;
		padding: 10px 38px 10px 10px;
		width: auto;
	}

	.voidpulse__image {
		flex-basis: clamp(42px, 12vw, 48px);
		height: clamp(42px, 12vw, 48px);
		width: clamp(42px, 12vw, 48px);
	}

	.voidpulse__message {
		font-size: clamp(12px, 3.7vw, var(--voidpulse-font-size, 14px));
		line-height: 1.4;
	}

	.voidpulse__close {
		height: 28px;
		min-height: 28px;
		min-width: 28px;
		width: 28px;
	}

	.voidpulse[data-mobile-position="bottom-right"] {
		text-align: start;
	}
}

@media (max-width: 380px) {

	.voidpulse {
		gap: 8px;
		padding-block: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.voidpulse {
		transition: none;
		transform: none;
	}
}
