.dhrpcp-stepper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.dhrpcp-step {
	display: flex;
	flex-direction: column;
}

.dhrpcp-step-header {
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 20px;
	&>div {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 25px;
	}
}

.dhrpcp-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-weight: 700;
	font-size: 0.95em;
	transition: background 0.3s ease, color 0.3s ease;
	flex: 1 0 auto;
	border: 1px solid #CDD2D4;
	font-size: 15px;
	line-height: 1;
	color: #062943;
}

h3.dhrpcp-step-heading {
	margin: 0;
	font-size: 15px;
	font-weight: normal;
	color: #D3AA74;
	transition: color 0.3s ease;
}

.dhrpcp-step-progress-line {
	height: 0.5px;
	width: 100%;
	background: #CDD2D4;
	overflow: hidden;
}

.dhrpcp-step-progress-line i {
	display: block;
	height: 100%;
	width: 0%;
	background: #CDD2D4;
	transition: all 0.3s ease;
}

.dhrpcp-step.is-active .dhrpcp-step-heading {
	color: #D3AA74;
}

.dhrpcp-step.is-active .dhrpcp-step-progress-line i {
	width: 100%;
}

.dhrpcp-step.is-completed .dhrpcp-step-num {
	border-color: #0B5991;
}

.dhrpcp-step.is-completed .dhrpcp-step-progress-line i {
	width: 100%;
	background: #0B5991;
}

.dhrpcp-options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dhrpcp-option label {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	font-size: 12px;
	line-height: 1.4;
}

.dhrpcp-option label:hover {
	color: #0B5991
}

.dhrpcp-option input[type='radio'] {
	margin: 0;
	accent-color: #2271b1;
	flex-shrink: 0;
}

.dhrpcp-option:has(input[type='radio']:checked) label {
	color: #0B5991;
}

.dhrpcp-placeholder,
.dhrpcp-empty {
	color: #777;
	font-style: italic;
	margin: 0;
}

.dhrpcp-loading,
.dhrpcp-error {
	font-style: italic;
	margin: 0;
	font-size: 12px;
}

.dhrpcp-step[data-step='3'] .dhrpcp-step-body {
	width: 100%;
}

.dhrpcp-step .dhrpcp-step-body:not(.dhrpcp-step:last-child .dhrpcp-step-body) {
	position: relative;

	&:after {
		content: '';
		border-right: 1px solid #CDD2D4;
		position: absolute;
		right: 0px;
		top: 0;
		bottom: 0
	}
}

.dhrpcp-step-body {
	height: 100%;
	padding: 40px;
}

.dhrpcp-stepper .elementor-button-wrapper {
	margin-top: 40px;
	display: none;
	align-items: center;
}

.dhrpcp-stepper .elementor-button-wrapper {
	button.elementor-button {
		width: 100%;
	}
}

button.elementor-button.dhrpcp-prev.mr-auto {
	margin-right: 20px
}

.elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-100.e-form__buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

div#dhrpcp-form-prev {
    margin: 0;
    flex: 1 1 auto;
}

.elementor-button[type="submit"]{
    flex: 1 1 auto;     
    flex-basis: unset !important;
    min-height: unset !important
}

section.dhrpcp-step.is-completed[data-step="3"] {
    display: flex
}

@media(max-width: 425px) {

	.dhrpcp-step-body {
		padding: 40px 0 0;
	}
}

@media(max-width: 1023.98px) {
	.dhrpcp-stepper .elementor-button-wrapper {
		display: flex;
	}

	.dhrpcp-step-body {
		padding: 40px 20px
	}

	section.dhrpcp-step,
	section.dhrpcp-step.is-completed {
		display: none;
	}

	section.dhrpcp-step.is-active {
		display: flex;
	}

	.dhrpcp-step-body {
		&:after {
			display: none !important
		}
	}

	.dhrpcp-step .dhrpcp-step-body:not(.dhrpcp-step:last-child .dhrpcp-step-body) {
		&:after {
			display: none;
		}
	}
}

@media (min-width: 1023.98px) {
	.dhrpcp-stepper {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media(min-width: 1024px) and (max-width: 1240px) {
	.dhrpcp-step-body {
		padding: 40px 20px
	}
}