/* FCSD Employment Application — modern stepper layout */
.fcsd-ea {
	--fcsd-ink: #14171c;
	--fcsd-text: #2c3038;
	--fcsd-muted: #6b7079;
	--fcsd-line: #e3e1dc;
	--fcsd-soft: #f6f5f2;
	--fcsd-gold: #fbc531;
	--fcsd-gold-dark: #e8b21f;
	--fcsd-btn-font: "PT Sans Narrow", "Arial Narrow", sans-serif;
	--fcsd-gold-soft: #fdf0c8;
	--fcsd-error: #c0392b;
	--fcsd-error-soft: #fdf1ef;
	--fcsd-radius: 10px;
	color: var(--fcsd-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	max-width: 960px;
	margin: 0 auto;
	padding: 8px 0 40px;
	background: transparent;
}
.fcsd-ea *, .fcsd-ea *::before, .fcsd-ea *::after { box-sizing: border-box; }
.fcsd-ea [hidden] { display: none !important; }

/* Optional header */
.fcsd-header { display: flex; align-items: center; gap: 18px; justify-content: center; text-align: left; margin: 0 0 28px; }
.fcsd-logo { width: 72px; height: auto; }
.fcsd-title { font-family: "PT Sans", inherit; font-size: 28px; font-weight: 700; color: var(--fcsd-ink); line-height: 1.15; }
.fcsd-subtitle { color: var(--fcsd-muted); font-size: 15px; margin-top: 4px; }

/* ---------- Stepper ---------- */
.fcsd-stepper {
	position: sticky; top: 0; z-index: 5;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(1.4) blur(6px);
	padding: 18px 0 14px;
	margin: 0 0 28px;
	border-bottom: 1px solid var(--fcsd-line);
}
body.admin-bar .fcsd-stepper { top: 32px; }
.fcsd-steps { list-style: none; display: flex; margin: 0; padding: 0; counter-reset: none; }
.fcsd-steps-item {
	position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center;
	text-align: center; gap: 8px; margin: 0; padding: 0 2px; cursor: default;
}
/* connector to the next step */
.fcsd-steps-item:not(:last-child)::after {
	content: ""; position: absolute; top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px);
	height: 3px; border-radius: 3px; background: var(--fcsd-line); transition: background .3s;
}
.fcsd-steps-item.is-done::after { background: var(--fcsd-ink); }
.fcsd-step-num {
	position: relative; width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; border: 2px solid var(--fcsd-line); color: var(--fcsd-muted);
	font-weight: 700; font-size: 15px; transition: all .25s ease;
}
.fcsd-step-label {
	font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--fcsd-muted); line-height: 1.25; max-width: 120px;
}
.fcsd-steps-item.is-active .fcsd-step-num {
	background: var(--fcsd-gold); border-color: var(--fcsd-gold); color: #000;
	box-shadow: 0 0 0 6px var(--fcsd-gold-soft);
	transform: scale(1.08);
}
.fcsd-steps-item.is-active .fcsd-step-label { color: var(--fcsd-ink); }
.fcsd-steps-item.is-done .fcsd-step-num { background: var(--fcsd-ink); border-color: var(--fcsd-ink); color: #fff; }
.fcsd-steps-item.is-done .fcsd-step-num span { visibility: hidden; }
.fcsd-steps-item.is-done .fcsd-step-num::after {
	content: ""; position: absolute; width: 11px; height: 6px;
	border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
	transform: translateY(-2px) rotate(-45deg);
}
.fcsd-steps-item.is-done .fcsd-step-label { color: var(--fcsd-text); }
.fcsd-steps-item.is-done:hover .fcsd-step-num { box-shadow: 0 0 0 5px rgba(20,23,28,.08); }

.fcsd-progress { display: none; height: 6px; background: var(--fcsd-line); border-radius: 6px; overflow: hidden; margin: 4px 0 10px; }
.fcsd-progress-bar { height: 100%; background: linear-gradient(90deg, var(--fcsd-ink), var(--fcsd-gold)); border-radius: 6px; transition: width .35s ease; }
.fcsd-step-status { text-align: center; font-size: 13.5px; color: var(--fcsd-muted); margin: 14px 0 0; }
.fcsd-step-status strong { color: var(--fcsd-ink); }
.fcsd-step-status [data-status-title] { color: var(--fcsd-ink); font-weight: 600; }

/* ---------- Step content ---------- */
.fcsd-step { animation: fcsd-in .3s ease; }
@keyframes fcsd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fcsd-step-title {
	display: flex; align-items: center; gap: 12px;
	font-family: "PT Sans", inherit; font-size: 26px; font-weight: 700; color: var(--fcsd-ink);
	margin: 0 0 22px; padding-bottom: 12px; border-bottom: 2px solid var(--fcsd-line);
}
.fcsd-step-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 8px; background: var(--fcsd-ink); color: #fff; font-size: 16px;
}
.fcsd-subhead { font-family: "PT Sans", inherit; font-size: 19px; font-weight: 700; color: var(--fcsd-ink); margin: 8px 0 12px; }
.fcsd-intro {
	background: var(--fcsd-gold-soft); border-left: 4px solid var(--fcsd-gold); border-radius: 6px;
	padding: 12px 16px; margin: 0 0 24px; font-size: 14.5px; color: var(--fcsd-ink);
}
.fcsd-intro strong { font-weight: 600; }
.fcsd-help { font-size: 13px; color: var(--fcsd-muted); margin: 6px 0 0; font-style: normal; }
.fcsd-step-help { margin: -8px 0 20px; font-size: 14.5px; }
.fcsd-release {
	background: var(--fcsd-soft); border: 1px solid var(--fcsd-line); border-radius: var(--fcsd-radius);
	padding: 20px 22px; font-size: 14.5px; line-height: 1.7; color: var(--fcsd-text); margin: 0 0 24px;
}

