/* לוח המשרות – לשכת מנהלי החשבונות · v1.3 (שפה עיצובית של עמודי הקורסים ומרכז הקריירה) */

.iba-jobs {
  --navy: #13255B;
  --blue: #1E4EC4;
  --blue-hover: #163C9C;
  --sky: #E8F0FD;
  --sky-text: #A9C1F7;
  --bg: #F5F7FB;
  --bg-blue: #EEF3FD;
  --green: #0E7A70;
  --green-bg: #E7F6F3;
  --muted: #4A5468;
  --line: #E3E7EF;
  --light: #DCE3F2;
  direction: rtl;
  text-align: right;
  color: var(--navy);
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.5;
}
.iba-jobs *, .iba-jobs *::before, .iba-jobs *::after { box-sizing: border-box; }
.iba-jobs h1, .iba-jobs h2, .iba-jobs h3 { font-family: inherit; color: inherit; letter-spacing: 0; text-transform: none; }
.iba-jobs [hidden] { display: none !important; }
.iba-jobs :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.iba-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.iba-hero {
  color: #fff;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(55% 80% at 88% 10%, #25459E 0%, rgba(37,69,158,0) 60%),
    radial-gradient(50% 70% at 8% 100%, #1D3A8A 0%, rgba(29,58,138,0) 60%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}
.iba-hero__in { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; }
.iba-hero__tag {
  align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--sky-text);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px;
}
.iba-jobs .iba-hero__title { margin: 0; max-width: 820px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.15; font-weight: 800; color: #fff; }
.iba-hero__title span { color: var(--sky-text); }
.iba-hero__text { margin: 0; max-width: 680px; font-size: 19px; line-height: 1.6; color: var(--light); }
.iba-hero__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--light); }
.iba-hero__checks li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.iba-hero__checks strong { color: #fff; }

/* ---------- Bands ---------- */
.iba-band { background: var(--bg); padding: 40px 0 84px; }
.iba-jobs--hero .iba-band:first-of-type,
.iba-hero + .iba-band { padding-top: 0; }
.iba-band--end { padding: 0 0 88px; }

/* ---------- Search ---------- */
.iba-search {
  position: relative; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 0;
  box-shadow: 0 18px 40px rgba(19,37,91,.14);
}
.iba-hero + .iba-band .iba-search { margin-top: -56px; }
.iba-field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.iba-field--q { flex: 2 1 260px; }
.iba-jobs .iba-field label { margin: 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.iba-jobs .iba-field input,
.iba-jobs .iba-field select {
  width: 100%; height: 52px; margin: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--navy); font-family: inherit; font-size: 16px; box-shadow: none;
}
.iba-jobs .iba-field input:focus, .iba-jobs .iba-field select:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

/* ---------- Buttons ---------- */
.iba-jobs .iba-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 8px; border: 1.5px solid transparent; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none !important; cursor: pointer; box-shadow: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.iba-jobs .iba-btn:hover { transform: translateY(-2px); }
.iba-jobs .iba-btn--main, .iba-jobs .iba-btn--main:focus { background: var(--blue) !important; color: #fff !important; }
.iba-jobs .iba-btn--main:hover { background: var(--blue-hover) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(30,78,196,.35); }
.iba-jobs .iba-btn--outline, .iba-jobs .iba-btn--outline:focus { background: #fff !important; color: var(--blue) !important; border-color: var(--line); }
.iba-jobs .iba-btn--outline:hover { background: var(--sky) !important; border-color: var(--blue); color: var(--blue) !important; }
.iba-jobs .iba-btn--share { color: var(--navy) !important; font-weight: 500; font-size: 15px; }
.iba-jobs .iba-btn--white, .iba-jobs .iba-btn--white:focus { background: #fff !important; color: var(--blue) !important; }
.iba-jobs .iba-btn--white:hover { background: var(--navy) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(10,20,50,.3); }
.iba-jobs .iba-jobs__reset { height: 52px; }

/* ---------- Layout ---------- */
.iba-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 40px; }
.iba-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.iba-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.iba-main__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.iba-jobs .iba-h2 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; }
.iba-jobs__count { margin: 0; font-size: 15px; color: var(--muted); }
.iba-jobs .iba-tlink { align-self: flex-start; margin-top: -6px; font-size: 14px; font-weight: 500; color: var(--blue); text-decoration: none; border-bottom: 2px solid transparent; }
.iba-jobs .iba-tlink:hover { color: var(--navy); border-bottom-color: var(--blue); }


/* ---------- Job card ---------- */
.iba-jobs__list { display: flex; flex-direction: column; gap: 16px; }
.iba-job {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 120px;
  transition: box-shadow .2s, border-color .2s;
}
.iba-job:hover, .iba-job:target { box-shadow: 0 14px 30px rgba(19,37,91,.10); border-color: var(--blue); }
.iba-job__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.iba-job__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.iba-pill { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--blue); background: var(--sky); padding: 5px 12px; border-radius: 999px; }
.iba-pill--new { color: var(--green); background: var(--green-bg); }
.iba-job__posted { font-size: 13px; color: var(--muted); }
.iba-jobs .iba-job__title { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; }
.iba-job__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--muted); }
.iba-job__meta:empty { display: none; }
.iba-job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.iba-job__meta svg { color: var(--blue); flex: none; }
.iba-job__lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--navy); }
.iba-job__details summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  color: var(--blue); font-weight: 700; font-size: 15px;
}
.iba-job__details summary::-webkit-details-marker { display: none; }
.iba-job__details summary::after { content: '+'; font-size: 20px; line-height: 1; transition: transform .2s; }
.iba-job__details[open] summary::after { transform: rotate(45deg); }
.iba-job__desc { margin-top: 10px; padding: 16px 18px; border-radius: 12px; background: var(--bg); font-size: 15px; line-height: 1.7; }
.iba-job__desc p { margin: 0 0 10px; }
.iba-job__desc p:last-child { margin-bottom: 0; }
.iba-job__actions { display: flex; flex-wrap: wrap-reverse; gap: 10px; padding-top: 4px; }

