<?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-response-message.forminator-success {
		<?php if ( forminator_array_value_exists( $properties, 'basic-response-success-background' ) && !empty( $properties['basic-response-success-background'] ) ) { ?>
			background-color: <?php echo $properties['basic-response-success-background'] ?>;
		<?php } else { ?>
			background-color: #BCEEE6;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-response-success-border' ) && !empty( $properties['basic-response-success-border'] ) ) { ?>
			box-shadow: inset 2px 0 0 0 <?php echo $properties['basic-response-success-border'] ?>;
			-moz-box-shadow: inset 2px 0 0 0 <?php echo $properties['basic-response-success-border'] ?>;
			-webkit-box-shadow: inset 2px 0 0 0 <?php echo $properties['basic-response-success-border'] ?>;
		<?php } else { ?>
			box-shadow: inset 2px 0 0 0 #067963;
			-moz-box-shadow: inset 2px 0 0 0 #067963;
			-webkit-box-shadow: inset 2px 0 0 0 #067963;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success:hover,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success:focus,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success:active {
		<?php if ( forminator_array_value_exists( $properties, 'basic-response-success-border' ) && !empty( $properties['basic-response-success-border'] ) ) { ?>
			box-shadow: inset 2px 0 0 0 <?php echo $properties['basic-response-success-border'] ?>;
			-moz-box-shadow: inset 2px 0 0 0 <?php echo $properties['basic-response-success-border'] ?>;
			-webkit-box-shadow: inset 2px 0 0 0 <?php echo $properties['basic-response-success-border'] ?>;
		<?php } else { ?>
			box-shadow: inset 2px 0 0 0 #067963;
			-moz-box-shadow: inset 2px 0 0 0 #067963;
			-webkit-box-shadow: inset 2px 0 0 0 #067963;
		<?php } ?>
	}

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

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success {
		background-color: #BCEEE6;
		box-shadow: inset 2px 0 0 0 #067963;
		-moz-box-shadow: inset 2px 0 0 0 #067963;
		-webkit-box-shadow: inset 2px 0 0 0 #067963;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success:hover,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success:focus,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-response-message.forminator-success:active {
		box-shadow: inset 2px 0 0 0 #067963;
		-moz-box-shadow: inset 2px 0 0 0 #067963;
		-webkit-box-shadow: inset 2px 0 0 0 #067963;
	}

<?php } ?>
