/*
 * Drawn in currentColor so the native text-colour control sets the colour
 * (`textColor` defaults to the success preset in block.json).
 *
 * One rule per variant, keyed on data-variant. Adding an animation is a new
 * keyframes block, a rule here, and a variation entry in index.js.
 */
.wp-block-wage-indicator {
	display: inline-block;
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: currentColor;
}

.wp-block-wage-indicator[data-variant="pulse"] {
	box-shadow: 0 0 8px currentColor;
	animation: wage-indicator-pulse 2s ease-in-out infinite;
}

@keyframes wage-indicator-pulse {
	0%,
	100% { opacity: 1; }
	50%  { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-wage-indicator {
		animation: none;
	}
}
