/* =========================================================
   Enquiry form (HubSpot) — same layout rules as the old site
   ========================================================= */
.bbpf-enquiry .field.hs-form-field {
	width: 42% !important;
	float: left;
	margin-right: 30px;
}

.bbpf-enquiry label.hs-error-msg.hs-main-font-element {
	position: absolute;
}

.bbpf-enquiry .hbspt-form::after,
.bbpf-enquiry form.hs-form::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 600px) {
	.bbpf-enquiry .field.hs-form-field {
		width: 100% !important;
		float: none;
		margin-right: 0;
	}
}

/* =========================================================
   Hire form — replicates the original Bootstrap-based form
   without needing Bootstrap on the site
   ========================================================= */
.bbpf-hire {
	--bbpf-border: #ced4da;
	--bbpf-text: #495057;
	--bbpf-label: #212529;
	--bbpf-link: #4a78bc;
	--bbpf-focus: #80bdff;
	margin: 0 0 1.5em;
	font-family: inherit;
}

.bbpf-hire *,
.bbpf-hire *::before,
.bbpf-hire *::after {
	box-sizing: border-box;
}

.bbpf-hire-form[hidden],
.bbpf-hire .bbpf-notice[hidden],
.bbpf-hire .bbpf-error[hidden] {
	display: none !important;
}

.bbpf-hire .bbpf-hire-title {
	margin: 0 0 1rem;
}

.bbpf-hire select.bbpf-control {
	-webkit-appearance: auto;
	appearance: auto;
}

.bbpf-hire .bbpf-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.bbpf-hire .bbpf-group {
	position: relative;
	width: 50%;
	flex: 0 0 50%;
	max-width: 50%;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 1rem;
}

.bbpf-hire .bbpf-group.bbpf-full {
	width: 100%;
	flex-basis: 100%;
	max-width: 100%;
}

.bbpf-hire .bbpf-group > label {
	display: inline-block;
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bbpf-label);
}

.bbpf-hire .bbpf-control {
	display: block;
	width: 100%;
	height: calc(1.5em + 0.75rem + 2px);
	margin: 0;
	padding: 0.375rem 0.75rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bbpf-text);
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid var(--bbpf-border);
	border-radius: 0.25rem;
	box-shadow: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	-webkit-appearance: none;
	appearance: none;
}

.bbpf-hire .bbpf-control::placeholder {
	color: #9aa0a6;
	opacity: 1;
}

.bbpf-hire .bbpf-control:focus {
	color: var(--bbpf-text);
	background-color: #fff;
	border-color: var(--bbpf-focus);
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Keep native date / time pickers usable after appearance reset */
.bbpf-hire input[type="date"].bbpf-control,
.bbpf-hire input[type="time"].bbpf-control {
	-webkit-appearance: auto;
	appearance: auto;
}

.bbpf-hire .bbpf-checks {
	margin-bottom: 1rem;
}

.bbpf-hire .bbpf-checkbox {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bbpf-label);
	cursor: pointer;
}

.bbpf-hire .bbpf-checkbox input {
	margin: 0 4px 0 0;
	vertical-align: -1px;
}

.bbpf-hire .bbpf-checkbox a {
	color: var(--bbpf-link);
	text-decoration: none;
}

.bbpf-hire .bbpf-checkbox a:hover,
.bbpf-hire .bbpf-checkbox a:focus {
	text-decoration: underline;
}

.bbpf-hire .bbpf-recaptcha {
	min-height: 78px;
}

.bbpf-hire .bbpf-submit {
	display: inline-block;
	margin: 0;
	padding: 0.375rem 0.75rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	background-color: #e9ecef;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bbpf-hire .bbpf-submit:hover {
	color: #212529;
	background-color: #dde0e3;
}

.bbpf-hire .bbpf-submit:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.bbpf-hire .bbpf-submit[disabled] {
	opacity: 0.65;
	cursor: default;
}

.bbpf-hire .bbpf-error {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	color: #d0021b;
}

.bbpf-hire .bbpf-notice {
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #155724;
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 0.25rem;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.bbpf-hire .bbpf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.bbpf-hire .bbpf-group {
		width: 100%;
		flex-basis: 100%;
		max-width: 100%;
	}
}
