<?php if ( forminator_array_value_exists( $properties, 'cform-color-settings' ) ) { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-error-message {
		<?php if ( forminator_array_value_exists( $properties, 'label-validation-background' ) && !empty( $properties['label-validation-background'] ) ) { ?>
			background-color: <?php echo $properties['label-validation-background'] ?>;
		<?php } else { ?>
			background-color: #F9E4E8;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'label-validation-color' ) && !empty( $properties['label-validation-color'] ) ) { ?>
			color: <?php echo $properties['label-validation-color'] ?>;
		<?php } else { ?>
			color: #333333;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-error-message {
		background-color: #F9E4E8;
		color: #333333;
	}

<?php } ?>