/**
 * FixMyCar AI — Customer diagnostic chat · REDUCED MOTION
 * -------------------------------------------------------------------
 * Honours `prefers-reduced-motion: reduce`. Disables every chat
 * animation that could provoke a vestibular response: LED pulses,
 * typing-dot blink, streaming caret, panel hover lift, transitions.
 *
 * Replaces the older minimal block that previously lived in
 * frontend-chat.css §15 — which only disabled the brand pulse and
 * typing dot, leaving caret + hover-lift on. The expanded set below
 * also covers the new B12 surfaces.
 *
 * @package FixMyCar
 */

@media (prefers-reduced-motion: reduce) {

	/* ─── Looping animations ─────────────────────────────── */
	.fmc-dc-brand-dot-pulse,
	.fmc-dc-typing-dot,
	.fmc-dc-answer-text--streaming::after,
	.fmc-dc .pulse,
	.fmc-dc .dot,
	.fmc-dc .streaming-caret,
	.fmc-dc .led-on,
	.fmc-dc .led-amber,
	.fmc-dc .led-red,
	.fmc-dc .led-cyan,
	.fmc-dc-led--pulse,
	.fmc-dc-safety-banner__tile,
	.fmc-dc-streaming__caret {
		animation: none !important;
	}

	/* Make sure anything that was opacity-animated lands visible. */
	.fmc-dc .pulse,
	.fmc-dc .dot,
	.fmc-dc .streaming-caret,
	.fmc-dc .fmc-dc-brand-dot-pulse,
	.fmc-dc .fmc-dc-typing-dot,
	.fmc-dc .fmc-dc-answer-text--streaming::after {
		opacity: 1 !important;
	}

	/* ─── Hover transforms ───────────────────────────────── */
	.fmc-dc .panel-card:hover,
	.fmc-dc .fmc-dc-suggestion:hover,
	.fmc-dc-suggestion-grid--3col .fmc-dc-suggestion:hover {
		transform: none !important;
	}

	/* ─── All transitions ────────────────────────────────── */
	.fmc-dc *,
	.fmc-dc *::before,
	.fmc-dc *::after {
		transition: none !important;
	}
}
