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

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #888888;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #777771;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label .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: #E51919;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #777771;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #097BAA;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"],
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #E51919;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled .forminator-label[class*="forminator-floating-"] .forminator-required,
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #E51919;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required,
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .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 } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			color: #E51919;
		<?php } ?>
	}

<?php } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>

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

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

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label .forminator-required {
		color: #E51919;
	}

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

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-label[class*="forminator-floating-"] {
		color: #097BAA;
	}

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

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

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

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label .forminator-required {
		color: #E51919;
	}

<?php } ?>