/* ---------- Pager ---------- */
.iba-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 8px; }
.iba-pager__nums { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.iba-jobs .iba-page {
  min-width: 44px; min-height: 44px; padding: 0 12px; margin: 0; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font-family: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.iba-jobs .iba-page:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); background: #fff; }
.iba-jobs .iba-page.is-on, .iba-jobs .iba-page.is-on:hover { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.iba-jobs .iba-page--nav { font-weight: 700; color: var(--blue); }
.iba-jobs .iba-page:disabled { opacity: .4; cursor: default; }
.iba-page__gap { min-width: 20px; text-align: center; color: var(--muted); }

/* ---------- Empty / error ---------- */
.iba-empty {
  background: #fff; border: 1.5px dashed var(--sky-text); border-radius: 16px; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.iba-empty strong { font-size: 20px; font-weight: 800; }
.iba-empty span { font-size: 16px; line-height: 1.6; color: var(--muted); }
.iba-empty__btns { display: flex; flex-wrap: wrap-reverse; gap: 10px; margin-top: 6px; }

/* ---------- Aside: CV card ---------- */
.iba-navy {
  position: relative; color: #fff; background-color: var(--navy);
  background-image: radial-gradient(70% 90% at 85% 0%, #25459E 0%, rgba(37,69,158,0) 60%), radial-gradient(60% 80% at 10% 100%, #1D3A8A 0%, rgba(29,58,138,0) 60%);
}
.iba-cv { border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 40px rgba(19,37,91,.18); scroll-margin-top: 120px; }
.iba-eyebrow { font-size: 14px; font-weight: 700; color: var(--green); }
.iba-eyebrow--light { color: var(--sky-text); }
.iba-jobs .iba-cv__title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.25; color: #fff; }
.iba-cv__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--light); }
.iba-jobs .iba-cv__wa { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.iba-jobs .iba-cv__wa:hover { border-bottom-color: #fff; }


/* ---------- Employers band ---------- */
.iba-emp { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.iba-emp__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; }
.iba-jobs .iba-emp__title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.25; }
.iba-emp__text p { margin: 0; font-size: 15px; color: var(--muted); }
.iba-emp__btns { display: flex; flex-wrap: wrap-reverse; gap: 10px; }
.iba-jobs .iba-emp__btns .iba-btn--outline { color: var(--navy) !important; }

/* ---------- Mobile sticky bar ---------- */
.iba-sticky { display: none; }

@media (max-width: 640px) {
  .iba-wrap { padding: 0 16px; }
  .iba-hero__in { padding-top: 44px; padding-bottom: 88px; }
  .iba-hero__text { font-size: 17px; }
  .iba-search { padding: 16px; }
  .iba-jobs .iba-jobs__reset { flex: 1 1 100%; }
  .iba-layout { margin-top: 28px; }
  .iba-job { padding: 18px; }
  .iba-job__actions .iba-btn--main { flex: 1 1 100%; }
  .iba-pager__nums { order: -1; flex: 1 1 100%; justify-content: center; }
  .iba-emp { padding: 22px; }
  .iba-sticky {
    display: flex; position: fixed; z-index: 50; inset: auto 0 0 0; gap: 10px; padding: 12px 16px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10,20,50,.12);
  }
  .iba-jobs .iba-sticky__cv {
    flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
    background: var(--navy); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important;
  }
  .iba-jobs .iba-sticky__wa { flex: none; width: 48px; min-height: 48px; border-radius: 8px; background: #E3F6EA; color: #128C4B !important; display: flex; align-items: center; justify-content: center; }
  .iba-band--end, .iba-jobs:not(:has(.iba-band--end)) .iba-band:last-of-type { padding-bottom: 104px; }
}
