<?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-repeater-field {
		<?php if ( forminator_array_value_exists( $properties, 'basic-group-background' ) ) { ?>
			background: <?php echo $properties['basic-group-background']; ?>;
		<?php } else { ?>
			background: rgba(248, 248, 248, 0.5);
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-group-border' ) ) { ?>
			box-shadow: inset 5px 0px 0px <?php echo $properties['basic-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, 'basic-group-divider' ) ) { ?>
			border-bottom: 1px solid <?php echo $properties['basic-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;
}