<?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-input {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-border' ) && !empty( $properties['basic-input-border'] ) ) { ?>
			border-color: <?php echo $properties['basic-input-border'] ?>;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-bg' ) && !empty( $properties['basic-input-bg'] ) ) { ?>
			background-color: <?php echo $properties['basic-input-bg'] ?>;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-color' ) && !empty( $properties['basic-input-color'] ) ) { ?>
			color: <?php echo $properties['basic-input-color'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-iti-input .iti__selected-dial-code {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-color' ) && !empty( $properties['basic-input-color'] ) ) { ?>
			color: <?php echo $properties['basic-input-color'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input:disabled,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-calculation:disabled {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-color' ) && !empty( $properties['basic-input-color'] ) ) { ?>
			-webkit-text-fill-color: <?php echo $properties['basic-input-color'] ?>;
		<?php } elseif ( forminator_can_apply_default_color( $properties ) ) { ?>
			-webkit-text-fill-color: #000000;
		<?php } ?>
		opacity: 1;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input:hover,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-iti-input:hover .iti__selected-dial-code {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-hover-color' ) && !empty( $properties['basic-input-hover-color'] ) ) { ?>
			color: <?php echo $properties['basic-input-hover-color'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input:focus,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input:active,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-iti-input:focus-within .iti__selected-dial-code,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-iti-input:active .iti__selected-dial-code {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-active-color' ) && !empty( $properties['basic-input-active-color'] ) ) { ?>
			color: <?php echo $properties['basic-input-active-color'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input input,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input input:hover,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input input:focus,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input input:active {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-color' ) && !empty( $properties['basic-input-color'] ) ) { ?>
			color: <?php echo $properties['basic-input-color'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input::placeholder {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-placeholder' ) && !empty( $properties['basic-input-placeholder'] ) ) { ?>
			color: <?php echo $properties['basic-input-placeholder'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input:-moz-placeholder {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-placeholder' ) && !empty( $properties['basic-input-placeholder'] ) ) { ?>
			color: <?php echo $properties['basic-input-placeholder'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input::-moz-placeholder {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-placeholder' ) && !empty( $properties['basic-input-placeholder'] ) ) { ?>
			color: <?php echo $properties['basic-input-placeholder'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input:-ms-input-placeholder {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-placeholder' ) && !empty( $properties['basic-input-placeholder'] ) ) { ?>
			color: <?php echo $properties['basic-input-placeholder'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input::-webkit-input-placeholder {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-placeholder' ) && !empty( $properties['basic-input-placeholder'] ) ) { ?>
			color: <?php echo $properties['basic-input-placeholder'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_hover .forminator-input {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-border-hover' ) && !empty( $properties['basic-input-border-hover'] ) ) { ?>
			border-color: <?php echo $properties['basic-input-border-hover'] ?>;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-hover-bg' ) && !empty( $properties['basic-input-hover-bg'] ) ) { ?>
			background-color: <?php echo $properties['basic-input-hover-bg'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-input {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-border-active' ) && !empty( $properties['basic-input-border-active'] ) ) { ?>
			border-color: <?php echo $properties['basic-input-border-active'] ?>;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-active-bg' ) && !empty( $properties['basic-input-active-bg'] ) ) { ?>
			background-color: <?php echo $properties['basic-input-active-bg'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-has_error .forminator-input {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-border-error' ) && !empty( $properties['basic-input-border-error'] ) ) { ?>
			border-color: <?php echo $properties['basic-input-border-error'] ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input-with-icon [class*="forminator-icon-"] {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-icon' ) && !empty( $properties['basic-input-icon'] ) ) { ?>
			color: <?php echo $properties['basic-input-icon']; ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-input-with-icon:hover [class*="forminator-icon-"] {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-icon-hover' ) && !empty( $properties['basic-input-icon-hover'] ) ) { ?>
			color: <?php echo $properties['basic-input-icon-hover']; ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-input-with-icon [class*="forminator-icon-"] {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-icon-focus' ) && !empty( $properties['basic-input-icon-focus'] ) ) { ?>
			color: <?php echo $properties['basic-input-icon-focus']; ?>;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-input-with-icon [class*="forminator-icon-"] {
		<?php if ( forminator_array_value_exists( $properties, 'basic-input-border-active' ) && !empty( $properties['basic-input-border-active'] ) ) { ?>
			border-color: <?php echo $properties['basic-input-border-active'] ?>;
		<?php } ?>
	}

<?php } ?>