/* #1389 (main): the Careers page's site job application ([swp_job_application], inc/features/careers-form.php).
   The look = the shared HubSpot form style on a light background (sw2's assets/css/features/forms.css, #1144 / #1153,
   copied 23 Nov 2026), scoped to this form: it is NOT a HubSpot form (no "hs-form" class, so the staging HubSpot guard
   and HubSpot's form scripts leave it alone; data-hs-do-not-collect keeps HubSpot's collected-forms capture off it).
   If the shared form style changes, change this copy too. Plus what a HubSpot form brings itself: the trap field, the
   security check box, the error line under the form and the thank-you. */
#content form.swp-jobapp__form {
	--swp-f-line: #d9d9d9;
	--swp-f-text: #1f2a1e;
	--swp-f-label: #444444;
	--swp-f-error: #b3261e;
	max-width: 760px;
	font-size: 16px;
	text-align: left;
}
#content .col-inner.text-center form.swp-jobapp__form,
#content .col-inner.text-center .swp-jobapp__done { margin-left: auto; margin-right: auto; }
#content form.swp-jobapp__form fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
	max-width: none;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}
#content form.swp-jobapp__form fieldset.form-columns-1 { grid-template-columns: minmax(0, 1fr); }
#content form.swp-jobapp__form .hs-form-field { width: auto; margin: 0; }
#content form.swp-jobapp__form .hs-form-field > label {
	display: block;
	margin: 0 0 6px;
	color: var(--swp-f-label);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
}
#content form.swp-jobapp__form .input { margin: 0; }
#content form.swp-jobapp__form input.hs-input:not([type="checkbox"]):not([type="radio"]),
#content form.swp-jobapp__form select.hs-input,
#content form.swp-jobapp__form textarea.hs-input {
	width: 100% !important;
	max-width: 100% !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--swp-f-line) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	background: #fff !important;
	color: var(--swp-f-text) !important;
	font: inherit;
	font-size: 16px !important; /* no iOS zoom on focus */
	line-height: normal !important;
	box-sizing: border-box;
}
#content form.swp-jobapp__form select.hs-input {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f573e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px 16px !important;
}
#content form.swp-jobapp__form textarea.hs-input { height: auto !important; min-height: 110px; padding: 10px 12px !important; resize: vertical; }
#content form.swp-jobapp__form input.hs-input[type="file"] { padding: 7px 12px !important; font-size: 15px !important; line-height: 30px !important; cursor: pointer; }
#content form.swp-jobapp__form input.hs-input[type="file"]::file-selector-button {
	height: 30px;
	margin: 0 10px 0 0;
	padding: 0 14px;
	border: 1px solid #8a9387;
	border-radius: 6px;
	background: #f4f5f1;
	color: #1f2a1e;
	font: 700 14px/28px Lato, "Lato Fallback", Arial, sans-serif;
	cursor: pointer;
}
#content form.swp-jobapp__form input.hs-input[type="file"]:hover::file-selector-button { border-color: #3f573e; background: #e9ece4; }
#content form.swp-jobapp__form input.hs-input:focus,
#content form.swp-jobapp__form select.hs-input:focus,
#content form.swp-jobapp__form textarea.hs-input:focus { border-color: #3f573e !important; outline: 2px solid #3f573e; outline-offset: 1px; }
#content form.swp-jobapp__form .inputs-list { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
#content form.swp-jobapp__form .inputs-list li { margin: 0; }
#content form.swp-jobapp__form .inputs-list label { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; color: var(--swp-f-label); font-size: 15px; font-weight: 400; text-transform: none; cursor: pointer; }
#content form.swp-jobapp__form .inputs-list input { width: 20px !important; height: 20px !important; margin: 0 !important; accent-color: #557353; }
#content form.swp-jobapp__form .hs-error-msgs { margin: 6px 0 0; padding: 0; list-style: none; }
#content form.swp-jobapp__form .hs-error-msgs[hidden] { display: none; }
#content form.swp-jobapp__form .hs-error-msg { margin: 0; color: var(--swp-f-error); font-size: 13px; font-weight: 400; }
#content form.swp-jobapp__form .is-err input.hs-input:not([type="checkbox"]):not([type="radio"]),
#content form.swp-jobapp__form .is-err select.hs-input,
#content form.swp-jobapp__form .is-err textarea.hs-input { border-color: #b3261e !important; }
#content form.swp-jobapp__form .hs_submit, #content form.swp-jobapp__form .hs_submit .actions { margin: 4px 0 0; padding: 0; }
#content form.swp-jobapp__form input[type="submit"].hs-button {
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #5d7d59 !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 36px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
}
#content form.swp-jobapp__form input[type="submit"].hs-button:disabled { opacity: .6; cursor: progress; }
#content form.swp-jobapp__form input[type="submit"].hs-button:focus-visible { background: #2f4a35 !important; outline: 2px solid #2f4a35; outline-offset: 2px; }
@media (hover: hover) {
	#content form.swp-jobapp__form input[type="submit"].hs-button:hover { background: #2f4a35 !important; }
}
@media (max-width: 549px) {
	#content form.swp-jobapp__form fieldset, #content form.swp-jobapp__form fieldset.form-columns-1 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
/* the form's own parts */
.swp-jobapp__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.swp-jobapp__ts { margin: 8px 0 0; }
.swp-jobapp__ts:not(:empty) { min-height: 65px; }
.swp-jobapp__msg { margin: 10px 0 0; color: #b3261e; font-size: 14px; }
.swp-jobapp__msg[hidden], .swp-jobapp__done[hidden] { display: none; }
.swp-jobapp__done { max-width: 760px; padding: 24px; border: 1px solid #e3e3df; background: #faf9f6; text-align: left; }
.swp-jobapp__done:focus { outline: none; }
.swp-jobapp__done p { margin: 0; color: #2b2b2b; line-height: 1.5; }
.swp-jobapp__done .swp-jobapp__done-h { margin: 0 0 10px; color: #2f3f2e; font-size: 22px; font-weight: 700; }
