/**
 * JEWELS WA — Frontend styles
 */

#jewels-wa-button {
	position: fixed;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	line-height: 1;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 600;
	border: none;
	outline: none;
}

#jewels-wa-button:hover {
	transform: scale(1.05);
	text-decoration: none;
}

#jewels-wa-button:active {
	transform: scale(0.97);
}

#jewels-wa-button .jewels-wa-icon {
	flex-shrink: 0;
	display: block;
}

#jewels-wa-button .jewels-wa-text {
	white-space: nowrap;
}

/* Animazione pulse */
#jewels-wa-button.jewels-wa-pulse {
	position: fixed;
}

#jewels-wa-button.jewels-wa-pulse::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	z-index: -1;
	animation: jewels-wa-pulse 2s infinite;
	opacity: 0.6;
}

@keyframes jewels-wa-pulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}
	70% {
		transform: scale(1.35);
		opacity: 0;
	}
	100% {
		transform: scale(1.35);
		opacity: 0;
	}
}
