/**
 * Employment application form ([bcs_apply]).
 * Inputs and buttons carry hard resets — theme/Elementor form styling reaches
 * into bare <input> and <button> elements otherwise.
 */

.bcs-ap {
	--blue: var(--wf-blue, #0060AC);
	--ink: var(--fg-1, #1D1D1F);
	--ink-2: var(--fg-2, #5A5A5F);
	--ink-3: var(--fg-3, #8A8A90);
	--line: #BFD9EF;
	font-family: var(--font-body, inherit);
	color: var(--ink);
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px 24px 40px;
	box-sizing: border-box;
}

.bcs-ap * { box-sizing: border-box; }
.bcs-ap [hidden] { display: none !important; }

.bcs-ap-title {
	font-family: var(--font-display, inherit);
	font-weight: 900;
	font-size: clamp(23px, 3vw, 32px);
	margin: 0 0 10px;
}

.bcs-ap-bar { height: 6px; background: #ECECEF; border-radius: 3px; margin-bottom: 8px; }

.bcs-ap-legend {
	margin: 26px 0 12px;
	font-size: 14px;
	color: var(--ink-3);
}

/* ---- fields ---- */
.bcs-ap-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 34px;
}

.bcs-ap-f { min-width: 0; }
.bcs-ap-f.is-full { grid-column: 1 / -1; }

.bcs-ap-f > label {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	color: var(--ink);
	margin: 0 0 5px;
	font-weight: 400;
}

.bcs-ap-req { color: #E6007E; }

.bcs-ap .bcs-ap-f input[type="text"],
.bcs-ap .bcs-ap-f input[type="email"],
.bcs-ap .bcs-ap-f input[type="tel"],
.bcs-ap .bcs-ap-f input[type="date"],
.bcs-ap .bcs-ap-f input[type="number"],
.bcs-ap .bcs-ap-f textarea,
.bcs-ap .bcs-ap-sign input {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line) !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--ink) !important;
	font: inherit;
	font-size: 14.5px;
	box-shadow: none !important;
	min-height: 0;
}

.bcs-ap .bcs-ap-f textarea { height: auto; padding: 10px 12px; line-height: 1.5; }

.bcs-ap .bcs-ap-f input:focus,
.bcs-ap .bcs-ap-sign input:focus {
	outline: none;
	border-color: var(--blue) !important;
	box-shadow: 0 0 0 3px rgba(0, 96, 172, .12) !important;
}

.bcs-ap-f.has-error input,
.bcs-ap-f.has-error textarea { border-color: #E1394A !important; }

/* ---- yes / no ---- */
.bcs-ap-radios { display: flex; gap: 22px; align-items: center; height: 40px; }
.bcs-ap-radio { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; cursor: pointer; }
.bcs-ap-radio input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }

/* ---- employers ---- */
.bcs-ap-emp + .bcs-ap-emp { margin-top: 22px; padding-top: 18px; border-top: 1px dashed #DCDCE1; }
.bcs-ap-emp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bcs-ap-emp-n { font-size: 13px; font-weight: 700; color: var(--ink-2); }

.bcs-ap .bcs-ap-emp-del {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #B42318 !important;
	padding: 0 !important;
	min-height: 0;
	font: inherit;
	font-size: 12.5px;
	text-decoration: underline;
	cursor: pointer;
}

.bcs-ap-addwrap { display: flex; justify-content: center; margin: 22px 0 4px; }

.bcs-ap .bcs-ap-add {
	background: var(--blue) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 11px 26px !important;
	min-height: 0;
	font: inherit;
	font-size: 14.5px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.bcs-ap .bcs-ap-add:hover { background: var(--wf-blue-deep, #004C86) !important; }

/* ---- terms ---- */
.bcs-ap-terms {
	margin: 0 0 22px;
	padding-left: 20px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--ink-2);
}

.bcs-ap-terms li { margin-bottom: 8px; }

.bcs-ap-sign {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin: 8px 0 26px;
}

.bcs-ap-sign .bcs-ap-f { width: 180px; }
.bcs-ap-sign label { text-align: center; }

/* ---- honeypot ---- */
.bcs-ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- messages + actions ---- */
.bcs-ap-msg {
	margin: 0 0 16px;
	padding: 11px 14px;
	border-radius: 6px;
	font-size: 14px;
	background: #FEF3F2;
	color: #B42318;
	border: 1px solid #FECDCA;
}

.bcs-ap-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
}

.bcs-ap-cv { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.bcs-ap-cv input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

.bcs-ap-cv-btn {
	display: inline-block;
	background: var(--blue);
	color: #fff;
	border-radius: 999px;
	padding: 12px 26px;
	font-size: 14.5px;
	font-weight: 600;
}

.bcs-ap-cv:hover .bcs-ap-cv-btn { background: var(--wf-blue-deep, #004C86); }
.bcs-ap-cv-name { font-size: 13px; color: var(--ink-3); }

.bcs-ap .bcs-ap-submit {
	background: #E6007E !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 13px 42px !important;
	min-height: 0;
	font: inherit;
	font-size: 15.5px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.bcs-ap .bcs-ap-submit:hover { background: #C40069 !important; }
.bcs-ap .bcs-ap-submit[disabled] { opacity: .6; cursor: default; }

/* ---- thank-you ---- */
.bcs-ap-done { text-align: center; padding: 54px 20px; }
.bcs-ap-done-ico {
	width: 56px; height: 56px; margin: 0 auto 16px;
	border-radius: 50%; background: #E6F4EA; color: #1A7F37;
	font-size: 28px; line-height: 56px;
}
.bcs-ap-done h3 { font-family: var(--font-display, inherit); font-weight: 900; font-size: 21px; margin: 0; }

@media (max-width: 780px) {
	.bcs-ap { padding: 8px 16px 30px; }
	.bcs-ap-grid { grid-template-columns: 1fr; gap: 12px; }
	.bcs-ap-actions { justify-content: center; }
	.bcs-ap-sign .bcs-ap-f { width: 100%; }
}
