/**
 * Contact Form 7 Custom Styles
 *
 * Hides default CF7 elements and adds custom styling for error states
 */

/* Hide CF7 default elements */
.wpcf7-spinner,
.wpcf7-response-output {
	display: none !important;
}

/* Error message styling */
.wpcf7-not-valid-tip {
	display: block;
	font-size: 12px;
	color: #e74c3c;
	margin-top: 4px;
}

/* Error state on input */
.wpcf7-not-valid {
	border-color: #e74c3c !important;
}

/* Error state on input-block */
.input-block.input-block--error .input-block_input {
	border-color: #e74c3c;
}

/* Custom message container (success/error) */
.contact-form__message {
	padding: 16px;
	border-radius: 4px;
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.5;
}

.contact-form__message--success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.contact-form__message--error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
