/* Shared: skida-react/src/styles and skida/wwwroot/css hold the same file. Keep them identical (CI checks). */
/* Jobs marketplace (turn 17). Builds on finance.css (fin-*) for cards, chips, tabs and
   buttons; only what is specific to jobs lives here. */

/* Avatars and logo tiles */
.job-avatar { display: grid; place-items: center; border-radius: 50%; font-weight: 700; flex: none; background: #eef2ff; color: var(--brand-blue); overflow: hidden; }
.job-avatar img { width: 100%; height: 100%; object-fit: cover; }
.job-logo { display: grid; place-items: center; border-radius: 10px; font: 800 13px Inter, sans-serif; flex: none; background: #eef2ff; color: var(--brand-blue); overflow: hidden; border: 1px solid var(--border); }
.job-logo img { width: 100%; height: 100%; object-fit: cover; }

/* Tags on job cards */
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font: 600 11px Inter, sans-serif; background: rgba(0, 35, 149, 0.1); color: var(--brand-blue); white-space: nowrap; }
.job-tag-grey { background: rgba(100, 116, 139, 0.14); color: var(--text-2); }
.job-tag-green { background: rgba(0, 119, 73, 0.12); color: var(--fin-green-text); }
.job-tag-gold { background: rgba(255, 184, 28, 0.22); color: var(--fin-gold-text); }
.job-tag-red { background: rgba(220, 38, 38, 0.1); color: var(--fin-red-text); }

/* Type chips (17d) and type tiles (17j) */
.job-type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.job-type-chip { height: 40px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px Inter, sans-serif; border: 1.5px solid var(--border); background: #fff; color: var(--text-2); cursor: pointer; }
.job-type-chip .ms { font-size: 18px; }
.job-type-chip.on { border: 2px solid var(--brand-blue); background: rgba(0, 35, 149, 0.05); color: var(--brand-blue); padding: 0 13.5px; }
.job-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.job-tile { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--text-1); font: 600 12.5px/1.3 Inter, sans-serif; min-width: 0; }
.job-tile:hover { border-color: var(--brand-blue); color: var(--text-1); }
.job-tile .ms { font-size: 22px; color: var(--brand-blue); }
.job-tile small { font: 400 11px Inter, sans-serif; color: var(--fin-text-3); }

/* Form */
.job-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.job-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.job-field.full { grid-column: 1 / -1; }
.job-label { font: 600 12px Inter, sans-serif; color: var(--text-1); }
.job-hint { font: 400 11.5px/1.5 Inter, sans-serif; color: var(--fin-text-3); }
.job-input, .job-select, .job-textarea { width: 100%; height: 44px; border: 1.5px solid var(--border); border-radius: 10px; padding: 0 12px; font: 400 13.5px Inter, sans-serif; color: var(--text-1); background: #fff; box-sizing: border-box; }
.job-textarea { height: auto; min-height: 120px; padding: 10px 12px; line-height: 1.55; resize: vertical; }
.job-input:focus, .job-select:focus, .job-textarea:focus { outline: none; border-color: var(--brand-blue); }
.job-input.ok { border-color: var(--brand-green); }
.job-input.err { border-color: var(--fin-red); }
.job-row { display: flex; gap: 8px; align-items: center; }
.job-section-title { font: 700 14px Inter, sans-serif; color: var(--text-1); margin: 22px 0 4px; }

/* Editor layout with sticky preview */
.job-editor { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.job-sticky { position: sticky; top: 16px; }

/* Job card (preview and browse list) */
.job-card { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; min-width: 0; }
a.job-card:hover { border-color: var(--brand-blue); color: inherit; }
.job-card-title { font: 700 14.5px/1.3 Inter, sans-serif; color: var(--text-1); }
.job-card-meta { font: 400 12px/1.5 Inter, sans-serif; color: var(--text-2); margin: 2px 0 8px; }
.job-card-foot { font: 400 11.5px Inter, sans-serif; color: var(--fin-text-3); margin-top: 8px; }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Funnel bar (17c) */
.job-funnel { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--fin-row); width: 100%; }
.job-funnel span { height: 100%; }

/* Pipeline (17e) */
.job-pipeline { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.job-col { background: var(--fin-row); border-radius: 12px; padding: 10px; min-height: 260px; display: flex; flex-direction: column; gap: 8px; }
.job-col.drop { outline: 2px dashed var(--brand-blue); outline-offset: -2px; background: rgba(0, 35, 149, 0.06); }
.job-col-head { display: flex; align-items: center; justify-content: space-between; font: 700 12px Inter, sans-serif; color: var(--text-1); padding: 2px 4px 4px; }
.job-col-count { font: 600 11px "JetBrains Mono", monospace; color: var(--fin-text-3); }
.job-app-card { background: #fff; border-radius: 10px; padding: 11px; border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(10, 22, 40, 0.05); cursor: grab; }
.job-app-card:active { cursor: grabbing; }
.job-app-card.confirmed { border: 1.5px solid rgba(0, 119, 73, 0.4); }
.job-app-card.dragging { opacity: 0.4; }
.job-app-name { font: 600 12.5px Inter, sans-serif; color: var(--text-1); }
.job-app-meta { font: 400 11px/1.4 Inter, sans-serif; color: var(--fin-text-3); }
.job-app-note { font: 400 11.5px/1.45 Inter, sans-serif; color: var(--text-2); margin-top: 7px; }
.job-app-status { font: 600 11px/1.4 Inter, sans-serif; margin-top: 7px; padding: 5px 8px; border-radius: 7px; }
.job-app-status.green { background: rgba(0, 119, 73, 0.1); color: var(--fin-green-text); }
.job-app-status.gold { background: rgba(255, 184, 28, 0.2); color: var(--fin-gold-text); }
.job-app-status.red { background: rgba(220, 38, 38, 0.08); color: var(--fin-red-text); }
.job-app-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.job-stage-chips { display: none; gap: 6px; overflow-x: auto; padding-bottom: 8px; }

/* Talent search (17f) */
.job-talent { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.job-rail-group { margin-bottom: 16px; }
.job-rail-title { font: 700 10px Inter, sans-serif; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fin-text-3); margin-bottom: 6px; }
.job-rail-option { display: flex; align-items: center; gap: 8px; padding: 5px 0; font: 500 12.5px Inter, sans-serif; color: var(--text-1); cursor: pointer; }
.job-rail-option .job-rail-count { margin-left: auto; font: 500 11px "JetBrains Mono", monospace; color: var(--fin-text-3); }
.job-talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.job-talent-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* Locked "not shown" list (17g, 17m) */
.job-lock-list { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.job-lock-list li { display: flex; align-items: center; gap: 8px; font: 500 12.5px Inter, sans-serif; color: var(--text-2); }
.job-lock-list .ms { font-size: 16px; color: var(--fin-text-3); }
.job-lock-list.see .ms { color: var(--brand-green); }

/* Employer sign-up (17b) and the /employers hero (17a left panel) */
.emp-signup { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; align-items: center; padding: 28px 16px 48px; box-sizing: border-box; }
.emp-brand { font: 800 20px Inter, sans-serif; letter-spacing: -0.02em; color: var(--brand-navy); text-decoration: none; margin-bottom: 20px; }
.emp-brand span { color: var(--brand-yellow); }
.emp-brand small { font: 600 12px Inter, sans-serif; color: var(--fin-text-3); margin-left: 8px; letter-spacing: 0; }
.emp-signup-grid { display: grid; grid-template-columns: 560px 300px; gap: 20px; align-items: start; max-width: 100%; }
.emp-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 28px; box-shadow: var(--shadow-sm); min-width: 0; }
.emp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.emp-step { font: 600 11.5px Inter, sans-serif; color: var(--fin-text-3); }
.emp-step::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--border); margin-bottom: 7px; }
.emp-step.on { color: var(--brand-blue); }
.emp-step.on::before { background: var(--brand-blue); }
.emp-h { margin: 0 0 4px; font: 800 20px Inter, sans-serif; letter-spacing: -0.02em; color: var(--text-1); }
.emp-found { border: 1.5px solid rgba(0, 119, 73, 0.4); background: rgba(0, 119, 73, 0.05); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.emp-found-title { display: flex; align-items: center; gap: 6px; font: 700 12.5px Inter, sans-serif; color: var(--fin-green-text); margin-bottom: 8px; }
.emp-found dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; margin: 0; font: 400 12.5px Inter, sans-serif; color: var(--text-2); }
.emp-found dd { margin: 0; color: var(--text-1); font-weight: 600; }
.emp-size-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.emp-check { display: flex; gap: 10px; align-items: flex-start; font: 400 12.5px/1.55 Inter, sans-serif; color: var(--text-2); cursor: pointer; }
.emp-check input { width: 18px; height: 18px; accent-color: var(--brand-blue); margin: 1px 0 0; flex: none; }
.emp-cta { height: 50px; width: 100%; border-radius: 11px; font-size: 14.5px; }

.emp-hero { background: var(--brand-navy); color: #fff; padding: 44px 24px; }
.emp-hero-inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: center; }
.emp-pitch h1 { margin: 0 0 10px; font: 800 30px/1.2 Inter, sans-serif; letter-spacing: -0.03em; color: #fff; }
.emp-pitch p { margin: 0 0 22px; font: 400 14.5px/1.6 Inter, sans-serif; color: rgba(255, 255, 255, 0.8); }
.emp-point { display: flex; gap: 12px; margin-bottom: 16px; }
.emp-point-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 184, 28, 0.16); color: var(--brand-yellow); display: grid; place-items: center; flex: none; }
.emp-point-title { font: 700 13.5px Inter, sans-serif; color: #fff; }
.emp-point-body { font: 400 12.5px/1.5 Inter, sans-serif; color: rgba(255, 255, 255, 0.72); }
.emp-free-note { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font: 400 12.5px/1.55 Inter, sans-serif; color: rgba(255, 255, 255, 0.88); }

/* Student jobs pages */
.jobs-page { max-width: 1080px; margin: 0 auto; }
.jobs-hero { background: var(--brand-navy); color: #fff; border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; }
.jobs-hero h1 { margin: 0 0 6px; font: 800 24px/1.25 Inter, sans-serif; letter-spacing: -0.03em; color: #fff; }
.jobs-hero p { margin: 0; font: 400 13.5px/1.6 Inter, sans-serif; color: rgba(255, 255, 255, 0.8); }
.jobs-hero a { color: var(--brand-yellow); font-weight: 600; }
.jobs-browse { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.jobs-search-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.jobs-detail { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.jobs-apply { border: 1.5px solid var(--brand-blue); border-radius: 14px; background: #fff; padding: 18px; }
.jobs-facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 12px; background: #fff; margin: 14px 0; }
.jobs-facts > div { padding: 12px 14px; border-right: 1px solid var(--border); min-width: 0; }
.jobs-facts > div:last-child { border-right: 0; }
.jobs-prose { font: 400 13.5px/1.7 Inter, sans-serif; color: var(--text-2); white-space: pre-wrap; }
.jobs-confirm { border: 2px solid var(--brand-green); border-radius: 14px; background: #fff; padding: 18px; margin-bottom: 14px; }
.jobs-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 4px; }
.jobs-progress span { height: 5px; border-radius: 3px; background: var(--fin-row); }
.jobs-progress span.on { background: var(--brand-blue); }
.jobs-progress.hired span.on { background: var(--brand-green); }
.jobs-sticky-apply { display: none; }
.jobs-cover { height: 150px; border-radius: 14px 14px 0 0; background: linear-gradient(120deg, #001a6e, #002395); background-size: cover; background-position: center; }
.jobs-company-head { background: #fff; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 14px 14px; padding: 0 22px 18px; margin-bottom: 16px; }

@media (max-width: 1000px) {
  .job-editor, .jobs-detail, .emp-signup-grid, .emp-hero-inner, .job-talent, .jobs-browse { grid-template-columns: 1fr; }
  .job-sticky { position: static; }
  .job-tiles { grid-template-columns: repeat(4, 1fr); }
  .job-talent-grid, .job-card-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .job-form-grid { grid-template-columns: 1fr; }
  .job-tiles { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .job-tile { flex: none; flex-direction: row; align-items: center; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
  .job-tile .ms { font-size: 17px; }
  .job-talent-grid, .job-card-row { grid-template-columns: 1fr; }
  .jobs-facts { grid-template-columns: 1fr 1fr; }
  .jobs-facts > div:nth-child(2) { border-right: 0; }
  .jobs-facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  /* 17p: the pipeline becomes stage chips plus one column of cards with 44px actions. */
  .job-stage-chips { display: flex; }
  .job-pipeline { display: block; }
  .job-col { display: none; background: transparent; padding: 0; min-height: 0; }
  .job-col.active { display: flex; }
  .job-col-head { display: none; }
  .job-app-actions .fin-btn { height: 44px; flex: 1; }
  .job-input, .job-select { height: 48px; }
  .jobs-detail .jobs-apply.desktop { display: none; }
  .jobs-sticky-apply { display: block; position: fixed; left: 0; right: 0; bottom: 60px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--border); z-index: 20; }
  .jobs-sticky-apply .fin-btn { width: 100%; height: 48px; font-size: 14px; }
  .emp-card { padding: 20px 18px; }
}

/* 17p: Browse as a segmented Institutions / Jobs / Housing page — phones only. */
.student-browse-seg { display: none; }
.student-browse-seg .fin-seg-btn { text-decoration: none; flex: 1; justify-content: center; }
@media (max-width: 960px) {
  .student-browse-seg { display: flex; margin-bottom: 14px; }
}

/* Bookmark, "You'll fit if you", company photos and employer images */
.job-card-wrap { position: relative; }
.job-card-wrap .job-card { padding-right: 52px; }
.job-save { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text-2); cursor: pointer; padding: 0; }
.job-save:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.job-save.on { background: #eef2ff; border-color: var(--brand-blue); color: var(--brand-blue); }
.job-save.on .ms { font-variation-settings: "FILL" 1; }
.job-save .ms { font-size: 20px; }
.job-save-inline { position: static; flex: none; }
.job-fit-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 7px; font: 400 13.5px/1.5 Inter, sans-serif; color: var(--text-1); }
.job-fit-list li { display: flex; gap: 8px; align-items: flex-start; }
.job-fit-list .ms { font-size: 18px; color: var(--fin-green-text, #005c38); flex: none; margin-top: 1px; }
.jobs-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.jobs-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #eef1f8; border: 1px solid var(--border); }
.jobs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jobs-photo button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(10, 22, 40, .72); color: #fff; cursor: pointer; padding: 0; }
.jobs-photo button .ms { font-size: 17px; }
.emp-image-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--fin-row, #eef1f6); }
.emp-image-row:last-child { border-bottom: 0; }
.emp-cover-thumb { width: 150px; height: 56px; border-radius: 10px; background: linear-gradient(120deg, #001a6e, #002395); background-size: cover; background-position: center; border: 1px solid var(--border); flex: none; }

/* Turn 19: employer landing steps (19a), the team seat meter (19b) and grouped placements (19c). */
.emp-free-note { display: flex; gap: 10px; align-items: flex-start; }
.emp-free-note .ms { font-size: 20px; color: var(--brand-yellow); flex: none; }
.emp-free-note strong { color: #fff; font-weight: 700; }
.emp-eyebrow { font: 700 11px Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-yellow); margin-bottom: 12px; }
.emp-how { max-width: 1040px; margin: 0 auto; padding: 28px 24px 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.emp-how-step { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; min-width: 0; }
.emp-how-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.emp-how-n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-navy); color: var(--brand-yellow); display: grid; place-items: center; font: 800 13px Inter, sans-serif; flex: none; }
.emp-how-head .ms { font-size: 20px; color: var(--brand-blue); }
.emp-how-title { font: 700 14px/1.35 Inter, sans-serif; color: var(--text-1); }
.emp-how-body { font: 400 12.5px/1.55 Inter, sans-serif; color: var(--text-2); margin-top: 4px; }
.emp-seats { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; }
.emp-seats-count { font: 800 18px Inter, sans-serif; letter-spacing: -0.02em; color: var(--text-1); white-space: nowrap; }
.emp-seat-bar { display: flex; gap: 4px; flex: 1 1 160px; min-width: 120px; }
.emp-seat { flex: 1; height: 8px; border-radius: 4px; background: var(--fin-row); }
.emp-seat.active { background: var(--brand-blue); }
.emp-seat.pending { background: var(--brand-yellow); }
.job-tag-owner { background: #001a6e; color: var(--brand-yellow); }
.emp-group-title { font: 700 11px Inter, sans-serif; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fin-text-3); margin: 20px 0 8px; }
.emp-pay { background: #fff; border: 1.5px solid rgba(255, 184, 28, 0.7); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.emp-pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.emp-pay-value { font: 600 13px "JetBrains Mono", monospace; color: var(--text-1); display: flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.emp-pay .fin-btn-gold { height: 44px; padding: 0 18px; font-size: 13px; font-weight: 700; }
.emp-place-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--fin-row); }
.emp-place-row:last-child { border-bottom: 0; }
.emp-place-note { font: 400 12px/1.5 Inter, sans-serif; color: var(--text-2); margin-top: 2px; }
.emp-place-note.red { color: var(--fin-red-text); }
.emp-place-note.green { color: var(--fin-green-text); }

@media (max-width: 1000px) {
  .emp-how { grid-template-columns: 1fr; padding: 20px 16px 32px; }
}
@media (max-width: 640px) {
  .emp-pay-grid { grid-template-columns: 1fr 1fr; }
  .emp-pay .fin-btn-gold { width: 100%; height: 48px; }
  .emp-pay .fin-icon-btn { min-width: 44px; min-height: 44px; }
}
