<?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-response-message.forminator-loading {
		<?php if ( forminator_array_value_exists( $properties, 'response-loading-background' ) && !empty( $properties['response-loading-background'] ) ) { ?>
			background-color: <?php echo $properties['response-loading-background'] ?>;
		<?php } else { ?>
			background-color: #F8F8F8;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-loading,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-loading p {
		<?php if ( forminator_array_value_exists( $properties, 'response-loading-color' ) && !empty( $properties['response-loading-color'] ) ) { ?>
			color: <?php echo $properties['response-loading-color'] ?>;
		<?php } else { ?>
			color: #666666;
		<?php } ?>
	}

<?php } else { ?>

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

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-loading,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-loading p {
		color: #666666;
	}

<?php } ?>