/* Aegis Job Board - front-end styles. Primary colour comes from Settings via --ajb-primary. */
.ajb-wrap, .ajb-modal { --ajb-ink: #17324a; --ajb-muted: #5b6b78; --ajb-line: #e2e8ec; font-family: var(--ajb-font, 'Inter', Arial, sans-serif); }
.ajb-wrap, .ajb-wrap *, .ajb-modal, .ajb-modal *, .ajb-modal *::before, .ajb-modal *::after { box-sizing: border-box; }
.ajb-wrap { width: 100%; color: var(--ajb-ink); }

/* ---------- Filters ---------- */
.ajb-wrap .ajb-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 14px; margin: 0 0 22px; }
.ajb-wrap .ajb-select {
	appearance: none; -webkit-appearance: none; width: 190px; max-width: 100%; margin: 0; padding: 11px 36px 11px 16px;
	font: 400 13.5px/1.4 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink); background-color: #fff;
	border: 1px solid var(--ajb-line); border-radius: var(--ajb-radius, 8px); cursor: pointer; box-shadow: none; height: auto;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.ajb-wrap input.ajb-search { background-image: none; padding-right: 16px; cursor: text; }
.ajb-wrap .ajb-select:focus-visible, .ajb-wrap .ajb-btn:focus-visible { outline: 2px solid var(--ajb-primary); outline-offset: 2px; }

