.wafb {
	--wafb-color: #25D366;
	position: fixed;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	font-family: inherit;
	line-height: 1.4;
}
.wafb--left { align-items: flex-start; }

.wafb__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	color: #fff !important;
}
.wafb--left .wafb__btn { flex-direction: row-reverse; }

.wafb__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--wafb-color);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
	transition: transform .2s ease, box-shadow .2s ease;
	animation: wafb-pop .4s ease-out both;
}
.wafb__btn:hover .wafb__icon,
.wafb__btn:focus-visible .wafb__icon {
	transform: scale(1.08);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.wafb__btn:focus-visible { outline: none; }
.wafb__btn:focus-visible .wafb__icon { outline: 3px solid #fff; outline-offset: 2px; }

.wafb__label {
	background: #fff;
	color: #1f2937;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
	white-space: nowrap;
}

.wafb__greeting {
	position: relative;
	max-width: 260px;
	background: #fff;
	color: #1f2937;
	font-size: 14px;
	padding: 14px 32px 14px 16px;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
	animation: wafb-slide .3s ease-out both;
}
.wafb__greeting[hidden] { display: none; }
.wafb__greeting-text { color: inherit !important; text-decoration: none !important; display: block; }
/* Sterke reset: thema's stylen <button> vaak globaal (achtergrond, padding, hoogte). */
.wafb .wafb__greeting button.wafb__close {
	all: unset;
	position: absolute !important;
	top: 8px !important;
	right: 10px !important;
	left: auto !important;
	bottom: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #6b7280 !important;
	font-family: Arial, sans-serif !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}
.wafb .wafb__greeting button.wafb__close:hover,
.wafb .wafb__greeting button.wafb__close:focus {
	background: none !important;
	box-shadow: none !important;
	color: #111827 !important;
}
.wafb .wafb__greeting button.wafb__close:focus-visible {
	outline: 2px solid var(--wafb-color) !important;
	outline-offset: 2px !important;
}

@media (max-width: 767px) {
	.wafb__label { display: none; }
	.wafb__icon { width: 56px; height: 56px; }
	.wafb__greeting { max-width: 220px; }
}

@keyframes wafb-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes wafb-slide { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.wafb__icon, .wafb__greeting { animation: none; }
	.wafb__icon { transition: none; }
}

@media print { .wafb { display: none !important; } }
