/* =====================================================================
   Edata — Recruitment / "Bolsa de trabajo"
   Matches the site language: blue #00549d titles, italic blue subtitles,
   rounded white cards that lift on hover, red "Ver más ↗" links.
   Loaded per job page via @section('styles').
   ===================================================================== */

:root {
  --jb-blue: var(--primary-blue, #00549d);
  --jb-blue-deep: #003d73;
  --jb-red: var(--primary-red, #e62d36);
  --jb-red-deep: #c81f28;
  --jb-ink: #333;
  --jb-mute: #777;
  --jb-line: #e2e6ea;
  --jb-card-sh: 0 4px 12px rgba(0, 0, 0, 0.08);
  --jb-card-sh-hover: 0 12px 30px rgba(0, 84, 157, 0.2);
  --jb-serif: "Century Gothic", "Trebuchet MS", sans-serif;
}

.jb { background-color: #f5f5f5; color: var(--jb-ink); font-family: var(--jb-serif); }
.jb-wrap { max-width: var(--container-max-width, 1400px); margin: 0 auto; padding: 0 40px; }
.jb-narrow { max-width: 860px; }
.jb-body { padding: 60px 0; }

/* ---------- Section heading (site pattern) ---------- */
.jb-head { max-width: var(--container-max-width, 1400px); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
.jb-head__title { font-size: 36px; font-weight: 700; color: var(--jb-blue); line-height: 1.2; margin: 0 0 8px; }
.jb-head__sub { font-size: 20px; font-weight: 400; font-style: italic; color: var(--jb-blue); line-height: 1.3; margin: 0; }
.jb-head--sm .jb-head__title { font-size: 26px; }
.jb-head--sm .jb-head__sub { font-size: 17px; }
.jb-head--center { text-align: center; flex-direction: column; align-items: center; }

/* ---------- Links (red ↗ affordance) ---------- */
.jb-morelink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--jb-red); text-decoration: none; font-size: 16px;
  white-space: nowrap; transition: color 0.3s ease, transform 0.3s ease;
}
.jb-morelink:hover { color: var(--jb-blue); transform: translateX(4px); }
.jb-arrow { font-size: 12px; }

.jb-back { display: inline-flex; align-items: center; gap: 6px; color: var(--jb-red); text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.3s ease, transform 0.3s ease; }
.jb-back:hover { color: var(--jb-blue); transform: translateX(-4px); }
.jb-back--top { margin-bottom: 24px; }

/* ---------- Buttons (site pill style) ---------- */
.jb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 26px; border-radius: 25px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  border: 2px solid transparent; text-decoration: none; white-space: nowrap;
  transition: all 0.3s ease;
}
.jb-btn--primary { background: var(--jb-blue); color: #fff; border-color: var(--jb-blue); }
.jb-btn--primary:hover { background: var(--jb-blue-deep); box-shadow: 0 5px 15px rgba(0, 84, 157, 0.3); transform: translateY(-2px); }
.jb-btn--accent { background: var(--jb-red); color: #fff; border-color: var(--jb-red); }
.jb-btn--accent:hover { background: var(--jb-red-deep); box-shadow: 0 5px 15px rgba(230, 45, 54, 0.3); transform: translateY(-2px); }
.jb-btn--outline { background: #fff; color: var(--jb-blue); border-color: var(--jb-blue); }
.jb-btn--outline:hover { background: var(--jb-blue); color: #fff; }
.jb-btn--block { width: 100%; }

/* ---------- Line icons (small, understated) ---------- */
.ico { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; background-color: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ico-pin { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0116 0z"/><circle cx="12" cy="10" r="3"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0116 0z"/><circle cx="12" cy="10" r="3"/></svg>'); }
.ico-brief { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="7" width="18" height="13" rx="2"/><path d="M8 7V5a2 2 0 012-2h4a2 2 0 012 2v2"/><path d="M3 12h18"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="7" width="18" height="13" rx="2"/><path d="M8 7V5a2 2 0 012-2h4a2 2 0 012 2v2"/><path d="M3 12h18"/></svg>'); }
.ico-globe { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3 12h18"/><path d="M12 3a14 14 0 010 18 14 14 0 010-18z"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3 12h18"/><path d="M12 3a14 14 0 010 18 14 14 0 010-18z"/></svg>'); }
.ico-wallet { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7a2 2 0 012-2h12a2 2 0 012 2"/><rect x="3" y="7" width="18" height="12" rx="2"/><circle cx="16" cy="13" r="1.4"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7a2 2 0 012-2h12a2 2 0 012 2"/><rect x="3" y="7" width="18" height="12" rx="2"/><circle cx="16" cy="13" r="1.4"/></svg>'); }
.ico-clock { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>'); }
.ico-cal { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 9h18M8 3v4M16 3v4"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 9h18M8 3v4M16 3v4"/></svg>'); }
.ico-search { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.9" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.9" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>'); }
.ico-doc { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3H7a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V8z"/><path d="M14 3v5h5"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3H7a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V8z"/><path d="M14 3v5h5"/></svg>'); }
.ico-check { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5l5 5 11-11"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5l5 5 11-11"/></svg>'); }

/* =====================================================================
   HERO — brand blue→red gradient band (echoes the site hero)
   ===================================================================== */
.jb-hero { position: relative; background: linear-gradient(100deg, #00427a 0%, #00549d 38%, #b3242c 118%); color: #fff; overflow: hidden; }
.jb-hero__inner { position: relative; z-index: 1; max-width: var(--container-max-width, 1400px); margin: 0 auto; padding: 74px 40px 66px; }
.jb-hero__title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 400; line-height: 1.25; margin: 0 0 18px; max-width: 62%; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.jb-hero__lead { font-size: 17px; font-weight: 400; line-height: 1.6; max-width: 620px; margin: 0 0 26px; color: rgba(255, 255, 255, 0.95); }
.jb-hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.jb-hero .jb-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.jb-hero .jb-btn--outline:hover { background: #fff; color: var(--jb-blue); border-color: #fff; }
.jb-hero__count { position: absolute; right: 40px; bottom: 54px; text-align: right; z-index: 1; }
.jb-hero__count b { display: block; font-size: 64px; line-height: 1; font-weight: 700; }
.jb-hero__count span { font-size: 15px; font-style: italic; opacity: 0.9; }

/* =====================================================================
   LISTING
   ===================================================================== */
.jb-layout { display: grid; grid-template-columns: 290px 1fr; gap: 44px; align-items: start; }

/* Filters */
.jb-filters { position: sticky; top: 96px; }
.jb-panel { background: #fff; border-radius: 12px; box-shadow: var(--jb-card-sh); padding: 26px; }
.jb-panel__title { font-size: 22px; font-weight: 700; color: var(--jb-blue); margin: 0 0 22px; }
.jb-field { margin-bottom: 20px; }
.jb-field > label { display: block; font-size: 14px; font-weight: 700; color: var(--jb-blue); margin-bottom: 8px; }
.jb-input, .jb-select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-color, #ddd); border-radius: 8px;
  background: #fff; font-family: inherit; font-size: 14px; color: var(--jb-ink); outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.jb-input::placeholder { color: #999; }
.jb-input:focus, .jb-select:focus { border-color: var(--jb-blue); box-shadow: 0 0 0 3px rgba(0, 84, 157, 0.1); }
.jb-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300549d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.jb-input-icon { position: relative; }
.jb-input-icon .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #999; width: 15px; height: 15px; pointer-events: none; }
.jb-input-icon .jb-input { padding-left: 38px; }
.jb-filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.jb-filter-toggle { display: none; }

/* Results header + sort */
.jb-results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.jb-results-head .jb-head__title { font-size: 30px; }
.jb-results-head .jb-count { color: var(--jb-mute); font-size: 15px; font-style: italic; margin: 6px 0 0; }
.jb-sort { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.jb-sort label { font-size: 14px; color: var(--jb-blue); font-weight: 600; }
.jb-sort .jb-select { width: auto; padding: 9px 34px 9px 14px; }

/* Job cards (blog-card language) */
.jb-list { display: flex; flex-direction: column; gap: 24px; }
.jb-job {
  background: #fff; border-radius: 12px; box-shadow: var(--jb-card-sh);
  padding: 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jb-job:hover { transform: translateY(-6px); box-shadow: var(--jb-card-sh-hover); }
.jb-job__cat { font-size: 13px; color: var(--jb-mute); margin: 0 0 6px; }
.jb-job__title { font-size: 21px; font-weight: 700; color: var(--jb-blue); line-height: 1.25; margin: 0; display: inline; }
.jb-job__title a { color: inherit; text-decoration: none; }
.jb-job__title a:hover { color: var(--jb-red); }
.jb-flag { display: inline-flex; align-items: center; gap: 5px; background: var(--jb-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-left: 12px; vertical-align: 2px; }
.jb-flag .ico { width: 12px; height: 12px; }

.jb-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0; }
.jb-meta__item { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--jb-mute); }
.jb-meta__item .ico { color: var(--jb-blue); width: 16px; height: 16px; }
.jb-meta__item.is-salary { color: var(--jb-red); font-weight: 600; }
.jb-meta__item.is-salary .ico { color: var(--jb-red); }
.jb-job__desc { color: #666; font-size: 14px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.jb-job__aside { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 20px; height: 100%; min-width: 160px; }
.jb-posted { text-align: right; }
.jb-posted span { display: block; font-size: 12px; color: #999; }
.jb-posted b { font-size: 14px; color: var(--jb-blue); font-weight: 700; }
.jb-job__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; align-items: flex-end; }

/* Empty state */
.jb-empty { text-align: center; padding: 70px 40px; background: #fff; border-radius: 12px; box-shadow: var(--jb-card-sh); }
.jb-empty__mark { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #eef4fb; color: var(--jb-blue); }
.jb-empty__mark .ico { width: 26px; height: 26px; }
.jb-empty h3 { font-size: 22px; color: var(--jb-blue); margin: 0 0 12px; font-weight: 700; }
.jb-empty p { color: var(--jb-mute); margin: 0 0 24px; font-size: 15px; }

/* Pagination */
.jb-pagination { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--jb-line); display: flex; justify-content: center; }
.jb-pagination .pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; align-items: center; flex-wrap: wrap; }
.jb-pagination a, .jb-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--jb-line); border-radius: 8px; color: var(--jb-mute); text-decoration: none; font-size: 14px; font-weight: 600; background: #fff; transition: all 0.2s ease; }
.jb-pagination a:hover { border-color: var(--jb-blue); color: var(--jb-blue); }
.jb-pagination .active span { background: var(--jb-blue); border-color: var(--jb-blue); color: #fff; }
.jb-pagination .disabled span { opacity: 0.45; }

/* =====================================================================
   JOB DETAIL
   ===================================================================== */
.jb-detail { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.jb-detail__main { min-width: 0; }
.jb-card { background: #fff; border-radius: 12px; box-shadow: var(--jb-card-sh); }

.jb-detailhead { padding: 36px; margin-bottom: 26px; }
.jb-detailhead__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.jb-detailhead__cat { font-size: 15px; color: var(--jb-mute); }
.jb-detailhead h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--jb-blue); line-height: 1.2; margin: 6px 0 0; }

.jb-metagrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 26px; padding: 24px 0; border-top: 1px solid var(--jb-line); border-bottom: 1px solid var(--jb-line); }
.jb-metagrid__cell span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--jb-mute); font-weight: 700; }
.jb-metagrid__cell span .ico { color: var(--jb-blue); width: 14px; height: 14px; }
.jb-metagrid__cell b { display: block; margin-top: 7px; font-size: 16px; color: var(--jb-blue); font-weight: 700; }

.jb-salary { margin-top: 24px; padding: 16px 20px; background: #f0f8ff; border-left: 4px solid var(--jb-red); border-radius: 8px; display: flex; align-items: center; gap: 14px; }
.jb-salary .ico { color: var(--jb-red); width: 26px; height: 26px; }
.jb-salary span { display: block; font-size: 13px; color: #666; margin-bottom: 3px; }
.jb-salary b { font-size: 22px; color: var(--jb-red); font-weight: 700; }
.jb-detailhead__img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; margin-top: 24px; }

.jb-section { padding: 32px 36px; margin-bottom: 24px; }
.jb-section > h2 { font-size: 24px; font-weight: 700; color: var(--jb-blue); margin: 0 0 16px; }
.jb-section.is-benefits { background: linear-gradient(135deg, #f0f8ff 0%, #f5f5f5 100%); }
.jb-prose { color: #666; line-height: 1.8; font-size: 15px; }
.jb-prose ul { padding-left: 20px; }

/* Similar jobs (blog-card look, fills blue on hover like solution-card) */
.jb-similar { margin-top: 50px; }
.jb-similar > h2 { font-size: 28px; font-weight: 700; color: var(--jb-blue); margin: 0 0 24px; }
.jb-similar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.jb-similar__card { display: block; padding: 24px; text-decoration: none; background: #f5f5f5; border-radius: 12px; transition: all 0.3s ease; }
.jb-similar__card:hover { background: var(--jb-blue); transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0, 84, 157, 0.3); }
.jb-similar__card h3 { color: var(--jb-blue); font-size: 18px; font-weight: 700; margin: 0 0 12px; transition: color 0.3s ease; }
.jb-similar__card:hover h3 { color: #fff; }
.jb-similar__loc { display: inline-flex; align-items: center; gap: 6px; color: #888; font-size: 14px; margin: 0 0 14px; transition: color 0.3s ease; }
.jb-similar__loc .ico { color: var(--jb-blue); width: 14px; height: 14px; transition: color 0.3s ease; }
.jb-similar__card:hover .jb-similar__loc, .jb-similar__card:hover .jb-similar__loc .ico { color: rgba(255, 255, 255, 0.9); }
.jb-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.jb-tag { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 14px; color: #fff; }
.jb-tag--blue { background: var(--jb-blue); }
.jb-tag--red { background: var(--jb-red); }
.jb-similar__card:hover .jb-tag--blue { background: #fff; color: var(--jb-blue); }
.jb-similar__card:hover .jb-tag--red { background: #fff; color: var(--jb-red); }

/* =====================================================================
   APPLY PANEL (light, sticky)
   ===================================================================== */
.jb-apply { position: sticky; top: 96px; }
.jb-apply__card { background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 84, 157, 0.12); border-top: 4px solid var(--jb-blue); padding: 30px; }
.jb-apply__title { font-size: 24px; font-weight: 700; color: var(--jb-blue); margin: 0 0 4px; }
.jb-apply__sub { font-size: 14px; font-style: italic; color: var(--jb-mute); margin: 0 0 22px; }
.jb-form { display: flex; flex-direction: column; gap: 15px; }
.jb-form .jb-lbl { display: block; font-size: 13px; font-weight: 700; color: var(--jb-blue); margin-bottom: 7px; }
.jb-form .jb-lbl .req { color: var(--jb-red); }
.jb-form input, .jb-form textarea {
  width: 100%; padding: 11px 14px; background: #f7f9fb; border: 1px solid var(--border-color, #ddd);
  border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--jb-ink); outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.jb-form input::placeholder, .jb-form textarea::placeholder { color: #aaa; }
.jb-form input:focus, .jb-form textarea:focus { border-color: var(--jb-blue); background: #fff; box-shadow: 0 0 0 3px rgba(0, 84, 157, 0.1); }
.jb-form textarea { resize: vertical; min-height: 100px; }
.jb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jb-err { margin: 5px 0 0; font-size: 12px; color: var(--jb-red); }

.jb-file { display: block; position: relative; border: 2px dashed #cdd7e0; border-radius: 8px; padding: 22px 16px; text-align: center; cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease; }
.jb-file:hover { border-color: var(--jb-blue); background: #f7f9fb; }
.jb-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.jb-file__mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: #eef4fb; color: var(--jb-blue); }
.jb-file__mark .ico { width: 20px; height: 20px; }
.jb-file__txt { display: block; font-size: 13.5px; color: var(--jb-ink); margin: 0 0 3px; font-weight: 600; }
.jb-file__hint { display: block; font-size: 11.5px; color: var(--jb-mute); margin: 0; }
.jb-file.has-file { border-style: solid; border-color: #35a06a; background: #f2fbf6; }
.jb-file.has-file .jb-file__mark { background: #e3f6ec; color: #2a9d63; }
.jb-file.has-file .jb-file__txt { color: #1f7a4a; word-break: break-word; }

.jb-apply__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; font-size: 12.5px; color: var(--jb-mute); }
.jb-apply__note .ico { color: #2a9d63; width: 15px; height: 15px; }
.jb-apply__stat { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--jb-line); display: flex; align-items: center; justify-content: space-between; }
.jb-apply__stat span { font-size: 13px; color: var(--jb-mute); }
.jb-apply__stat b { font-size: 30px; font-weight: 700; color: var(--jb-red); }
.jb-deadline { margin-top: 16px; padding: 13px 16px; border-radius: 8px; background: #fdeef0; display: flex; align-items: center; gap: 12px; }
.jb-deadline .ico { color: var(--jb-red); width: 20px; height: 20px; }
.jb-deadline span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--jb-mute); font-weight: 700; }
.jb-deadline b { font-size: 14px; color: var(--jb-ink); }
.jb-deadline em { display: block; font-style: italic; font-size: 12px; color: var(--jb-red); margin-top: 2px; }
.jb-closed { text-align: center; padding: 22px 18px; border-radius: 8px; background: #fdeef0; border: 1px solid #f5c2c6; }
.jb-closed b { display: block; font-size: 16px; color: var(--jb-red); margin-bottom: 6px; }
.jb-closed p { margin: 0; font-size: 13px; color: #8a5a5e; }

/* =====================================================================
   CONFIRMATION
   ===================================================================== */
.jb-success-hero { position: relative; text-align: center; color: #fff; padding: 70px 0 60px; background: linear-gradient(100deg, #00427a 0%, #00549d 40%, #b3242c 120%); }
.jb-success-hero__check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); border: 2px solid rgba(255, 255, 255, 0.5); color: #fff; }
.jb-success-hero__check .ico { width: 40px; height: 40px; }
.jb-success-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 0 0 10px; }
.jb-success-hero p { font-size: 18px; font-style: italic; opacity: 0.95; margin: 0; }

.jb-ticket { margin: -32px auto 0; position: relative; z-index: 2; max-width: 560px; background: #fff; border-radius: 12px; box-shadow: 0 12px 34px rgba(0, 84, 157, 0.18); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-left: 4px solid var(--jb-red); }
.jb-ticket__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--jb-mute); }
.jb-ticket__code { font-size: 24px; font-weight: 700; color: var(--jb-blue); letter-spacing: 1px; margin-top: 5px; word-break: break-all; }
.jb-copy { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 25px; border: 2px solid var(--jb-blue); background: #fff; color: var(--jb-blue); font-weight: 600; font-size: 13px; cursor: pointer; transition: all 0.25s ease; }
.jb-copy:hover { background: var(--jb-blue); color: #fff; }
.jb-copy.is-done { border-color: #2a9d63; color: #2a9d63; }
.jb-copy.is-done:hover { background: #2a9d63; color: #fff; }

.jb-inforow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jb-inforow__cell span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--jb-mute); font-weight: 700; }
.jb-inforow__cell b { display: block; margin-top: 5px; font-size: 16px; color: var(--jb-blue); font-weight: 700; }

.jb-stack { display: flex; flex-direction: column; gap: 24px; }
.jb-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.jb-actions .jb-btn { flex: 1; min-width: 200px; }
.jb-contactline { text-align: center; padding-top: 24px; border-top: 1px solid var(--jb-line); }
.jb-contactline p { margin: 0 0 6px; color: var(--jb-mute); font-size: 14px; }
.jb-contactline a { color: var(--jb-blue); font-weight: 700; text-decoration: none; }
.jb-contactline a:hover { color: var(--jb-red); }

/* Numbered steps (site's circular blue treatment) */
.jb-steps { display: flex; flex-direction: column; }
.jb-step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; }
.jb-step__rail { display: flex; flex-direction: column; align-items: center; }
.jb-step__node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: 17px; background: #fff; color: var(--jb-blue); border: 2px solid var(--jb-blue); }
.jb-step__node .ico { width: 20px; height: 20px; }
.jb-step__line { width: 2px; flex: 1; min-height: 22px; background: var(--jb-line); margin: 4px 0; }
.jb-step:last-child .jb-step__line { display: none; }
.jb-step__body { padding-bottom: 26px; }
.jb-step:last-child .jb-step__body { padding-bottom: 0; }
.jb-step__body h3 { font-size: 17px; font-weight: 700; color: var(--jb-blue); margin: 10px 0 5px; }
.jb-step__body p { margin: 0; color: #666; font-size: 14px; line-height: 1.6; }
.jb-step.is-done .jb-step__node, .jb-step.is-active .jb-step__node { background: var(--jb-blue); color: #fff; }
.jb-step.is-done .jb-step__line { background: var(--jb-blue); }
.jb-step.is-active .jb-step__node { box-shadow: 0 0 0 5px rgba(0, 84, 157, 0.15); }
.jb-step__since { font-size: 13px; font-style: italic; color: var(--jb-mute); margin-top: 4px; }

.jb-tips ul { margin: 0; padding: 0; list-style: none; }
.jb-tips li { position: relative; padding: 0 0 12px 30px; color: #666; font-size: 15px; line-height: 1.5; }
.jb-tips li:last-child { padding-bottom: 0; }
.jb-tips li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e0edf9; }
.jb-tips li::after { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 12px; background: var(--jb-blue); -webkit-mask: center/contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5l5 5 11-11"/></svg>'); mask: center/contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5l5 5 11-11"/></svg>'); }

/* =====================================================================
   TRACK
   ===================================================================== */
.jb-tabs { display: flex; gap: 6px; background: #f0f2f5; padding: 5px; border-radius: 10px; margin-bottom: 24px; }
.jb-tab { flex: 1; text-align: center; padding: 11px 14px; border-radius: 7px; font-size: 14px; font-weight: 700; color: var(--jb-mute); background: transparent; border: none; cursor: pointer; font-family: inherit; transition: all 0.25s ease; }
.jb-tab.is-active { background: #fff; color: var(--jb-blue); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }
.jb-search-block { display: flex; flex-direction: column; gap: 16px; }
.jb-search-block[hidden] { display: none; }
.jb-alert { margin-top: 20px; padding: 16px 18px; border-radius: 8px; background: #fdeef0; border-left: 4px solid var(--jb-red); }
.jb-alert b { display: block; color: var(--jb-red); font-size: 15px; margin-bottom: 4px; }
.jb-alert p { margin: 0; color: #8a5a5e; font-size: 13px; }
.jb-help { background: linear-gradient(135deg, #f0f8ff 0%, #f5f5f5 100%); border-left: 4px solid var(--jb-blue); border-radius: 8px; padding: 24px 26px; }
.jb-help h3 { color: var(--jb-blue); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.jb-help p { margin: 0 0 10px; color: #666; font-size: 14px; line-height: 1.6; }
.jb-help p:last-child { margin-bottom: 0; }
.jb-help a { color: var(--jb-red); font-weight: 700; text-decoration: none; }

/* Status */
.jb-refchip { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--jb-blue); padding: 8px 18px; border-radius: 25px; background: #eef4fb; }
.jb-refchip span { color: var(--jb-mute); font-weight: 600; font-style: italic; }
.jb-note { padding: 20px 22px; border-radius: 8px; margin-top: 4px; border-left: 4px solid; }
.jb-note h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.jb-note p { margin: 0; font-size: 14px; line-height: 1.6; }
.jb-note--blue { background: #eef5fc; border-color: var(--jb-blue); } .jb-note--blue h4 { color: var(--jb-blue-deep); } .jb-note--blue p { color: #2c5578; }
.jb-note--amber { background: #fff7e8; border-color: #e0a020; } .jb-note--amber h4 { color: #9a6a00; } .jb-note--amber p { color: #8a6414; }
.jb-note--green { background: #eaf8f0; border-color: #35a06a; } .jb-note--green h4 { color: #1f7a4a; } .jb-note--green p { color: #2c6a48; }
.jb-note--red { background: #fdeced; border-color: var(--jb-red); } .jb-note--red h4 { color: #b0242c; } .jb-note--red p { color: #98434a; }
.jb-cta-strip { text-align: center; padding: 34px; border-radius: 12px; background: #fff; box-shadow: var(--jb-card-sh); }
.jb-cta-strip h3 { font-size: 22px; font-weight: 700; color: var(--jb-blue); margin: 0 0 8px; }
.jb-cta-strip p { color: var(--jb-mute); font-size: 15px; font-style: italic; margin: 0 0 20px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .jb-detail { grid-template-columns: 1fr; }
  .jb-apply { position: static; }
  .jb-apply__card { max-width: 640px; }
}
@media (max-width: 960px) {
  .jb-layout { grid-template-columns: 1fr; }
  .jb-filters { position: static; }
  .jb-filters[hidden] { display: none; }
  .jb-filter-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 25px; border: 2px solid var(--jb-blue); background: #fff; color: var(--jb-blue); font-weight: 600; font-size: 14px; cursor: pointer; margin-bottom: 20px; font-family: inherit; }
  .jb-metagrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .jb-wrap { padding: 0 20px; }
  .jb-body { padding: 44px 0; }
  .jb-hero__inner { padding: 52px 20px 48px; }
  .jb-hero__title { max-width: 100%; }
  .jb-hero__count { position: static; text-align: left; margin-top: 28px; }
  .jb-hero__count b { font-size: 46px; }
  .jb-job { grid-template-columns: 1fr; gap: 18px; }
  .jb-job__aside { flex-direction: row; align-items: center; border-top: 1px solid var(--jb-line); padding-top: 18px; }
  .jb-job__actions { flex-direction: row; }
  .jb-results-head { flex-direction: column; align-items: flex-start; }
  .jb-similar__grid { grid-template-columns: 1fr; }
  .jb-inforow, .jb-metagrid { grid-template-columns: 1fr; }
  .jb-detailhead, .jb-section { padding: 26px 22px; }
  .jb-ticket { flex-direction: column; align-items: flex-start; }
  .jb-grid-2 { grid-template-columns: 1fr; }
}

/* =====================================================================
   Standalone application page (jobs/apply.blade.php)
   ===================================================================== */
.jb-wrap--narrow {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.jb-applyhead {
  padding: 28px 32px;
  margin-bottom: 18px;
}

.jb-applyhead h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 8px 0 10px;
  color: #0b1c2b;
}

.jb-applyhead__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  color: #5b6470;
  font-size: 14px;
}

/* Form rendered as a full-width page card */
.jb-form--page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
}

.jb-form__section {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #00549d;
  margin: 8px 0 -2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eaf0;
}

/* Custom question block */
.jb-cf {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jb-form--page select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9dde6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #0b1c2b;
  background: #fff;
}

.jb-form--page select:focus,
.jb-form--page textarea:focus,
.jb-form--page input:focus {
  outline: none;
  border-color: #00549d;
  box-shadow: 0 0 0 3px rgba(0, 84, 157, 0.12);
}

.jb-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jb-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e2e6ee;
  border-radius: 10px;
  font-size: 14px;
  color: #0b1c2b;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.jb-choice:hover {
  border-color: #00549d;
  background: #f5f9fd;
}

.jb-choice input {
  width: 17px;
  height: 17px;
  accent-color: #00549d;
  flex-shrink: 0;
}

.jb-alert {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}

.jb-alert--error {
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #a12a2a;
}

@media (max-width: 640px) {
  .jb-applyhead h1 {
    font-size: 22px;
  }

  .jb-applyhead {
    padding: 22px 20px;
  }

  .jb-form--page {
    padding: 22px 20px;
  }
}