/* ---------- Job rows ---------- */
.ajb-wrap .ajb-head, .ajb-wrap .ajb-row {
	display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(var(--ajb-cols, 3), minmax(0, 1fr)) 170px; gap: 14px; align-items: center;
}
.ajb-wrap .ajb-head {
	padding: 0 20px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--ajb-line);
	font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b7b88;
}
.ajb-wrap .ajb-row { padding: 22px 20px; margin-bottom: 6px; border-radius: 10px; background: rgba(247, 250, 252, .85); transition: background .2s ease; }
.ajb-wrap .ajb-row:hover { background: #eef4f8; }
.ajb-wrap .ajb-row.is-hidden { display: none; }
.ajb-wrap .ajb-title { font-size: 17px; font-weight: 600; color: var(--ajb-ink); line-height: 1.35; }
.ajb-wrap .ajb-meta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #4a5b6b; min-width: 0; }
.ajb-wrap .ajb-meta span { overflow-wrap: anywhere; }
.ajb-wrap .ajb-meta svg { width: 16px; height: 16px; flex: 0 0 auto; stroke: #6b7b88; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ajb-wrap .ajb-empty { display: none; padding: 28px 20px; text-align: center; font-size: 15px; color: var(--ajb-muted); }
.ajb-wrap .ajb-empty.is-on { display: block; }
.ajb-wrap .ajb-novacancy { padding: 56px 24px; border-radius: 12px; background: #f7fafc; text-align: center; }
.ajb-wrap .ajb-novacancy h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--ajb-ink); }
.ajb-wrap .ajb-novacancy p { margin: 0; font-size: 15px; color: var(--ajb-muted); }

/* ---------- Buttons ---------- */
.ajb-wrap .ajb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 170px; padding: 11px 18px; margin: 0;
	font: 500 14px/1.2 var(--ajb-font, 'Inter', Arial, sans-serif); text-decoration: none; white-space: nowrap; cursor: pointer;
	color: var(--ajb-primary); background: transparent; border: 1.5px solid var(--ajb-primary); border-radius: var(--ajb-radius, 8px); box-shadow: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ajb-wrap .ajb-btn:hover { background: var(--ajb-primary); color: #fff; }
.ajb-wrap .ajb-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ajb-wrap .ajb-btn-solid { background: var(--ajb-primary); color: #fff; }
.ajb-wrap .ajb-btn-solid:hover { background: var(--ajb-primary-dark); border-color: var(--ajb-primary-dark); color: #fff; }
.ajb-wrap .ajb-btn-closed { background: #eef1f4; border-color: #d5dde3; color: #6b7b88; cursor: not-allowed; }
.ajb-wrap .ajb-btn-closed:hover { background: #eef1f4; color: #6b7b88; }

/* ---------- Job page building blocks ---------- */
.ajb-wrap .ajb-back { display: inline-block; margin-bottom: 18px; font-size: 13.5px; color: var(--ajb-primary); text-decoration: none; }
.ajb-wrap .ajb-back:hover { text-decoration: underline; }
.ajb-wrap .ajb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 26px; }
.ajb-wrap .ajb-fact { padding: 14px 18px; border-radius: 10px; background: #f7fafc; border: 1px solid #e8eef2; }
.ajb-wrap .ajb-fact span { display: block; margin-bottom: 3px; font-size: 12px; color: #6b7b88; }
.ajb-wrap .ajb-fact strong { font-size: 15px; font-weight: 600; color: var(--ajb-ink); }
.ajb-wrap .ajb-summary { margin: 0 0 8px; font-size: 16px; line-height: 1.7; color: #3b4d5c; }
.ajb-wrap .ajb-section h3 { margin: 28px 0 12px; font-size: 18px; font-weight: 600; color: var(--ajb-ink); }
.ajb-wrap .ajb-list { list-style: none; margin: 0; padding: 0; }
.ajb-wrap .ajb-list li { position: relative; margin: 0 0 9px; padding-left: 22px; font-size: 15.5px; line-height: 1.6; color: #3b4d5c; }
.ajb-wrap .ajb-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ajb-primary); }
.ajb-wrap .ajb-apply-wrap { margin-top: 28px; }
.ajb-wrap .ajb-field-label { font-weight: 600; }

/* ---------- Popup ---------- */
.ajb-modal {
	position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
	background: rgba(10, 30, 45, .62); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.ajb-modal[hidden] { display: none; }
.ajb-modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.ajb-modal .ajb-card {
	position: relative; display: grid; grid-template-columns: minmax(0, 41%) minmax(0, 59%); width: 100%; max-width: 1000px; min-height: 540px; margin: auto;
	background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); transform: translateY(18px) scale(.98); transition: transform .3s ease;
}
.ajb-modal.is-open .ajb-card { transform: none; }

.ajb-modal .ajb-side { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 48px 38px; color: #fff; overflow: hidden; background: linear-gradient(160deg, var(--ajb-side1, #0f3a3e), var(--ajb-side2, #123a5c)); border-bottom-right-radius: 120px; }
.ajb-modal .ajb-side::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, var(--ajb-side1, #0f3a3e), var(--ajb-side2, #123a5c)); opacity: .84; }
.ajb-modal .ajb-side > * { position: relative; z-index: 2; }
.ajb-modal .ajb-side > .ajb-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.ajb-modal .ajb-h1 { margin: 0 0 18px; padding: 0; font: 700 38px/1.18 var(--ajb-font, 'Inter', Arial, sans-serif); letter-spacing: -.5px; color: #fff; }
.ajb-modal .ajb-h1 span { display: block; color: var(--ajb-accent, #38bfc0); }
.ajb-modal .ajb-bar { width: 60px; height: 3px; margin-bottom: 20px; border-radius: 2px; background: var(--ajb-accent, #38bfc0); }
.ajb-modal .ajb-lead { max-width: 270px; margin: 0; font: 400 15.5px/1.6 var(--ajb-font, 'Inter', Arial, sans-serif); color: rgba(255, 255, 255, .92); }
.ajb-modal .ajb-lead strong { color: #fff; font-weight: 600; }

.ajb-modal .ajb-formwrap { position: relative; padding: 38px 36px 34px; }
.ajb-modal button.ajb-close {
	position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center;
	background: transparent; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer; transition: background .2s ease;
}
.ajb-modal button.ajb-close:hover { background: #eef3f6; }
.ajb-modal .ajb-close svg { width: 22px; height: 22px; stroke: #5b6b78; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.ajb-modal .ajb-ptitle { margin: 0 0 8px; padding: 0 40px 0 0; font: 700 27px/1.25 var(--ajb-font, 'Inter', Arial, sans-serif); letter-spacing: -.3px; color: #17202e; }
.ajb-modal .ajb-psub { margin: 0 0 20px; font: 400 14.5px/1.55 var(--ajb-font, 'Inter', Arial, sans-serif); color: #6b7b88; }
.ajb-modal .ajb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ajb-modal .ajb-full { grid-column: 1 / -1; }
.ajb-modal .ajb-grid > * { min-width: 0; }
.ajb-modal .ajb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

.ajb-modal .ajb-input {
	display: block; width: 100%; height: 52px; margin: 0; padding: 0 14px; font: 400 14.5px/1.4 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink);
	background: #fff; border: 1px solid #d5dfe6; border-radius: var(--ajb-radius, 8px); outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.ajb-modal .ajb-input::placeholder { color: #6b7b88; opacity: 1; }
.ajb-modal .ajb-input:focus, .ajb-modal .ajb-code:focus { border-color: var(--ajb-primary); box-shadow: 0 0 0 3px rgba(28, 143, 174, .18); }
.ajb-modal .ajb-input.ajb-bad { border-color: #d64545; }
.ajb-modal .ajb-textarea { height: 100px; padding: 14px; resize: vertical; }

.ajb-modal .ajb-phone { display: flex; align-items: stretch; height: 52px; }
.ajb-modal .ajb-code {
	flex: 0 0 auto; width: 100px; height: 52px; margin: 0; padding: 0 8px; font: 600 13.5px/1 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink);
	background: #f1f6f8; border: 1px solid #d5dfe6; border-right: 0; border-radius: var(--ajb-radius, 8px) 0 0 var(--ajb-radius, 8px); box-shadow: none; cursor: pointer;
}
.ajb-modal .ajb-phone .ajb-num { flex: 1 1 auto; width: auto; border-radius: 0 var(--ajb-radius, 8px) var(--ajb-radius, 8px) 0; }

.ajb-modal .ajb-upload { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #d5dfe6; border-radius: var(--ajb-radius, 8px); background: #fff; }
.ajb-modal .ajb-upinfo { flex: 1 1 auto; min-width: 0; }
.ajb-modal .ajb-uptitle { margin: 0 0 2px; font: 600 14.5px/1.4 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink); }
.ajb-modal .ajb-upnote { margin: 0; font: 400 12.5px/1.4 var(--ajb-font, 'Inter', Arial, sans-serif); color: #6b7b88; overflow-wrap: anywhere; }
.ajb-modal .ajb-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ajb-modal label.ajb-choose { flex: 0 0 auto; padding: 10px 18px; margin: 0; border-radius: 6px; cursor: pointer; font: 500 14px/1.2 var(--ajb-font, 'Inter', Arial, sans-serif); color: #2a6fb0; background: #e6f0fb; transition: background .2s ease, color .2s ease; }
.ajb-modal label.ajb-choose:hover { background: var(--ajb-primary); color: #fff; }
.ajb-modal .ajb-file:focus-visible + .ajb-choose { outline: 2px solid var(--ajb-primary); outline-offset: 2px; }

.ajb-modal .ajb-consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font: 400 13px/1.5 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-muted); cursor: pointer; }
.ajb-modal .ajb-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ajb-primary); }
.ajb-modal .ajb-consent a { color: var(--ajb-primary); }

.ajb-modal button.ajb-submit {
	width: 100%; height: 54px; margin: 2px 0 0; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
	font: 500 16px/1 var(--ajb-font, 'Inter', Arial, sans-serif); text-transform: none; color: #fff; background: var(--ajb-primary); border: 0; border-radius: var(--ajb-radius, 8px); box-shadow: none; cursor: pointer; transition: background .25s ease;
}
.ajb-modal .ajb-submit svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.ajb-modal button.ajb-submit:hover { background: var(--ajb-primary-dark); }
.ajb-modal button.ajb-submit:hover svg { transform: translateX(4px); }
.ajb-modal button.ajb-submit:disabled { opacity: .65; cursor: wait; }
.ajb-modal .ajb-msg { margin-top: 12px; padding: 12px 14px; border-radius: var(--ajb-radius, 8px); font-size: 14px; line-height: 1.5; background: #fdecec; color: #8a1f1f; }
.ajb-modal .ajb-msg[hidden], .ajb-modal .ajb-done[hidden] { display: none; }
.ajb-modal .ajb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ajb-modal .ajb-done { padding: 34px 10px 10px; text-align: center; }
.ajb-modal .ajb-done svg { width: 58px; height: 58px; margin-bottom: 14px; stroke: var(--ajb-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ajb-modal .ajb-done p { margin: 0; font: 400 16px/1.6 var(--ajb-font, 'Inter', Arial, sans-serif); color: #0f3a3e; }

/* ---------- Extra form bits ---------- */
.ajb-modal .ajb-selectbox { padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.ajb-modal .ajb-captcha { min-height: 0; }
.ajb-modal .ajb-lead strong[hidden] { display: none; }

/* ---------- Cards layout ([ajb_jobs layout="cards"]) ---------- */
.ajb-wrap.ajb-layout-cards .ajb-head { display: none; }
.ajb-wrap.ajb-layout-cards .ajb-list-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.ajb-wrap.ajb-layout-cards .ajb-filters { justify-content: flex-start; }
.ajb-wrap.ajb-layout-cards .ajb-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 22px; background: #fff; border: 1px solid var(--ajb-line); box-shadow: 0 6px 18px rgba(18, 58, 92, .06); border-radius: 14px; transition: box-shadow .2s ease, transform .2s ease; }
.ajb-wrap.ajb-layout-cards .ajb-row:hover { background: #fff; box-shadow: 0 10px 26px rgba(18, 58, 92, .12); transform: translateY(-2px); }
.ajb-wrap.ajb-layout-cards .ajb-row .ajb-btn { margin-top: auto; align-self: stretch; }
.ajb-wrap.ajb-layout-cards .ajb-title { font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.ajb-wrap .ajb-head { display: none; }
	.ajb-wrap .ajb-row { grid-template-columns: 1fr auto; gap: 10px 22px; padding: 18px 16px; }
	.ajb-wrap .ajb-title { grid-column: 1 / -1; }
	.ajb-wrap .ajb-row .ajb-btn { justify-self: end; }
	.ajb-modal .ajb-card { grid-template-columns: 1fr; max-width: 580px; min-height: 0; }
	.ajb-modal .ajb-side { padding: 28px 26px 52px; border-bottom-right-radius: 0; border-bottom-left-radius: 60px 36px; }
	.ajb-modal .ajb-h1 { font-size: 28px; margin-bottom: 14px; }
	.ajb-modal .ajb-lead { max-width: none; }
	.ajb-modal .ajb-formwrap { padding: 28px 24px 26px; }
}
@media (max-width: 600px) {
	.ajb-wrap .ajb-filters { justify-content: flex-start; gap: 10px; margin-bottom: 16px; }
	.ajb-wrap .ajb-filters .ajb-select { width: calc(50% - 5px); min-width: 0; padding: 10px 30px 10px 12px; font-size: 13px; }
	.ajb-wrap .ajb-row { grid-template-columns: 1fr; background: #fff; border: 1px solid var(--ajb-line); border-radius: 14px; margin-bottom: 12px; padding: 16px; gap: 8px; box-shadow: 0 4px 14px rgba(18, 58, 92, .06); }
	.ajb-wrap .ajb-row:hover { background: #fff; }
	.ajb-wrap .ajb-row .ajb-btn { justify-self: stretch; margin-top: 8px; }
	.ajb-wrap .ajb-facts { grid-template-columns: 1fr 1fr; }
	.ajb-modal { padding: 0; align-items: flex-start; }
	.ajb-modal .ajb-card { min-height: 100%; border-radius: 0; max-width: none; }
	.ajb-modal .ajb-side { padding: 24px 20px 44px; }
	.ajb-modal .ajb-h1 { font-size: 24px; }
	.ajb-modal .ajb-lead { font-size: 14px; }
	.ajb-modal .ajb-formwrap { padding: 22px 18px 24px; }
	.ajb-modal button.ajb-close { top: 10px; right: 10px; background: rgba(255, 255, 255, .92); }
	.ajb-modal .ajb-ptitle { font-size: 21px; }
	.ajb-modal .ajb-grid { grid-template-columns: 1fr; gap: 12px; }
	.ajb-modal .ajb-input { font-size: 16px; }
	.ajb-modal .ajb-upload { flex-wrap: wrap; }
	.ajb-modal label.ajb-choose { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ajb-modal, .ajb-modal *, .ajb-wrap * { transition: none !important; } }

/* ---------- Job name beside "Apply Now" ---------- */
.ajb-modal .ajb-ptitle-job { color: var(--ajb-primary, #1c8fae); font-weight: 600; }

/* ---------- Editor content under the summary ---------- */
.ajb-wrap .ajb-editor-content { margin: 0 0 18px; color: #2d3b4a; line-height: 1.7; }
.ajb-wrap .ajb-editor-content > :first-child { margin-top: 0; }
.ajb-wrap .ajb-editor-content ul, .ajb-wrap .ajb-editor-content ol { padding-left: 22px; }
.ajb-wrap .ajb-apply-wrap + .ajb-facts, .ajb-wrap > .ajb-apply-wrap:first-child { margin-bottom: 18px; }

/* ---------- "Don't see a right fit?" banner ---------- */
.ajb-wrap .ajb-general { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 36px 40px; background: #eef4f4; border-radius: 14px; }
.ajb-wrap .ajb-general__txt { flex: 1 1 420px; max-width: 760px; }
.ajb-wrap .ajb-general h3 { margin: 0 0 8px; font: 700 30px/1.2 var(--ajb-font, 'Inter', Arial, sans-serif); color: #1b2733; }
.ajb-wrap .ajb-general p { margin: 0; font-size: 16px; line-height: 1.6; color: #2d3b4a; }
.ajb-wrap .ajb-general .ajb-btn { white-space: nowrap; }
@media (max-width: 600px) { .ajb-wrap .ajb-general { padding: 24px 20px; } .ajb-wrap .ajb-general h3 { font-size: 24px; } }

.ajb-back-slot { margin: 0 0 14px; }
.ajb-back-slot .ajb-wrap { margin: 0; padding: 0; }

.ajb-wrap .ajb-summary--top { margin: 0 0 18px; }
.ajb-wrap .ajb-facts { margin-bottom: 20px; }

/* Heading row: job title on the left, Apply Now on the SAME line on the right */
.ajb-titlebar { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between; gap: 16px 24px; width: 100%; max-width: 100%; margin: 0 0 18px; }
.ajb-titlebar > :first-child { margin: 0 !important; padding: 0; flex: 1 1 0% !important; width: auto !important; max-width: none !important; min-width: 0; float: none !important; }
.ajb-titlebar .ajb-top-apply { flex: 0 0 auto !important; width: auto !important; margin: 0 0 0 auto !important; padding: 0; float: none !important; }
.ajb-titlebar .ajb-top-apply .ajb-wrap { margin: 0 !important; padding: 0; width: auto; }
.ajb-titlebar .ajb-top-apply .ajb-apply-wrap { text-align: right; margin: 0 !important; }
.ajb-titlebar .ajb-top-apply .ajb-btn { margin: 0 !important; }

/* [ajb_job_header] / [ajb_job_page] */
.ajb-wrap.ajb-header { margin: 0; }
.ajb-wrap.ajb-header .ajb-back { margin-bottom: 12px; }
.ajb-wrap .ajb-job-title { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.2; color: var(--ajb-ink); font-family: inherit; }
@media (max-width: 600px) {
	.ajb-wrap .ajb-job-title { font-size: 26px; }
	.ajb-titlebar { gap: 10px 14px; flex-wrap: wrap !important; }
	.ajb-titlebar > :first-child { flex: 1 1 200px !important; }
	.ajb-titlebar .ajb-top-apply .ajb-btn { min-width: 0; padding: 10px 16px; }
}

/* Note shown to editors when no job is found (Elementor editor) */
.ajb-wrap .ajb-editor-note { margin: 0; padding: 12px 14px; border: 1px dashed #c8d4dc; border-radius: 8px; background: #f7fafc; font-size: 13px; color: #5b6b78; }

/* Resume popup: position dropdown */
.ajb-modal .ajb-pick[hidden] { display: none; }

/* =====================================================================
 * v2.1.0 - Job page design ([ajb_job_page]): info strip, section cards,
 * right column with application form + Job Information. No banner.
 * ================================================================== */
.ajb-wrap.ajb-jp { --jp-soft: #eef4fe; --jp-soft2: #f5f8fd; max-width: 1240px; margin: 0 auto; }
.ajb-jp * { min-width: 0; }

/* Title row */
.ajb-jp__head { margin: 0 0 22px; }
.ajb-jp__head .ajb-wrap { margin: 0; }
.ajb-jp__badge { display: inline-block; margin: 0 0 10px; padding: 5px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 600; color: var(--ajb-primary); background: var(--jp-soft); }
.ajb-jp__titlebar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ajb-jp__titlebar .ajb-job-title { margin: 0; flex: 1 1 320px; }
.ajb-jp__tbtn { flex: 0 0 auto; }

/* Two columns */
.ajb-jp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.ajb-jp__main { display: flex; flex-direction: column; gap: 18px; }
.ajb-jp__side { display: flex; flex-direction: column; gap: 18px; }
.ajb-jp__side.is-sticky { position: sticky; top: 24px; }

/* Info strip */
.ajb-jp__strip { display: flex; flex-wrap: wrap; gap: 14px 0; padding: 18px 8px; background: #fff; border: 1px solid #e6edf3; border-radius: 14px; box-shadow: 0 6px 22px rgba(23, 50, 74, .06); }
.ajb-jp__fact { display: flex; align-items: center; gap: 12px; flex: 1 1 170px; padding: 2px 16px; border-left: 1px solid #e6edf3; }
.ajb-jp__fact:first-child { border-left: 0; }
.ajb-jp__fico { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--jp-soft); color: var(--ajb-primary); }
.ajb-jp__fico svg { width: 20px; height: 20px; }
.ajb-jp__ftxt small { display: block; font-size: 12.5px; color: #6b7b88; }
.ajb-jp__ftxt strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ajb-ink); overflow-wrap: anywhere; }

/* Cards */
.ajb-jp__card { display: flex; gap: 18px; padding: 24px 26px; background: #fff; border: 1px solid #e6edf3; border-radius: 14px; box-shadow: 0 6px 22px rgba(23, 50, 74, .05); }
.ajb-jp__ico { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--jp-soft); color: var(--ajb-primary); }
.ajb-jp__ico svg { width: 24px; height: 24px; }
.ajb-jp__ico--sm { width: 40px; height: 40px; }
.ajb-jp__ico--sm svg { width: 20px; height: 20px; }
.ajb-jp svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ajb-jp__body { flex: 1 1 auto; }
.ajb-jp__body h3 { margin: 2px 0 12px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ajb-ink); }
.ajb-jp__body .ajb-summary { margin: 0; font-size: 15.5px; }
.ajb-jp__body .ajb-editor-content { margin: 12px 0 0; }
.ajb-jp__body .ajb-summary + .ajb-editor-content { margin-top: 14px; }
.ajb-jp__body .ajb-list li { margin-bottom: 8px; font-size: 15px; }
.ajb-jp__body .ajb-list li:last-child { margin-bottom: 0; }
.ajb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ajb-chips li { margin: 0; padding: 7px 16px; border-radius: 20px; font-size: 13.5px; line-height: 1.3; color: var(--ajb-primary); background: var(--jp-soft); border: 1px solid rgba(28, 143, 174, .22); }

/* Apply card + info card */
.ajb-jp__apply, .ajb-jp__info { background: #fff; border: 1px solid #e6edf3; border-radius: 14px; box-shadow: 0 6px 22px rgba(23, 50, 74, .06); overflow: hidden; }
.ajb-jp__chead { display: flex; align-items: center; gap: 12px; padding: 18px 22px; }
.ajb-jp__chead h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ajb-ink); }
.ajb-jp__chead p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: #6b7b88; }
.ajb-jp__chead--apply { align-items: flex-start; background: var(--jp-soft2); border-bottom: 1px solid #e6edf3; }
.ajb-jp__chead--apply .ajb-jp__ico { color: #fff; background: var(--ajb-primary); }
.ajb-jp__formbody { padding: 18px 22px 22px; }
.ajb-jp__closed { padding: 18px; border-radius: 10px; text-align: center; font-size: 14.5px; color: #7a2a33; background: #f9e9eb; }

/* Form */
.ajb-jp__field { margin: 0 0 14px; }
.ajb-jp__field > label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--ajb-ink); }
.ajb-jp__req { color: #d64545; }
.ajb-jp__opt { font-weight: 400; color: #8a98a4; font-size: 12px; }
.ajb-jp .ajb-input {
	display: block; width: 100%; height: 44px; margin: 0; padding: 0 14px; font: 400 14px/1.4 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink);
	background: #fff; border: 1px solid #d5dfe6; border-radius: var(--ajb-radius, 8px); outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.ajb-jp .ajb-input::placeholder { color: #8a98a4; opacity: 1; }
.ajb-jp .ajb-input:focus, .ajb-jp .ajb-code:focus { border-color: var(--ajb-primary); box-shadow: 0 0 0 3px rgba(28, 143, 174, .16); }
.ajb-jp .ajb-input.ajb-bad { border-color: #d64545; }
.ajb-jp .ajb-textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.ajb-jp .ajb-selectbox { padding-right: 36px; cursor: pointer; background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.ajb-jp__phone { display: flex; align-items: stretch; }
.ajb-jp .ajb-code { flex: 0 0 auto; width: 92px; height: 44px; margin: 0; padding: 0 6px; font: 600 13px/1 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink); background: #f1f6f8; border: 1px solid #d5dfe6; border-right: 0; border-radius: var(--ajb-radius, 8px) 0 0 var(--ajb-radius, 8px); box-shadow: none; cursor: pointer; }
.ajb-jp .ajb-jp__phone .ajb-num { flex: 1 1 auto; width: auto; border-radius: 0 var(--ajb-radius, 8px) var(--ajb-radius, 8px) 0; }

.ajb-jp .ajb-drop { position: relative; }
.ajb-jp .ajb-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ajb-jp .ajb-drop__box { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 18px 14px; text-align: left; cursor: pointer; background: var(--jp-soft2); border: 1.5px dashed #b9c9e6; border-radius: 10px; transition: border-color .2s ease, background .2s ease; }
.ajb-jp .ajb-drop__box > svg { flex: 0 0 auto; width: 34px; height: 34px; color: var(--ajb-primary); }
.ajb-jp .ajb-drop__box b { display: block; font-size: 13px; font-weight: 500; color: var(--ajb-ink); }
.ajb-jp .ajb-drop__box small { display: block; margin-top: 3px; font-size: 12px; color: #6b7b88; overflow-wrap: anywhere; }
.ajb-jp .ajb-drop.is-drag .ajb-drop__box, .ajb-jp .ajb-drop__box:hover { border-color: var(--ajb-primary); background: var(--jp-soft); }
.ajb-jp .ajb-drop.has-file .ajb-drop__box { border-style: solid; border-color: var(--ajb-primary); }
.ajb-jp .ajb-file:focus-visible + .ajb-drop__box { outline: 2px solid var(--ajb-primary); outline-offset: 2px; }

.ajb-jp__consent { margin: 0 0 14px; }
.ajb-jp__consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ajb-muted); cursor: pointer; }
.ajb-jp__consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--ajb-primary); }
.ajb-jp__consent a { color: var(--ajb-primary); }
.ajb-i-captcha { margin: 0 0 14px; }
.ajb-jp button.ajb-jp__submit { width: 100%; height: 50px; margin: 0; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--ajb-font, 'Inter', Arial, sans-serif); text-transform: none; color: #fff; background: var(--ajb-primary); border: 0; border-radius: var(--ajb-radius, 8px); box-shadow: none; cursor: pointer; transition: background .25s ease; }
.ajb-jp button.ajb-jp__submit:hover { background: var(--ajb-primary-dark); }
.ajb-jp button.ajb-jp__submit:disabled { opacity: .65; cursor: wait; }
.ajb-jp .ajb-jp__submit svg { width: 17px; height: 17px; transition: transform .2s ease; }
.ajb-jp .ajb-jp__submit:hover svg { transform: translateX(4px); }
.ajb-jp .ajb-msg { margin-top: 12px; padding: 11px 14px; border-radius: var(--ajb-radius, 8px); font-size: 13.5px; line-height: 1.5; color: #8a2630; background: #fbeaec; }
.ajb-jp .ajb-msg[hidden], .ajb-jp .ajb-done[hidden] { display: none; }
.ajb-jp .ajb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ajb-jp .ajb-done { padding: 22px 6px 6px; text-align: center; }
.ajb-jp .ajb-done svg { width: 54px; height: 54px; margin-bottom: 12px; color: #1f9d6b; }
.ajb-jp .ajb-done p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ajb-ink); }

/* Job information rows */
.ajb-jp__info .ajb-jp__chead { padding-bottom: 10px; }
.ajb-jp__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 22px; padding: 11px 0; border-top: 1px solid #eef2f5; font-size: 13.5px; }
.ajb-jp__info .ajb-jp__chead + .ajb-jp__row { border-top: 0; }
.ajb-jp__row:last-child { padding-bottom: 18px; }
.ajb-jp__rl { display: flex; align-items: center; gap: 10px; flex: 0 0 46%; color: #4a5b6b; }
.ajb-jp__rl svg { flex: 0 0 auto; width: 17px; height: 17px; color: #6b7b88; }
.ajb-jp__rv { flex: 1 1 auto; text-align: left; font-weight: 500; color: var(--ajb-ink); overflow-wrap: anywhere; }
.ajb-jp__rv a { color: var(--ajb-primary); text-decoration: none; }
.ajb-jp__rv a:hover { text-decoration: underline; }
.ajb-jp__pill { display: inline-block; padding: 3px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 600; }
.ajb-jp__pill.is-open { color: #14573a; background: #d9f3e5; }
.ajb-jp__pill.is-closed { color: #7a2a33; background: #f6e4e6; }

@media (max-width: 1000px) {
	.ajb-jp__grid { grid-template-columns: minmax(0, 1fr); }
	.ajb-jp__side.is-sticky { position: static; }
	.ajb-jp__fact { border-left: 0; }
}
@media (max-width: 600px) {
	.ajb-jp__card { flex-direction: column; gap: 12px; padding: 20px 18px; }
	.ajb-jp__strip { padding: 14px 4px; }
	.ajb-jp__fact { flex-basis: 100%; }
	.ajb-jp__tbtn, .ajb-jp__tbtn .ajb-btn { width: 100%; }
	.ajb-jp__rl { flex-basis: 50%; }
}

/* =====================================================================
 * v2.1.0 - Country code picker (popup + job page)
 * ================================================================== */
.ajb-modal .ajb-phone { display: block; height: auto; }
.ajb-phonebox { position: relative; display: flex; align-items: stretch; background: #fff; border: 1px solid #d5dfe6; border-radius: var(--ajb-radius, 8px); transition: border-color .2s ease, box-shadow .2s ease; }
.ajb-phonebox:focus-within { border-color: var(--ajb-primary); box-shadow: 0 0 0 3px rgba(28, 143, 174, .16); }
.ajb-phonebox.is-bad { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, .14); }
.ajb-modal .ajb-phonebox .ajb-input, .ajb-jp .ajb-phonebox .ajb-input { flex: 1 1 auto; width: auto; min-width: 0; margin: 0; border: 0; border-radius: 0 var(--ajb-radius, 8px) var(--ajb-radius, 8px) 0; box-shadow: none; background: transparent; }
.ajb-modal .ajb-phonebox .ajb-input { height: 50px; }
.ajb-jp .ajb-phonebox .ajb-input { height: 42px; }
.ajb-wrap button.ajb-cc, .ajb-modal button.ajb-cc, .ajb-phonebox button.ajb-cc {
	flex: 0 0 auto; display: flex; align-items: center; gap: 7px; width: auto; min-width: 0; height: auto; margin: 0; padding: 0 12px; cursor: pointer; white-space: nowrap;
	font: 600 13.5px/1 var(--ajb-font, 'Inter', Arial, sans-serif); text-transform: none; letter-spacing: normal; color: var(--ajb-ink);
	background: #f1f6f8; border: 0; border-right: 1px solid #d5dfe6; border-radius: calc(var(--ajb-radius, 8px) - 1px) 0 0 calc(var(--ajb-radius, 8px) - 1px); box-shadow: none; -webkit-appearance: none; appearance: none;
}
.ajb-cc em { font-style: normal; font-weight: 700; letter-spacing: .3px; }
.ajb-cc span { font-weight: 500; color: #5b6b78; }
.ajb-cc i { flex: 0 0 auto; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid #5b6b78; border-bottom: 2px solid #5b6b78; transform: translateY(-2px) rotate(45deg); }
.ajb-phonebox button.ajb-cc:hover { background: #e6f0f3; }
.ajb-phonebox button.ajb-cc:focus-visible { outline: 2px solid var(--ajb-primary); outline-offset: -2px; }
.ajb-dd { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: min(310px, 86vw); background: #fff; border: 1px solid #d5dfe6; border-radius: 12px; box-shadow: 0 16px 40px rgba(18, 58, 92, .22); overflow: hidden; }
.ajb-dd[hidden] { display: none; }
.ajb-phonebox .ajb-ddq { display: block; width: 100%; height: 44px; margin: 0; padding: 0 14px; border: 0; border-bottom: 1px solid #e4eaf0; border-radius: 0; outline: none; box-shadow: none; font: 400 14px/1.4 var(--ajb-font, 'Inter', Arial, sans-serif); color: var(--ajb-ink); background: #fff; }
.ajb-dd ul { list-style: none; margin: 0; padding: 4px; max-height: 220px; overflow-y: auto; }
.ajb-dd li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ajb-ink); cursor: pointer; }
.ajb-dd li b { flex: 0 0 28px; font-size: 12px; color: var(--ajb-primary); }
.ajb-dd li span { margin-left: auto; color: #5b6b78; font-size: 13px; }
.ajb-dd li:hover, .ajb-dd li.is-on { background: #eaf6f7; }
.ajb-dd li.ajb-none { padding: 14px; font-size: 13.5px; color: #6b7b88; cursor: default; }
.ajb-dd li::before { display: none; }
