/* ======================= Submit Job Without Registration ======================= */
.jps { --jps-navy: #0d2a6b; --jps-steps: 220px; --jps-side: 270px; --jps-line: #d5dbe6; width: 100%; margin: 0 auto; color: #1f2937; font-size: 14px; line-height: 1.5; }
.jps *, .jps *::before, .jps *::after { box-sizing: border-box; }
.jps [hidden] { display: none !important; }
.jps-layout { display: grid; gap: 18px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.jps.has-steps .jps-layout { grid-template-columns: var(--jps-steps) minmax(0, 1fr); }
.jps.has-side .jps-layout { grid-template-columns: minmax(0, 1fr) var(--jps-side); }
.jps.has-steps.has-side .jps-layout { grid-template-columns: var(--jps-steps) minmax(0, 1fr) var(--jps-side); }
.jps-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* steps */
.jps-steps { position: sticky; top: 20px; }
.jps-steps-in { list-style: none; margin: 0; padding: 18px 14px 8px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.jps-steps-in li { position: relative; margin: 0; padding: 0 0 22px; }
.jps-steps-in li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: var(--jps-line); }
.jps-step { display: flex; align-items: flex-start; gap: 11px; color: inherit; text-decoration: none; }
.jps-stepnum { position: relative; z-index: 1; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; font-size: 13.5px; font-weight: 700; color: #6b7280; background: #e8ecf3; border: 2px solid #e8ecf3; border-radius: 50%; transition: all .2s; }
.jps-step.is-active .jps-stepnum { color: #fff; background: var(--jps-navy); border-color: var(--jps-navy); }
.jps-step.is-done .jps-stepnum { color: #fff; background: #1e8e3e; border-color: #1e8e3e; }
.jps-step.is-done .jps-stepnum span { display: none; }
.jps-step.is-done .jps-stepnum::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.jps-steptxt { display: flex; flex-direction: column; padding-top: 1px; min-width: 0; }
.jps-steptxt b { font-size: 13px; font-weight: 700; color: var(--jps-navy); }
.jps-steptxt small { font-size: 11.5px; color: #6b7280; }

/* banner */
.jps-hero { background: linear-gradient(120deg, #0a2149 0%, #17407a 100%) center / cover no-repeat; border-radius: 10px; overflow: hidden; color: #fff; }
.jps-hero-in { padding: 18px 24px; }
.jps-title { margin: 0 0 4px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: .2px; color: inherit; }
.jps-sub { margin: 0; font-size: 14px; opacity: .92; color: inherit; }

/* form */
.jps-form { padding: 6px 22px 22px; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; }
.jps-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jps-prefill { margin: 12px 0 0; padding: 8px 12px; font-size: 12.5px; color: #1e5a2e; background: #eaf7ee; border: 1px solid #cfe9d6; border-radius: 6px; }
.jps-sec { padding: 16px 0; border-bottom: 1px solid #edf0f5; scroll-margin-top: 24px; }
.jps-sec:last-of-type { border-bottom: 0; padding-bottom: 0; }
.jps-sechead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.jps-secnum { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--jps-navy); border-radius: 50%; }
.jps-sectitle { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 700; color: var(--jps-navy); }
.jps-secsub { margin: 1px 0 0; font-size: 12px; color: #2b57a8; }
.jps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.jps-sec-2 .jps-f-job_title, .jps-field.is-wide { grid-column: 1 / -1; }
.jps-sec-3 .jps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jps-sec-4 .jps-grid { grid-template-columns: 1.7fr 1fr 1fr; }
.jps-sec-5 .jps-grid { grid-template-columns: 1fr 1fr 1.2fr; }
.jps-sec-5 .jps-additional .jps-textarea { min-height: 38px; height: 38px; resize: vertical; }
.jps-field { min-width: 0; }
.jps-label { display: block; margin: 0 0 4px; font-size: 12px; font-weight: 600; color: #1f2937; }
.jps-req { color: #d92d20; }
.jps-input { display: block; width: 100%; height: 36px; margin: 0; padding: 0 11px; font: inherit; font-size: 13px; color: #111827; background-color: #fff; border: 1px solid #cfd6e4; border-radius: 4px; box-shadow: none; outline: 0; transition: border-color .15s, box-shadow .15s; }
.jps-input::placeholder { color: #9ca3af; opacity: 1; }
.jps-input:focus { border-color: var(--jps-navy); box-shadow: 0 0 0 3px rgba(13, 42, 107, .12); }
.jps-input:disabled { color: #9ca3af; background-color: #f1f3f7; cursor: not-allowed; }
.jps-textarea { height: auto; padding: 8px 11px; resize: vertical; }
.jps-select { padding-right: 32px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; background-size: 22px; cursor: pointer; }
.jps-urlbox { display: flex; }
.jps-prefix { display: flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--jps-navy); background: #f3f5f9; border: 1px solid #cfd6e4; border-right: 0; border-radius: 4px 0 0 4px; }
.jps-urlbox .jps-input { border-radius: 0 4px 4px 0; }

/* errors */
.jps-err { margin: 3px 0 0; font-size: 12px; color: #d92d20; }
.jps-field.has-error .jps-input, .jps-field.has-error .jps-prefix { border-color: #d92d20; }
.jps-alert, .jps-malert { margin: 12px 0 0; padding: 9px 13px; font-size: 13px; color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; }

/* declaration + buttons */
.jps-terms { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: 12.5px; line-height: 1.5; color: #374151; cursor: pointer; }
.jps-terms input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--jps-navy); }
.jps-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.jps-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 40px; padding: 0 22px; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; text-decoration: none; border: 1.5px solid var(--jps-navy); border-radius: 5px; cursor: pointer; transition: background .15s, color .15s; }
.jps-btn-submit, .jps-btn-confirm { color: #fff; background: var(--jps-navy); }
.jps-btn-submit:hover, .jps-btn-confirm:hover { color: #fff; background: #09205a; }
.jps-btn-reset, .jps-btn-edit { color: var(--jps-navy); background: #fff; }
.jps-btn-reset:hover, .jps-btn-edit:hover { color: var(--jps-navy); background: #eef3fb; }
.jps-btn-submit { min-width: 220px; }
.jps-btn.is-loading { opacity: .65; pointer-events: none; }

/* preview pop-up */
.jps-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 36, 71, .55); }
.jps-mbox { width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; padding: 20px 22px; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.jps-mhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.jps-mtitle { margin: 0; font-size: 18px; font-weight: 800; color: var(--jps-navy); }
.jps-mclose { position: relative; flex: 0 0 auto; width: 32px; height: 32px; padding: 0; color: #374151; background: #f1f5f9; border: 0; border-radius: 50%; cursor: pointer; }
.jps-mclose::before { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7 4.3 4.3l6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7 4.3 4.3l6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.jps-mnote { margin: 0 0 12px; font-size: 12.5px; color: #6b7280; }
.jps-prev { margin: 0; }
.jps-prev > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid #eef1f5; }
.jps-prev > div:first-child { border-top: 0; }
.jps-prev dt { margin: 0; font-size: 12px; color: #6b7280; }
.jps-prev dd { margin: 0; font-size: 13px; font-weight: 600; color: #111827; overflow-wrap: anywhere; white-space: pre-line; }
.jps-mfoot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
body.jps-lock { overflow: hidden; }

/* success */
.jps-success { padding: 36px 22px; text-align: center; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; }
.jps-success-icon { display: block; width: 64px; height: 64px; margin: 0 auto 12px; color: #1e8e3e; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.6 14.4L6 12l1.4-1.4 3 3 6.2-6.2L18 8.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.6 14.4L6 12l1.4-1.4 3 3 6.2-6.2L18 8.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.jps-success-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--jps-navy); }
.jps-success-text { max-width: 520px; margin: 0 auto 18px; color: #4b5563; }
.jps-success-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* side boxes */
.jps-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.jps-box { padding: 16px; background: #f6fbf8; border: 1px solid #dbeee2; border-radius: 10px; }
.jps-box-help { background: #f3f7fd; border-color: #d6e2f5; }
.jps-box-note { background: #fdf4e3; border-color: #f3e0b7; }
.jps-boxtitle { margin: 0 0 8px; font-size: 14.5px; font-weight: 700; color: var(--jps-navy); }
.jps-box-note .jps-boxtitle { color: #b9770e; }
.jps-boxtext { margin: 0; font-size: 12.5px; color: #374151; }
.jps-boxlist { margin: 0; padding: 0; list-style: none; }
.jps-boxlist li { position: relative; margin: 0; padding: 7px 0 7px 30px; font-size: 12.5px; font-weight: 600; color: #1f2937; }
.jps-boxlist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; background: #1e8e3e; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.6 14.4L6 12l1.4-1.4 3 3 6.2-6.2L18 8.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.6 14.4L6 12l1.4-1.4 3 3 6.2-6.2L18 8.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.jps-boxicon { display: block; width: 30px; height: 30px; margin-bottom: 6px; background: var(--jps-navy); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.jps-boxicon-doc { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 2h8l6 6v14H6zM8.5 12h7v1.6h-7zm0 3.5h7v1.6h-7zm0-7h3v1.6h-3z'/%3E%3C/svg%3E"); }
.jps-boxicon-info { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E"); background: #e0920f; }
.jps-box-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; margin-top: 12px; padding: 0 22px; font-size: 13px; font-weight: 700; color: var(--jps-navy); text-decoration: none; background: #fff; border: 1.5px solid var(--jps-navy); border-radius: 5px; }
.jps-box-btn:hover { color: var(--jps-navy); background: #eef3fb; }
.jps-box-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #1d4ed8; text-decoration: none; }
.jps-box-link:hover { text-decoration: underline; }

/* responsive */
@media (max-width: 1180px) {
	.jps.has-side .jps-layout { grid-template-columns: minmax(0, 1fr); }
	.jps.has-steps.has-side .jps-layout { grid-template-columns: var(--jps-steps) minmax(0, 1fr); }
	.jps.has-steps.has-side .jps-side, .jps.has-side:not(.has-steps) .jps-side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}
@media (max-width: 900px) {
	.jps .jps-layout, .jps.has-steps .jps-layout, .jps.has-steps.has-side .jps-layout { grid-template-columns: minmax(0, 1fr); }
	.jps-steps { position: static; }
	.jps-steps-in { display: flex; gap: 6px; padding: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.jps-steps-in li { flex: 0 0 auto; padding: 0; }
	.jps-steps-in li:not(:last-child)::before { display: none; }
	.jps-step { align-items: center; gap: 8px; padding: 4px 10px 4px 4px; }
	.jps-stepnum { width: 30px; height: 30px; }
	.jps-steptxt small { display: none; }
	.jps-title { font-size: 21px; }
	.jps-form { padding: 4px 16px 18px; }
	.jps-sec-3 .jps-grid, .jps-sec-4 .jps-grid, .jps-sec-5 .jps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jps-sec-4 .jps-f-skills { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.jps-grid, .jps-sec-3 .jps-grid, .jps-sec-4 .jps-grid, .jps-sec-5 .jps-grid { grid-template-columns: minmax(0, 1fr); }
	.jps-actions, .jps-mfoot { flex-direction: column-reverse; align-items: stretch; }
	.jps-btn, .jps-btn-submit { width: 100%; min-width: 0; }
	.jps-prev > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ======================= Layout 2 (compact): banner + one card, 3 column grid ======================= */
.jps-c { --jps-navy: #13316b; }
.jps-c .jps-main { gap: 4px; }
.jps-c .jps-hero { background: #13316b; border-radius: 12px; }
.jps-c .jps-hero-in { padding: 16px 18px; }
.jps-c .jps-title { margin: 0 0 2px; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.jps-c .jps-sub { font-size: 13px; opacity: 1; }
.jps-c .jps-form { width: 100%; max-width: 760px; margin: 0 auto; padding: 16px 14px 18px; border-color: #dfe5ef; border-radius: 14px; }
.jps-c .jps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
.jps-c .jps-field.is-wide { grid-column: 1 / -1; }
.jps-c .jps-label { margin-bottom: 7px; font-size: 11.5px; font-weight: 700; color: #111827; }
.jps-c .jps-input { height: 38px; font-size: 12.5px; border-color: #d6deec; border-radius: 8px; }
.jps-c .jps-textarea { height: auto; min-height: 38px; }
.jps-c .jps-f-terms { margin-top: 14px; }
.jps-c .jps-terms { font-size: 12px; font-weight: 600; color: #111827; }
.jps-c .jps-terms input { width: 14px; height: 14px; margin-top: 3px; }
.jps-c .jps-actions { justify-content: flex-start; margin-top: 10px; }
.jps-c .jps-btn { min-width: 0; height: 38px; padding: 0 16px; font-size: 13px; border-radius: 7px; }
.jps-c .jps-btn-submit { min-width: 0; }
@media (max-width: 900px) {
	.jps-c .jps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.jps-c .jps-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.jps-c .jps-actions { flex-direction: column; align-items: stretch; }
}
