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

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

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-image {
			<?php if ( forminator_array_value_exists( $properties, 'image-background-static' ) && !empty( $properties['image-background-static'] ) ) { ?>
				background-color: <?php echo $properties['image-background-static'] ?>;
			<?php } else { ?>
				background-color: #EDEDED;
			<?php } ?>
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet {
		<?php if ( forminator_array_value_exists( $properties, 'inputbg' ) && !empty( $properties['inputbg'] ) ) { ?>
			background-color: <?php echo $properties['inputbg'] ?>;
		<?php } else { ?>
			background-color: #EDEDED;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet:before {
		<?php if ( forminator_array_value_exists( $properties, 'radio_dot' ) && !empty( $properties['radio_dot'] ) ) { ?>
			background-color: <?php echo $properties['radio_dot'] ?>;
		<?php } else { ?>
			background-color: #097BAA;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked + .forminator-radio-bullet {
		<?php if ( forminator_array_value_exists( $properties, 'inputbg_active' ) && !empty( $properties['inputbg_active'] ) ) { ?>
			background-color: <?php echo $properties['inputbg_active'] ?>;
		<?php } else { ?>
			background-color: #EDEDED;
		<?php } ?>
	}

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio:hover .forminator-radio-image {
			<?php if ( forminator_array_value_exists( $properties, 'image-background-hover' ) && !empty( $properties['image-background-hover'] ) ) { ?>
				background-color: <?php echo $properties['image-background-hover'] ?>;
			<?php } else { ?>
				background-color: #E1F6FF;
			<?php } ?>
		}
	<?php } ?>

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked ~ .forminator-radio-image {
			<?php if ( forminator_array_value_exists( $properties, 'image-background-checked' ) && !empty( $properties['image-background-checked'] ) ) { ?>
				background-color: <?php echo $properties['image-background-checked'] ?>;
			<?php } else { ?>
				background-color: #E1F6FF;
			<?php } ?>
		}
	<?php } ?>

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

<?php } else { ?>

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

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet,
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-image {
			background-color: #EDEDED;
		}
	<?php } else { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet {
			background-color: #EDEDED;
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet {
		background-color: #EDEDED;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet:before {
		background-color: #097BAA;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked + .forminator-radio-bullet {
		background-color: #EDEDED;
	}

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio:hover .forminator-radio-image,
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked ~ .forminator-radio-image {
			background-color: #E1F6FF;
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-has_error .forminator-radio .forminator-radio-bullet {
		background-color: #F9E4E8;
	}

<?php } ?>