.wfp-floating-button {
	align-items: center;
	background: var(--wfp-brand, #25d366);
	border: 0;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
	box-sizing: border-box;
	color: var(--wfp-text, #fff);
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 700;
	gap: 10px;
	line-height: 1.2;
	position: fixed;
	text-decoration: none;
	transition: box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.wfp-floating-button:hover,
.wfp-floating-button:focus {
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
	color: var(--wfp-text, #fff);
	text-decoration: none;
	transform: translateY(-2px);
}

.wfp-floating-button:focus-visible {
	outline: 3px solid rgba(37, 211, 102, 0.35);
	outline-offset: 4px;
}

.wfp-floating-button.is-wfp-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
}

.wfp-style-pill {
	border-radius: 999px;
}

.wfp-style-circle {
	aspect-ratio: 1;
	border-radius: 50%;
	justify-content: center;
	padding: 0;
}

.wfp-style-card {
	border-radius: 8px;
	padding: 12px 16px;
}

.wfp-size-small {
	font-size: 13px;
	min-height: 44px;
	padding: 10px 14px;
}

.wfp-size-medium {
	font-size: 15px;
	min-height: 54px;
	padding: 13px 18px;
}

.wfp-size-large {
	font-size: 17px;
	min-height: 64px;
	padding: 16px 22px;
}

.wfp-style-circle.wfp-size-small {
	height: 48px;
	width: 48px;
}

.wfp-style-circle.wfp-size-medium {
	height: 58px;
	width: 58px;
}

.wfp-style-circle.wfp-size-large {
	height: 68px;
	width: 68px;
}

.wfp-position-bottom-right {
	bottom: 24px;
	right: 24px;
}

.wfp-position-bottom-left {
	bottom: 24px;
	left: 24px;
}

.wfp-position-top-right {
	right: 24px;
	top: 24px;
}

.wfp-position-top-left {
	left: 24px;
	top: 24px;
}

.wfp-icon {
	display: inline-flex;
	flex: 0 0 auto;
	height: 28px;
	width: 28px;
}

.wfp-icon::before {
	background: currentColor;
	content: "";
	height: 100%;
	mask: var(--wfp-icon-url) center / contain no-repeat;
	-webkit-mask: var(--wfp-icon-url) center / contain no-repeat;
	width: 100%;
}

.wfp-label,
.wfp-agent-text,
.wfp-notice {
	display: inline-flex;
	flex-direction: column;
	min-width: 0;
}

.wfp-label {
	white-space: nowrap;
}

.wfp-agent {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	min-width: 0;
}

.wfp-avatar {
	border: 2px solid rgba(255, 255, 255, 0.74);
	border-radius: 50%;
	height: 34px;
	object-fit: cover;
	width: 34px;
}

.wfp-agent-name {
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.wfp-agent-title,
.wfp-notice {
	font-size: 11px;
	font-weight: 600;
	opacity: 0.86;
	white-space: nowrap;
}

.wfp-pulse::after {
	animation: wfpPulse 2.1s infinite;
	border: 2px solid var(--wfp-brand, #25d366);
	border-radius: inherit;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

@keyframes wfpPulse {
	0% {
		opacity: 0.7;
		transform: scale(1);
	}

	70% {
		opacity: 0;
		transform: scale(1.32);
	}

	100% {
		opacity: 0;
		transform: scale(1.32);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wfp-floating-button,
	.wfp-pulse::after {
		animation: none;
		transition: none;
	}
}

@media (max-width: 480px) {
	.wfp-floating-button {
		max-width: calc(100vw - 28px);
	}

	.wfp-agent-title,
	.wfp-notice {
		display: none;
	}
}
