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

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'input-placeholder' ) && !empty( $properties['input-placeholder'] ) ) { ?>
			color: <?php echo $properties['input-placeholder'] ?>;
		<?php } else { ?>
			color: #888888;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-label:not([class*="forminator-floating-"]) {
		<?php if ( forminator_array_value_exists( $properties, 'cform-label-color' ) && !empty( $properties['cform-label-color'] ) ) { ?>
			color: <?php echo $properties['cform-label-color'] ?>;
		<?php } else { ?>
			color: #777771;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-label:not([class*="forminator-floating-"]) .forminator-required {
		<?php if ( forminator_array_value_exists( $properties, 'cform-asterisk-color' ) && !empty( $properties['cform-asterisk-color'] ) ) { ?>
			color: <?php echo $properties['cform-asterisk-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'cform-label-color' ) && !empty( $properties['cform-label-color'] ) ) { ?>
			color: <?php echo $properties['cform-label-color'] ?>;
		<?php } else { ?>
			color: #777771;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'input-border-active' ) && !empty( $properties['input-border-active'] ) ) { ?>
			color: <?php echo $properties['input-border-active'] ?>;
		<?php } else { ?>
			color: #17A8E3;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"],
	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] {
		<?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: #E04562;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled .forminator-label[class*="forminator-floating-"] .forminator-required,
	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active .forminator-label[class*="forminator-floating-"] .forminator-required {
		<?php if ( forminator_array_value_exists( $properties, 'cform-asterisk-color' ) && !empty( $properties['cform-asterisk-color'] ) ) { ?>
			color: <?php echo $properties['cform-asterisk-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required,
	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required {
		<?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: #E04562;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-label[class*="forminator-floating-"] {
		color: #888888;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-label:not([class*="forminator-floating-"]) {
		color: #777771;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-label:not([class*="forminator-floating-"]) .forminator-required {
		color: #E04562;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled .forminator-label[class*="forminator-floating-"] {
		color: #777771;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active .forminator-label[class*="forminator-floating-"] {
		color: #17A8E3;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"],
	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] {
		color: #E04562;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled .forminator-label[class*="forminator-floating-"] .forminator-required,
	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active .forminator-label[class*="forminator-floating-"] .forminator-required {
		color: #E04562;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required,
	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required {
		color: #E04562;
	}

<?php } ?>