/*
 * In-content WhatsApp button, [tsl_whatsapp style="button"].
 *
 * A green pill sized for body copy. The colour is the site's success green
 * from TSL Foundry (--fd-colors-success-500, an "r, g, b" list on :root), so
 * it matches the theme's own WhatsApp buttons; sites without Foundry fall back
 * to WhatsApp green.
 */

.tsl-wa-inline--button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 50px;
	background-color: rgb(var(--fd-colors-success-500, 37, 211, 102));
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	line-height: inherit; /* The theme's body line height, so the button matches its own buttons. */
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.tsl-wa-inline--button:hover,
.tsl-wa-inline--button:focus-visible {
	background-color: rgb(var(--fd-colors-success-600, 30, 190, 91));
	color: #ffffff;
	text-decoration: none;
}

.tsl-wa-inline--button svg {
	width: 1.25em;
	height: 1.25em;
	fill: currentColor;
	flex-shrink: 0;
}
