<?php if ( forminator_array_value_exists( $properties, 'basic-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, 'basic-label-validation-background' ) && !empty( $properties['basic-label-validation-background'] ) ) { ?>
			background-color: <?php echo $properties['basic-label-validation-background'] ?>;
		<?php } else { ?>
			background-color: #F9E4E8;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-label-validation-color' ) && !empty( $properties['basic-label-validation-color'] ) ) { ?>
			color: <?php echo $properties['basic-label-validation-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

<?php } else { ?>

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

<?php } ?>