.pbf-wrap {
	--pbf-accent: #066aab;
	box-sizing: border-box;
	color: #333;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.55;
	max-width: 100%;
}

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

.pbf-title {
	font-size: 26px;
	line-height: 1.25;
	margin: 0 0 24px;
}

.pbf-field {
	border: 0;
	margin: 0;
	padding: 12px 0;
}

.pbf-form[hidden] {
	display: none !important;
}

.pbf-field > label,
.pbf-field > legend {
	color: #333;
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 9px;
	padding: 0;
}

.pbf-required {
	color: #d63638;
	margin-left: 3px;
}

.pbf-wrap .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.pbf-control {
	appearance: auto;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 3px;
	box-shadow: none;
	color: rgba(0, 0, 0, 0.75);
	display: block;
	font: inherit;
	font-size: 16px;
	height: 42px;
	line-height: 1.35;
	max-width: 600px;
	padding: 0 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 60%;
}

select.pbf-control {
	padding-right: 32px;
}

.pbf-control:focus,
.pbf-check input:focus-visible {
	border-color: var(--pbf-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--pbf-accent) 22%, transparent);
	outline: none;
}

.pbf-control[aria-invalid="true"] {
	border-color: #d63638;
}

.pbf-counter {
	color: #777;
	font-size: 12px;
	margin: 5px 0 0;
}

.pbf-error {
	color: #b32d2e;
	font-size: 13px;
	margin: 5px 0 0;
	min-height: 0;
}

.pbf-error:empty {
	display: none;
}

.pbf-consent {
	margin-top: 4px;
}

.pbf-recaptcha-field {
	overflow: hidden;
}

.pbf-recaptcha-field .g-recaptcha {
	min-height: 78px;
}

.pbf-check {
	align-items: flex-start;
	cursor: pointer;
	display: inline-flex !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	gap: 9px;
	margin: 0 !important;
}

.pbf-check input {
	accent-color: var(--pbf-accent);
	flex: 0 0 auto;
	height: 18px;
	margin: 2px 0 0;
	width: 18px;
}

.pbf-submit-row {
	padding-top: 13px;
}

.pbf-submit {
	appearance: none;
	background: var(--pbf-accent);
	border: 0;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	min-height: 42px;
	padding: 0 17px;
	transition: filter 0.15s ease, opacity 0.15s ease;
}

.pbf-submit:hover {
	filter: brightness(0.9);
}

.pbf-submit:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--pbf-accent) 30%, transparent);
	outline-offset: 2px;
}

.pbf-submit:disabled {
	cursor: wait;
	opacity: 0.7;
}

.pbf-notice {
	border-left: 4px solid;
	margin: 0 0 14px;
	max-width: 600px;
	padding: 11px 14px;
}

.pbf-notice--success {
	background: #edfaef;
	border-color: #1e8e3e;
	color: #155d2b;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}

.pbf-notice--error {
	background: #fcf0f1;
	border-color: #d63638;
	color: #8a2424;
}

.pbf-hp {
	height: 1px !important;
	left: -10000px !important;
	overflow: hidden !important;
	position: absolute !important;
	top: auto !important;
	width: 1px !important;
}

@media (max-width: 700px) {
	.pbf-control,
	.pbf-notice {
		max-width: 100%;
		width: 100%;
	}

	.pbf-field {
		padding: 10px 0;
	}

	.pbf-recaptcha-field .g-recaptcha {
		transform: scale(0.92);
		transform-origin: left top;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pbf-control,
	.pbf-submit {
		transition: none;
	}
}
