/*
 * Contact Form 7 - response messages
 *
 * Overrides the rules compiled from assets/scss/05_atoms/_forms-cf7.scss.
 * That partial left the box styles (padding/border/radius) commented out
 * and set text color equal to background color for the warning/validation
 * state and a near-unreadable dark-red-on-red combo for the error state.
 *
 * Style: white card + colored left border (instead of a solid colored fill)
 * so the same rules stay readable regardless of what background the form
 * sits on - white, gray-white or the solid brand-blue (.a-bgcolor__primary)
 * sections - without needing a separate per-background override.
 *
 * Enqueued in wp_footer via functions.php so these selectors win the cascade.
 */

div.wpcf7 div.wpcf7-response-output {
	margin-bottom: 20px;
	padding: 0.875rem 1.125rem;
	background-color: #fff;
	border: 1px solid #E2E5EA;
	border-left-width: 4px;
	border-radius: 0.375rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.7em;
	color: #001E5F;
}

div.wpcf7 div.wpcf7-response-output.wpcf7-mail-sent-ok {
	color: #05793A;
	border-left-color: #00A04A;
}

div.wpcf7 div.wpcf7-response-output.wpcf7-mail-sent-ng,
div.wpcf7 div.wpcf7-response-output.wpcf7-spam-blocked {
	color: #9D162B;
	border-left-color: #E01F3D;
}

div.wpcf7 div.wpcf7-response-output.wpcf7-validation-errors {
	color: #001E5F;
	border-left-color: #B8860B;
}

div.wpcf7 span.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	margin-bottom: 10px;
	padding: 0.4rem 0.75rem;
	background-color: #fff;
	border-left: 4px solid #E01F3D;
	border-radius: 0.25rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	color: #9D162B;
}
