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

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-repeater-field {
		<?php if ( forminator_array_value_exists( $properties, 'group-background' ) ) { ?>
			background: <?php echo $properties['group-background']; ?>;
		<?php } else { ?>
			background: rgba(248, 248, 248, 0.5);
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'group-border' ) ) { ?>
			box-shadow: inset 5px 0px 0px <?php echo $properties['group-border']; ?>;
		<?php } else { ?>
			box-shadow: inset 5px 0px 0px rgba(221, 221, 221, 0.5);
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-repeater-field .forminator-grouped-fields {
		<?php if ( forminator_array_value_exists( $properties, 'group-divider' ) ) { ?>
			border-bottom: 1px solid <?php echo $properties['group-divider']; ?>;
		<?php } else { ?>
			border-bottom: 1px solid rgba(170, 170, 170, 0.5);
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-repeater-field {
		background: rgba(248, 248, 248, 0.5);
		box-shadow: inset 5px 0px 0px rgba(221, 221, 221, 0.5);
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-repeater-field .forminator-grouped-fields {
		border-bottom: 1px solid rgba(170, 170, 170, 0.5);
	}

<?php } ?>

.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-repeater-field .forminator-grouped-fields:last-child {
	border-bottom: unset;
}