.folks-ats-apply-wrap {
	max-width: 600px;
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.folks-ats-apply-wrap h3 {
	margin-top: 0;
}

.folks-ats-apply-wrap p(:empty) {
	margin-bottom: 0;
}

.folks-ats-apply-form p:not(:empty) {
	margin: 0 0 1rem;
}

.folks-ats-apply-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
	font-size: .875rem;
}

.folks-ats-apply-form input[type="text"],
.folks-ats-apply-form input[type="email"],
.folks-ats-apply-form input[type="tel"],
.folks-ats-apply-form input[type="date"],
.folks-ats-apply-form select,
.folks-ats-apply-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.folks-ats-apply-form textarea {
	min-height: 100px;
}

.folks-ats-consents .folks-ats-consent {
	margin-bottom: 1rem;
}

.folks-ats-consents label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: normal;
	margin-bottom: 0;
}
.folks-ats-consents label p{
	margin-bottom: .5rem;
}

/* Bigger checkbox, pinned to the first line of text. */
.folks-ats-consents input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.25rem;
	accent-color: #0073aa;
	cursor: pointer;
}

/* The (often multi-paragraph) consent copy: smaller, tight, beside the box. */
.folks-ats-consent-text {
	font-size: 0.75rem;
	line-height: 1.5;
}
.folks-ats-consent-text p {
	margin: 0 0 0.5rem;
}

.folks-ats-consent-text p:first-child {
	margin-top: 0;
}

.folks-ats-consent-text p:last-child {
	margin-bottom: 0;
}

.folks-ats-consent-text ul {
	margin: 0 0 0.5rem;
	padding-left: 1rem;
}

/* --- Invalid / mandatory field highlight -------------------------------- */

.folks-ats-apply-form input.folks-ats-invalid,
.folks-ats-apply-form select.folks-ats-invalid,
.folks-ats-apply-form textarea.folks-ats-invalid {
	border: 1px solid #d63638 !important;
	box-shadow: 0 0 0 2px rgba( 214, 54, 56, 0.2 );
	background: #fdf3f3;
}

/* Highlight the whole consent row (and its checkbox) when unchecked. */
.folks-ats-consent.folks-ats-invalid {
	color: #d63638;
}

.folks-ats-consent.folks-ats-invalid input[type="checkbox"] {
	outline: 2px solid #d63638;
	outline-offset: 2px;
	accent-color: #d63638;
}

.folks-ats-submit-btn,
.folks-ats-modal-trigger {

}

.folks-ats-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.folks-ats-apply-message {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.folks-ats-apply-message.folks-ats-success {
	background: #ecf7ed;
	color: #1e7e26;
	border: 1px solid #b6e0ba;
}

.folks-ats-apply-message.folks-ats-error {
	background: #fbeaea;
	color: #a51c1c;
	border: 1px solid #f0b3b3;
}

.folks-job-meta ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.folks-job-meta li {
	margin-bottom: 0.4rem;
}

/* --- Formatted job posting ---------------------------------------------- */

/* Space after each black section header (Wanted / Criteria / Details …) so it
   doesn't run straight into the following content, matching the Company block. */
.folks-ats-section-header {
	margin-bottom: 1.5rem !important;
}

/* --- Apply form modal ---------------------------------------------------- */

.folks-ats-modal-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 2rem 1rem;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99999;
}

/* The [hidden] attribute must win over display:flex above. */
.folks-ats-modal-overlay[hidden] {
	display: none;
}

.folks-ats-modal {
	position: relative;
	width: 100%;
	max-width: 640px;
	margin: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.folks-ats-modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	padding: 0;
	width: 2rem;
	height: 2rem;
	background: transparent;
	border: none;
	font-size: 1.75rem;
	line-height: 1;
	color: #555;
	cursor: pointer;
}

.folks-ats-modal-close:hover,
.folks-ats-modal-close:focus {
	color: #000;
	background: transparent;
}

/* Inside the modal the form wrap shouldn't carry its own border/width. */
.folks-ats-modal .folks-ats-apply-wrap {
	max-width: none;
	margin: 0;
	border: none;
}

/* Prevent the page behind the modal from scrolling while it's open. */
body.folks-ats-modal-open {
	overflow: hidden;
}

/* --- Multi-step wizard --------------------------------------------------- */

.folks-ats-steps {
	display: flex;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	counter-reset: none;
}

.folks-ats-steps li {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	color: #999;
	white-space: nowrap;
}

.folks-ats-steps .folks-ats-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #e6e6e6;
	color: #666;
	font-weight: 600;
	flex: 0 0 auto;
}

.folks-ats-steps li.is-active {
	color: #111;
	font-weight: 600;
}

.folks-ats-steps li.is-active .folks-ats-step-num {
	background: #d70000;
	color: #fff;
}

.folks-ats-steps li.is-done .folks-ats-step-num {
	background: #710000;
	color: #fff;
}

.folks-ats-step-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

/* Push Next/Submit to the right even when Back is hidden. */
.folks-ats-step-controls .folks-ats-next,
.folks-ats-step-controls .folks-ats-submit-btn {
	margin-left: auto;
}

/* JS toggles the `hidden` attribute on inactive steps and the Back/Next/Submit
   buttons. A theme button class (e.g. Foundation's .button { display:inline-block })
   overrides the [hidden] default, so force it hidden here. */
.folks-ats-step[hidden],
.folks-ats-step-controls [hidden] {
	display: none !important;
}

.folks-ats-prev,
.folks-ats-next {

}

.folks-ats-next {

}

/* --- Job list (shortcode + sidebar) ------------------------------------- */

.folks-ats-job-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.folks-ats-job-list-item {
	padding: 1.25rem 0;
	border-bottom: 1px solid #ddd;
}

.folks-ats-job-list-title {
	margin: 0 0 0.25rem;
}

.folks-ats-job-list-meta {
	margin: 0;
	color: #555;
	font-size: 0.9rem;
}

/* --- Other openings sidebar --------------------------------------------- */

.folks-ats-openings-title {
	margin-top: 0;
}

.folks-ats-openings-sidebar .folks-ats-job-list-item {
	padding: 0.75rem 0;
}

.folks-ats-openings-sidebar .folks-ats-job-list-title {
	font-size: 1rem;
}

/* Highlight the job currently being viewed. */
.folks-ats-openings-sidebar .folks-ats-job-list-item.is-current .folks-ats-job-list-title a {
	font-weight: 700;
}

.folks-ats-openings-sidebar .folks-ats-job-list-item.is-current .folks-ats-job-list-title {
	position: relative;
}

.folks-ats-openings-sidebar .folks-ats-job-list-item.is-current .folks-ats-job-list-title::before {
	content: "\2192"; /* → */
	position: absolute;
	left: -1.25rem;
}


.folks_job #main-content hr{
	border: none;
	height: 5px;           
  	background-color: #000; 
	margin-top: 3rem;
	margin-bottom: 3rem; 
}