/**
 * Fluent Forms: universal "received" confirmation card.
 *
 * Applies to contact / inquiry, trip planner, subscription forms.
 * Excluded on purpose:
 *  - Booking form (form 4, styled in blocks/booking-section/style.css)
 *  - Route map modal (styled in blocks/itinerary-detail/style.css)
 * Message text is edited in Fluent Forms → form → Settings → Confirmation.
 * Tokens: DESIGN.md (Meadow Green #4F8A3A, Slate Charcoal #2E3336).
 */
.ff-message-success:not([id^="fluentform_4_"]):not(.booking-form-body *):not(.trip-map-modal__body *) {
	position: relative;
	display: block;
	margin: 0.25rem 0 0;
	padding: 1.1rem 1.25rem 1.1rem 3.6rem;
	background: #F1F8EE;
	border: 1px solid #CFE3C6;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(79, 138, 58, 0.10);
	color: #2E3336;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.55;
	text-align: left;
	animation: brandalayFormReceived 0.35s ease-out both;
}

/* Check-mark badge */
.ff-message-success:not([id^="fluentform_4_"]):not(.booking-form-body *):not(.trip-map-modal__body *)::before {
	content: "";
	position: absolute;
	left: 1.1rem;
	top: 1.1rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: #4F8A3A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}

.ff-message-success:not([id^="fluentform_4_"]):not(.booking-form-body *):not(.trip-map-modal__body *) p {
	margin: 0;
}

@keyframes brandalayFormReceived {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.ff-message-success { animation: none !important; }
}
