<?php if ( forminator_array_value_exists( $properties, 'poll-colors' ) ) { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-error {
		<?php if ( forminator_array_value_exists( $properties, 'error_background' ) && !empty( $properties['error_background'] ) ) { ?>
			background-color: <?php echo $properties['error_background'] ?>;
		<?php } else { ?>
			background-color: #F9E4E8;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'error_border' ) && !empty( $properties['error_border'] ) ) { ?>
			box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>;
			-moz-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>;
			-webkit-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>;
		<?php } else { ?>
			box-shadow: inset 4px 0 0 0 #E51919;
			-moz-box-shadow: inset 4px 0 0 0 #E51919;
			-webkit-box-shadow: inset 4px 0 0 0 #E51919;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'error_text' ) && !empty( $properties['error_text'] ) ) { ?>
			color: <?php echo $properties['error_text'] ?>;
		<?php } else { ?>
			color: #333333;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success {
		<?php if ( forminator_array_value_exists( $properties, 'success_background' ) && !empty( $properties['success_background'] ) ) { ?>
			background-color: <?php echo $properties['success_background'] ?>;
		<?php } else { ?>
			background-color: #BCEEE6;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'success_border' ) && !empty( $properties['success_border'] ) ) { ?>
			box-shadow: inset 4px 0 0 0 <?php echo $properties['success_border'] ?>;
			-moz-box-shadow: inset 4px 0 0 0 <?php echo $properties['success_border'] ?>;
			-webkit-box-shadow: inset 4px 0 0 0 <?php echo $properties['success_border'] ?>;
		<?php } else { ?>
			box-shadow: inset 4px 0 0 0 #067963;
			-moz-box-shadow: inset 4px 0 0 0 #067963;
			-webkit-box-shadow: inset 4px 0 0 0 #067963;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'success_text' ) && !empty( $properties['success_text'] ) ) { ?>
			color: <?php echo $properties['success_text'] ?>;
		<?php } else { ?>
			color: #333333;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-error {
		background-color: #F9E4E8;
		box-shadow: inset 4px 0 0 0 #E51919;
		-moz-box-shadow: inset 4px 0 0 0 #E51919;
		-webkit-box-shadow: inset 4px 0 0 0 #E51919;
		color: #333333;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success {
		background-color: #BCEEE6;
		box-shadow: inset 4px 0 0 0 #067963;
		-moz-box-shadow: inset 4px 0 0 0 #067963;
		-webkit-box-shadow: inset 4px 0 0 0 #067963;
		color: #333333;
	}

<?php } ?>