.wafb {
	position: fixed;
	bottom: var(--wafb-bottom, 20px);
	z-index: 99999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 13px;
	background: var(--wafb-color, #25D366);
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
	text-decoration: none;
	font: 600 15px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	transition: transform .2s ease, box-shadow .2s ease, opacity .3s ease;
}
.wafb-right { right: var(--wafb-side, 20px); }
.wafb-left  { left:  var(--wafb-side, 20px); }

.wafb:hover,
.wafb:focus {
	color: #fff;
	transform: scale(1.06);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.wafb svg { display: block; flex: none; }
.wafb-label { padding-right: 8px; white-space: nowrap; }

.wafb-delayed { opacity: 0; pointer-events: none; transform: translateY(20px); }
.wafb-delayed.wafb-in { opacity: 1; pointer-events: auto; transform: none; }

.wafb-pulse::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--wafb-color, #25D366);
	z-index: -1;
	animation: wafb-pulse 2s ease-out infinite;
}
@keyframes wafb-pulse {
	0%   { transform: scale(1);   opacity: .6; }
	100% { transform: scale(1.5); opacity: 0; }
}

@media (min-width: 769px) { .wafb-hide-desktop { display: none !important; } }
@media (max-width: 768px) {
	.wafb-hide-mobile { display: none !important; }
	.wafb-label { display: none; }
	.wafb { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.wafb, .wafb-pulse::before { animation: none; transition: none; }
}