/* ---------- Fields ---------- */
.fcsd-row { display: flex; gap: 20px; flex-wrap: wrap; }
.fcsd-row > .fcsd-field { flex: 1 1 280px; min-width: 0; }
.fcsd-field { margin: 0 0 20px; scroll-margin-top: 190px; }
.fcsd-label { display: block; font-size: 14px; font-weight: 600; color: var(--fcsd-ink); margin-bottom: 7px; }
.fcsd-req { color: var(--fcsd-error); }

.fcsd-ea input[type="text"], .fcsd-ea input[type="email"], .fcsd-ea input[type="tel"],
.fcsd-ea input[type="date"], .fcsd-ea select, .fcsd-ea textarea {
	width: 100%; margin: 0; background: #fff; color: var(--fcsd-text);
	border: 1px solid var(--fcsd-line); border-radius: 8px;
	padding: 10px 12px; min-height: 44px; font: inherit; font-size: 16px; line-height: 1.3;
	box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.fcsd-ea textarea { min-height: 96px; resize: vertical; }
.fcsd-ea input:hover, .fcsd-ea select:hover, .fcsd-ea textarea:hover { border-color: #cfccc4; }
.fcsd-ea input:focus, .fcsd-ea select:focus, .fcsd-ea textarea:focus {
	outline: none; border-color: var(--fcsd-gold); box-shadow: 0 0 0 3px var(--fcsd-gold-soft);
}
.fcsd-ea ::placeholder { color: #a7aab0; }
.fcsd-address { display: flex; flex-direction: column; gap: 10px; }
.fcsd-csz, .fcsd-name, .fcsd-name2 { gap: 10px; flex-wrap: nowrap; }
.fcsd-csz > * { flex: 1 1 0; min-width: 0; }
.fcsd-csz > input:first-child { flex: 1.5 1 0; }
.fcsd-name > input, .fcsd-name2 > input { flex: 1 1 0; min-width: 0; }
.fcsd-name > input[name="mi"] { flex: 0 0 80px; }

/* Yes / No as a segmented toggle */
.fcsd-radios { display: inline-flex; background: var(--fcsd-soft); border: 1px solid var(--fcsd-line); border-radius: 999px; padding: 3px; gap: 2px; }
.fcsd-radio { position: relative; margin: 0; cursor: pointer; }
.fcsd-radio input { position: absolute; opacity: 0; pointer-events: none; }
.fcsd-radio span {
	display: inline-block; min-width: 64px; text-align: center; padding: 6px 16px; border-radius: 999px;
	font-size: 14px; font-weight: 600; color: var(--fcsd-muted); transition: all .15s;
}
.fcsd-radio input:checked + span { background: var(--fcsd-ink); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.fcsd-radio input:focus-visible + span { box-shadow: 0 0 0 3px var(--fcsd-gold-soft); }

/* Position checkboxes as selectable cards */
.fcsd-checks { display: grid; grid-template-columns: 1fr; gap: 8px; }
.fcsd-check {
	display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer;
	border: 1px solid var(--fcsd-line); border-radius: 8px; padding: 10px 12px; background: #fff;
	font-size: 14.5px; font-weight: 600; color: var(--fcsd-ink); transition: all .15s;
}
.fcsd-check:hover { border-color: #cfccc4; }
.fcsd-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--fcsd-ink); flex: none; }
.fcsd-check:has(input:checked) { border-color: var(--fcsd-ink); background: var(--fcsd-soft); }

/* Divider */
.fcsd-divider { border: 0; border-top: 1px dashed var(--fcsd-line); margin: 8px 0 24px; }
.fcsd-check input[type="radio"] { accent-color: var(--fcsd-ink); }

/* Conditional */
.fcsd-conditional { display: none; }
.fcsd-conditional.is-shown { display: block; }

/* Errors */
.fcsd-field.has-error input, .fcsd-field.has-error select, .fcsd-field.has-error textarea,
.fcsd-field.has-error .fcsd-check, .fcsd-field.has-error .fcsd-radios { border-color: var(--fcsd-error); }
.fcsd-error { color: var(--fcsd-error); font-size: 13px; font-weight: 600; margin-top: 6px; }
.fcsd-error::before { content: "⚠ "; }
.fcsd-form-error { background: var(--fcsd-error-soft); border: 1px solid #f1c9c3; color: var(--fcsd-error); border-radius: 8px; font-weight: 600; padding: 12px 14px; margin-top: 16px; }

/* Repeaters */
.fcsd-repeat { border: 1px solid var(--fcsd-line); border-radius: 12px; padding: 18px 20px 4px; margin-bottom: 16px; background: #fff; }
.fcsd-repeat-title {
	font-family: "PT Sans", inherit; font-size: 17px; font-weight: 700; color: var(--fcsd-ink); margin: 0 0 16px;
}
.fcsd-remove {
	width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--fcsd-line); background: #fff;
	color: var(--fcsd-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0;
}
.fcsd-remove:hover { border-color: var(--fcsd-error); color: var(--fcsd-error); background: var(--fcsd-error-soft); }

/* Buttons — match fcsdin.com Elementor buttons (PT Sans Narrow 700, #fbc531, 20px radius) */
.fcsd-nav { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--fcsd-line); }
.fcsd-ea .fcsd-btn {
	font-family: var(--fcsd-btn-font); font-weight: 700; font-size: 24px; line-height: 24px;
	text-transform: uppercase; letter-spacing: normal; text-decoration: none;
	padding: 15px 30px; border-radius: 20px; border: 0; cursor: pointer;
	box-shadow: none; transition: all .3s;
}
.fcsd-ea .fcsd-btn-next { margin-left: auto; background: var(--fcsd-gold); color: #000; }
.fcsd-ea .fcsd-btn-next:hover, .fcsd-ea .fcsd-btn-next:focus-visible { background: var(--fcsd-gold-dark); color: #000; }
.fcsd-ea .fcsd-btn-back { background: #fff; color: #000; box-shadow: inset 0 0 0 2px #000; }
.fcsd-ea .fcsd-btn-back:hover, .fcsd-ea .fcsd-btn-back:focus-visible { background: #000; color: var(--fcsd-gold); }
.fcsd-ea .fcsd-btn-add {
	width: 100%; font-size: 20px; padding: 14px; border-radius: 20px;
	background: #fff; color: #000; box-shadow: inset 0 0 0 2px var(--fcsd-gold);
}
.fcsd-ea .fcsd-btn-add:hover, .fcsd-ea .fcsd-btn-add:focus-visible { background: var(--fcsd-gold); }
.fcsd-ea .fcsd-btn:focus-visible { outline: 3px solid var(--fcsd-gold-soft); outline-offset: 2px; }
.fcsd-ea .fcsd-btn:disabled { opacity: .6; cursor: wait; }

/* Success */
.fcsd-success {
	text-align: center; background: var(--fcsd-soft); border: 1px solid var(--fcsd-line); border-radius: 14px;
	padding: 40px 28px; font-size: 18px; font-weight: 600; color: var(--fcsd-ink);
}
.fcsd-success::before {
	content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
	background: var(--fcsd-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/26px no-repeat;
}

/* Honeypot */
.fcsd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Small screens ---------- */
@media (max-width: 782px) { body.admin-bar .fcsd-stepper { top: 46px; } }
@media (max-width: 760px) {
	.fcsd-step-label { display: none; }
	.fcsd-steps-item.is-active .fcsd-step-label { display: none; }
	.fcsd-step-num { width: 30px; height: 30px; font-size: 13px; }
	.fcsd-steps-item:not(:last-child)::after { top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; }
	.fcsd-steps-item.is-active .fcsd-step-num { box-shadow: 0 0 0 4px var(--fcsd-gold-soft); }
	.fcsd-step-status { margin-top: 10px; }
	.fcsd-step-title { font-size: 21px; }
	.fcsd-checks { grid-template-columns: 1fr; }
	.fcsd-csz, .fcsd-name, .fcsd-name2 { flex-wrap: wrap; }
	.fcsd-csz > *, .fcsd-name > input, .fcsd-name2 > input, .fcsd-csz > input:first-child { flex: 1 1 100%; }
	.fcsd-name > input[name="mi"] { flex: 1 1 100%; }
	.fcsd-repeat { padding: 14px 14px 2px; }
	.fcsd-ea .fcsd-btn { font-size: 20px; padding: 13px 22px; }
}
