/**
 * Botao flutuante: apenas icone verde (alinhado ao widget Shadcn quando o plugin esta ativo).
 */

.vlr-whatsapp-float {
	--vlr-wa-green: #25d366;
	--vlr-wa-green-rgb: 37, 211, 102;
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0 !important;
	margin: 0 !important;
	border: none;
	border-radius: 50%;
	background: var(--vlr-wa-green) !important;
	color: #fff !important;
	box-shadow:
		0 3px 14px rgba(0, 0, 0, 0.2),
		0 0 0 0 rgb(var(--vlr-wa-green-rgb) / 0.5);
	text-decoration: none;
	transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
	animation: vlr-wa-pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	-webkit-tap-highlight-color: transparent;
}

.vlr-whatsapp-float:hover,
.vlr-whatsapp-float:focus-visible {
	transform: translateY(-2px) scale(1.05);
	filter: brightness(1.06);
	color: #fff !important;
	outline: 2px solid rgba(255, 255, 255, 0.65);
	outline-offset: 3px;
}

.vlr-whatsapp-float:focus-visible {
	animation: none;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.vlr-whatsapp-float:active {
	outline: none;
	filter: brightness(1.03);
}

.vlr-whatsapp-float__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vlr-whatsapp-float__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: inherit;
}

.vlr-whatsapp-float__icon svg {
	display: block;
}

@keyframes vlr-wa-pulsing {
	0% {
		box-shadow:
			0 3px 14px rgba(0, 0, 0, 0.2),
			0 0 0 0 rgb(var(--vlr-wa-green-rgb) / 0.52);
	}
	100% {
		box-shadow:
			0 3px 14px rgba(0, 0, 0, 0.16),
			0 0 0 26px rgb(var(--vlr-wa-green-rgb) / 0);
	}
}

@media (max-width: 767px) {
	.vlr-whatsapp-float {
		right: 14px;
		bottom: 14px;
	}
}
