.ppp-bf-wrap {
	box-sizing: border-box;
}

.ppp-bf-wrap *,
.ppp-bf-wrap *::before,
.ppp-bf-wrap *::after {
	box-sizing: border-box;
}

.ppp-bf-wrap .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.ppp-bf-context {
	margin: 0 0 12px;
	font-size: 14px;
	color: #333333;
}

.ppp-hp-wrap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ppp-bf-grid {
	display: grid;
	grid-template-columns: repeat( var( --ppp-bf-cols, 3 ), 1fr );
	gap: 12px;
	background: var( --ppp-bf-page-bg, #f2f2f2 );
	padding: 12px;
	border-radius: 4px;
}

.ppp-bf-field-notes {
	grid-column: span 2;
}

@media ( max-width: 767px ) {
	.ppp-bf-grid {
		grid-template-columns: 1fr;
	}

	.ppp-bf-field-notes {
		grid-column: span 1;
	}
}

.ppp-bf-control {
	background-color: #ffffff;
	border: none;
	border-bottom: 2px solid #e96411;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	color: #333333;
}

.ppp-bf-control input,
.ppp-bf-control select {
	width: 100%;
	border: none;
	background: transparent;
	outline: none;
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	appearance: none;
}

.ppp-bf-control select {
	cursor: pointer;
}

.ppp-bf-control input::placeholder {
	color: inherit;
	opacity: 0.75;
}

.ppp-bf-control-icon {
	justify-content: space-between;
	gap: 8px;
}

.ppp-bf-icon {
	flex-shrink: 0;
	display: inline-flex;
	color: #1d7bd8;
}

.ppp-bf-field.has-error .ppp-bf-control {
	border-bottom-color: #d63638;
}

.ppp-bf-field-error {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #d63638;
}

.ppp-bf-field-submit {
	display: flex;
}

.ppp-bf-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #e96411;
	color: #ffffff;
	border: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	padding: 0 16px;
}

.ppp-bf-submit:hover {
	filter: brightness( 0.95 );
}

.ppp-bf-submit:disabled,
.ppp-bf-submit.is-loading {
	opacity: 0.7;
	cursor: not-allowed;
}

.ppp-bf-wrap .ppp-form-feedback {
	margin-top: 10px;
	font-size: 14px;
}

.ppp-bf-wrap .ppp-form-feedback-success {
	color: #1a7f37;
}

.ppp-bf-wrap .ppp-form-feedback-error {
	color: #d63638;
}
