/* ==========================================================================
   HAGIT JOBS – Design System
   כל הצבעים, הגדלים והרווחים מוגדרים כמשתנים ב-:root – שינוי כאן משפיע על כל האתר.
   ========================================================================== */

:root {
  /* צבעי מותג – הטורקיז מהלוגו */
  --brand: #8b5cf6;           /* סגול המותג: אלמנטים דקורטיביים, אייקונים, מסגרות */
  --brand-strong: #7c3aed;    /* סגול כהה: כפתורים וקישורים (ניגודיות AA עם לבן) */
  --brand-stronger: #6d28d9;  /* hover / active */
  --brand-50: #f5f3ff;        /* רקעים בהירים מאוד */
  --brand-100: #ede9fe;
  --brand-200: #ddd6fe;
  --brand-shadow: rgba(124, 58, 237, .28);

  --ink: #1e2a30;             /* טקסט ראשי – פחם כהה */
  --ink-2: #47555c;           /* טקסט משני */
  --ink-3: #66737a;           /* טקסט עזר (4.6:1 על לבן) */
  --line: #e1e7ea;            /* גבולות רכים */
  --line-strong: #c9d3d8;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8f9;

  --success: #17784a;
  --success-bg: #e7f6ee;
  --warning: #8a5a00;
  --warning-bg: #fff5dd;
  --danger: #b42318;
  --danger-bg: #fdeceb;
  --new: #9a3b00;
  --new-bg: #ffefe3;

  --focus: #6d28d9;

  --font: 'Assistant', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 50, 0.06);
  --shadow: 0 1px 2px rgba(16, 42, 50, 0.05), 0 4px 14px rgba(16, 42, 50, 0.06);
  --shadow-lg: 0 2px 4px rgba(16, 42, 50, 0.05), 0 12px 32px rgba(16, 42, 50, 0.1);

  --container: 1180px;
  --gutter: 16px;
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 76px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand-stronger); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }

/* ---------- נגישות ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.narrow-lg { max-width: 900px; }
.section { padding-block: 40px; }
@media (min-width: 768px) { .section { padding-block: 64px; } }

.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: 1.625rem; }
.section-sub { color: var(--ink-2); margin-top: 4px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (min-width: 768px) { .section-head h2 { font-size: 2rem; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.muted { color: var(--ink-3); }

/* ---------- אייקונים ---------- */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
/* חצים: ב-RTL "קדימה" הוא שמאלה – האייקון כבר מצויר לכיוון הנכון */

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease), transform .1s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .icon { width: 1.2em; height: 1.2em; }

.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: var(--brand-stronger); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand-stronger); }

.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 1rem; }
.btn-xs { min-height: 34px; padding: 4px 12px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 12px 30px; font-size: 1.1875rem; }
.btn-block { display: flex; width: 100%; }

.btn-icon {
  width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: 12px;
  background: transparent; color: var(--ink-2); border: 1px solid transparent;
}
.btn-icon:hover { background: var(--brand-50); color: var(--brand-stronger); border-color: var(--brand-200); }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); border-color: #f5c2bd; }

/* כפתור הגשת מועמדות – הבולט ביותר באתר */
.btn-apply {
  background: var(--brand-strong); color: #fff;
  min-height: 56px; padding: 12px 32px; font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 6px 18px var(--brand-shadow);
}
.btn-apply:hover { background: var(--brand-stronger); color: #fff; box-shadow: 0 8px 22px var(--brand-shadow); }
.btn-apply.btn-lg { min-height: 60px; font-size: 1.3125rem; }

/* ---------- Header ---------- */
.site-header, .admin-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 10px; }
.logo { height: 38px; width: auto; }
@media (min-width: 768px) { .logo { height: 42px; } }

.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 16px; border-radius: var(--radius-pill);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
}
.site-nav a:hover { background: var(--brand-50); color: var(--brand-stronger); }
.site-nav a[aria-current="page"] { color: var(--brand-stronger); background: var(--brand-100); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.1875rem; }
  /* ללא JavaScript – התפריט פשוט מוצג */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { position: static; display: block; box-shadow: none; border: 0; padding: 0; }
  .no-js .site-nav ul { flex-direction: row; }
  .no-js .header-inner { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 85% -10%, var(--brand-100), transparent 70%),
    radial-gradient(700px 320px at 0% 110%, var(--brand-50), transparent 70%),
    linear-gradient(180deg, var(--brand-50), #fff);
  border-bottom: 1px solid var(--line);
}
.hero::after { /* צורה דקורטיבית עדינה בהשראת הלוגו */
  content: ''; position: absolute; inset-inline-start: -60px; top: 40px;
  width: 220px; height: 220px; border-radius: 56px; transform: rotate(18deg);
  border: 2px solid var(--brand-200); opacity: .55; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-block: 40px 44px; text-align: center; }
@media (min-width: 768px) { .hero-inner { padding-block: 72px 76px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--brand-200); color: var(--brand-stronger);
  font-weight: 700; font-size: 1rem; margin-bottom: 18px;
}
/* כרטיס המגייסת בראש דף הבית */
.recruiter {
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%;
  margin: 0 auto 16px; padding: 6px 18px 6px 6px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--brand-200); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none; text-align: start;
}
.recruiter:hover { border-color: var(--brand); }
.recruiter-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-100); flex: none; }
.recruiter-text { display: flex; flex-direction: column; line-height: 1.25; }
.recruiter-text strong { font-size: 1.125rem; color: var(--brand-stronger); }
.recruiter-text > span { font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 768px) { .recruiter-photo { width: 76px; height: 76px; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.hero h1 { font-size: clamp(2.125rem, 6.5vw, 3.75rem); line-height: 1.12; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--brand-strong); }
.hero-sub { max-width: 640px; margin: 16px auto 0; color: var(--ink-2); font-size: 1.1875rem; }
@media (min-width: 768px) { .hero-sub { font-size: 1.3125rem; } }

/* פאנל חיפוש */
.search-panel {
  display: grid; gap: 10px; max-width: 860px; margin: 28px auto 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  text-align: start;
}
@media (min-width: 720px) {
  .search-panel { grid-template-columns: 1fr 220px auto; border-radius: var(--radius-pill); padding: 8px; gap: 0; }
  .search-panel .field-location { border-inline-start: 1px solid var(--line); }
  .search-panel .field input, .search-panel .field select { border-color: transparent; background: transparent; }
  .search-panel .field input:focus, .search-panel .field select:focus { background: var(--brand-50); }
  .search-panel .btn-search { min-height: 56px; padding-inline: 30px; }
}

.field { position: relative; }
.field-icon { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--brand-strong); pointer-events: none; }
.field input, .field select {
  width: 100%; min-height: 56px; padding: 12px 16px; padding-inline-start: 50px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff;
  font-size: 1.125rem; appearance: none; -webkit-appearance: none;
}
.field select {
  cursor: pointer; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347555c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 20px; background-position: left 16px center;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 4px var(--brand-100); }
.field input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- קטגוריות ---------- */
.category-grid {
  list-style: none; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
@media (min-width: 600px) {
  .category-grid { display: flex; flex-wrap: wrap; gap: 12px; }
  .category-grid .category-chip { white-space: nowrap; padding-inline-end: 14px; }
}
/* מובייל: שורה אחת נגללת אופקית – המשרות מופיעות מהר יותר */
@media (max-width: 599px) {
  .category-grid {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-grid li { flex: 0 0 auto; scroll-snap-align: start; }
  .category-grid .category-chip { min-height: 52px; padding: 8px 12px 8px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
  .category-grid .category-icon { width: 34px; height: 34px; border-radius: 50%; }
  .categories.section { padding-block: 28px 20px; }
  .categories .section-head { margin-bottom: 14px; }
}
.category-chip {
  display: flex; align-items: center; gap: 10px; height: 100%;
  min-height: 60px; padding: 10px 12px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; line-height: 1.25;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.category-chip:hover { border-color: var(--brand); background: var(--brand-50); color: var(--ink); box-shadow: var(--shadow); }
.category-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 12px; background: var(--brand-50); color: var(--brand-strong);
}
.category-icon .icon { width: 22px; height: 22px; }
.category-label { flex: 1; min-width: 0; }
.category-count {
  min-width: 28px; padding: 1px 8px; border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--ink-2); font-size: .9375rem; text-align: center;
}
.category-chip.is-empty { color: var(--ink-3); }
.category-chip.is-empty .category-icon { background: var(--surface-2); color: var(--ink-3); }
.category-chip[aria-current="true"] {
  background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; box-shadow: var(--shadow);
}
.category-chip[aria-current="true"] .category-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.category-chip[aria-current="true"] .category-count { background: #fff; color: var(--brand-stronger); }

/* ---------- רשימת משרות ---------- */
.jobs-section { background: var(--surface-2); border-top: 1px solid var(--line); }
.jobs-section:focus { outline: none; }
.results-count { color: var(--ink-2); font-weight: 600; margin-top: 4px; }

.job-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.job-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
@media (min-width: 768px) { .job-card { padding: 24px; } }
.job-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.job-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.job-card:focus-within .stretched-link:focus-visible { outline: none; }

.job-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-card-title { font-size: 1.3125rem; font-weight: 800; line-height: 1.3; }
.stretched-link { color: var(--ink); text-decoration: none; }
.stretched-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.job-card:hover .stretched-link { color: var(--brand-stronger); }
.job-card-company { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.job-card-company .icon { color: var(--ink-3); width: 1.1em; height: 1.1em; }

.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-size: 1rem; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .icon { color: var(--brand-strong); width: 1.1em; height: 1.1em; }

.job-card-cta { margin-top: auto; }
.job-card .job-card-cta { margin-top: 8px; }
.job-card:hover .job-card-cta { background: var(--brand-stronger); }
.job-card-cta .icon-dir { transition: transform .18s var(--ease); }
.job-card:hover .job-card-cta .icon-dir { transform: translateX(-4px); }

/* תגיות */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: var(--radius-pill);
  font-size: .9375rem; font-weight: 700; line-height: 1.5;
}
.badge .icon { width: 1em; height: 1em; }
.badge-category { background: var(--brand-50); color: var(--brand-stronger); border: 1px solid var(--brand-100); }
.badge-new { background: var(--new-bg); color: var(--new); }

/* מצב ריק */
.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 48px 20px; background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
}
.empty-state h1, .empty-state h2, .empty-state h3 { font-size: 1.5rem; }
.empty-state p { color: var(--ink-2); max-width: 460px; }
.empty-state .btn { margin-top: 8px; }
.empty-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: var(--brand-50); color: var(--brand-strong); margin-bottom: 6px;
}
.empty-icon .icon { width: 30px; height: 30px; }
.empty-state-page { border-style: solid; padding-block: 64px; }

/* ---------- עמוד משרה ---------- */
.job-page { padding-block: 20px 120px; background: var(--surface-2); }
@media (min-width: 1000px) { .job-page { padding-block: 28px 72px; } }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 1rem; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumbs li:not(:last-child)::after { content: '‹'; margin-inline-start: 6px; color: var(--ink-3); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-stronger); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.job-layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; } }
.job-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.job-header { padding: 22px; }
@media (min-width: 768px) { .job-header { padding: 32px; } }
.job-header h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin-top: 12px; }
.job-company { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink-2); font-size: 1.1875rem; font-weight: 600; }
.job-company .icon { color: var(--ink-3); }

.job-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0;
}
@media (min-width: 640px) { .job-facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }
.job-facts > div { padding: 12px 14px; background: var(--brand-50); border-radius: 14px; }
.job-facts dt { display: flex; align-items: center; gap: 6px; font-size: .9375rem; color: var(--ink-2); font-weight: 600; }
.job-facts dt .icon { color: var(--brand-strong); width: 1.05em; height: 1.05em; }
.job-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.0625rem; }

.job-header-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
@media (min-width: 1000px) { .job-header-cta { display: none; } }
.apply-note { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .9375rem; }
.apply-note .icon { width: 1.05em; height: 1.05em; }

.content-block { padding: 22px; }
@media (min-width: 768px) { .content-block { padding: 32px; } }
.content-block h2 { font-size: 1.375rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.content-block h2::before { content: ''; width: 6px; height: 1.1em; border-radius: 3px; background: var(--brand); }
.content-block p + p { margin-top: 14px; }
.content-block p { white-space: pre-line; }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-stronger); stroke-width: 3;
}

.apply-block {
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: linear-gradient(135deg, var(--brand-50), #fff); border-color: var(--brand-200);
}
.apply-block h2 { font-size: 1.5rem; }
.apply-block p { color: var(--ink-2); margin-top: 4px; }
@media (min-width: 640px) { .apply-block { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; } }

.apply-block .apply-prep { flex-basis: 100%; }
@media (min-width: 640px) { .apply-block { flex-wrap: wrap; } }

.apply-prep {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--brand-50); border: 1px solid var(--brand-200); font-size: .9375rem;
}
.apply-block .apply-prep { margin-top: 0; background: #fff; }
.apply-prep-title { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-stronger); margin: 0 0 6px !important; }
.apply-prep-title .icon { width: 1.1em; height: 1.1em; }
.apply-prep ul { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; }
.apply-prep li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); line-height: 1.45; }
.apply-prep li .icon { flex: none; width: 1em; height: 1em; margin-top: .25em; color: var(--brand-stronger); stroke-width: 3; }
@media (min-width: 1000px) { .job-header-prep { display: none; } }

.job-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.job-aside { display: none; }
@media (min-width: 1000px) {
  .job-aside { display: block; position: sticky; top: calc(var(--header-h) + 20px); }
}
.aside-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.aside-title { font-weight: 800; font-size: 1.1875rem; line-height: 1.3; }
.aside-company { color: var(--ink-2); margin-top: -8px; }

/* פס הגשה דביק במובייל */
.sticky-apply {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 42, 50, .08);
  transform: translateY(0); transition: transform .2s var(--ease);
}
.sticky-apply.is-hidden { transform: translateY(110%); }
.sticky-apply-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sticky-apply-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-apply-text span { color: var(--ink-3); font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-apply .btn-apply { min-height: 52px; padding-inline: 22px; font-size: 1.125rem; box-shadow: none; }
@media (max-width: 380px) { .sticky-apply-text { display: none; } .sticky-apply .btn-apply { flex: 1; } }
@media (min-width: 1000px) { .sticky-apply { display: none; } }

.related { padding-bottom: 0; }
.related h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* ---------- עמודי תוכן ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); padding-block: 44px 36px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.lead { font-size: 1.25rem; color: var(--ink-2); margin-top: 12px; }

.value-list { list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .value-list { grid-template-columns: repeat(3, 1fr); } }
.value-list li { padding: 24px; }
.value-list h2 { font-size: 1.25rem; margin: 14px 0 6px; }
.value-list p { color: var(--ink-2); }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-100); color: var(--brand-stronger); }

.about-cta { margin-top: 24px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.about-cta h2 { font-size: 1.375rem; }

.prose { padding: 28px; }
.prose h2 { font-size: 1.375rem; margin: 24px 0 10px; }
.prose ul { padding-inline-start: 22px; display: grid; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 44px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { color: var(--ink-2); margin-top: 12px; max-width: 340px; }
.footer-title { font-size: 1.0625rem; margin-bottom: 12px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--brand-stronger); text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--brand-strong); width: 1.1em; height: 1.1em; }
.footer-bottom { margin-top: 36px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9375rem; }
.page-job .site-footer { padding-bottom: 76px; }
@media (min-width: 1000px) { .page-job .site-footer { padding-bottom: 0; } }

/* ==========================================================================
   ממשק ניהול
   ========================================================================== */
.admin { background: var(--surface-2); }
.admin-main { padding-block: 28px 64px; }
.admin-tag {
  padding: 2px 10px; border-radius: var(--radius-pill); background: var(--ink); color: #fff;
  font-size: .875rem; font-weight: 700;
}
.admin-header-actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 600px) { .hide-sm { display: none; } .admin-header-actions .btn { padding-inline: 12px; } }

.admin-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.admin-top h1 { font-size: 2rem; }

.limit-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 22px; margin-bottom: 20px; }
.limit-text { flex: 1 1 260px; }
.limit-title { font-size: 1.1875rem; font-weight: 600; }
.limit-title strong { font-size: 1.5rem; font-weight: 800; color: var(--brand-stronger); }
.limit-bar { flex: 1 1 240px; height: 14px; width: 100%; border-radius: 99px; overflow: hidden; }
.limit-track { fill: var(--brand-100); }
.limit-fill { fill: var(--brand); }
.limit-card.is-full { border-color: #f1d18a; background: var(--warning-bg); }
.limit-card.is-full .limit-title strong { color: var(--warning); }
.limit-card.is-full .limit-fill { fill: #d48a00; }

.admin-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.tab { padding: 8px 16px; border-radius: var(--radius-pill); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 1rem; }
.tab:hover { background: var(--brand-50); color: var(--ink); }
.tab[aria-current="page"] { background: var(--ink); color: #fff; }
.tab-count { opacity: .75; font-weight: 600; }
.admin-search { flex: 0 1 320px; }
.admin-search input { min-height: 46px; font-size: 1rem; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.admin-table th { text-align: start; font-size: .9375rem; color: var(--ink-2); background: var(--surface-2); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fbfdfd; }
.admin-table tr.is-inactive .row-title { color: var(--ink-2); }
.row-title { display: block; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
.row-title:hover { color: var(--brand-stronger); text-decoration: underline; }
.row-sub { color: var(--ink-3); font-size: .9375rem; }
.row-actions { white-space: nowrap; }
.row-actions, .inline-form { display: flex; align-items: center; gap: 6px; }
.inline-form { margin: 0; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; padding: 2px 10px; border-radius: var(--radius-pill); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-on { background: var(--success-bg); color: var(--success); }
.status-off { background: var(--surface-2); color: var(--ink-3); }
[data-admin-empty] { padding: 20px; }

@media (max-width: 900px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .admin-table tr:last-child { border-bottom: 0; }
  .admin-table td { border: 0; padding: 4px 0; display: flex; gap: 10px; align-items: center; }
  .admin-table td[data-label]::before { content: attr(data-label); min-width: 104px; color: var(--ink-3); font-size: .9375rem; }
  .admin-table td:first-child { display: block; margin-bottom: 6px; }
  .admin-table td:first-child::before { display: none; }
  .row-actions { justify-content: flex-end; width: 100%; padding-top: 6px; }
}

/* הודעות */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; border: 1px solid; font-weight: 600; }
.alert .icon { margin-top: 3px; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #b9e3cb; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: #f1d18a; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #f5c2bd; }
.error-summary ul { margin-top: 6px; padding-inline-start: 20px; }
.error-summary a { color: var(--danger); }
.error-summary:focus { outline: 3px solid var(--danger); outline-offset: 2px; }

/* כניסה */
.login-wrap { display: grid; place-items: center; min-height: calc(100vh - var(--header-h) - 120px); }
.login-card { width: 100%; max-width: 440px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.login-card h1 { font-size: 1.75rem; }
.login-card .muted { margin: 6px 0 20px; }

/* טפסים */
.form { display: grid; gap: 18px; }
.form fieldset { margin: 0; padding: 22px; display: grid; gap: 18px; min-width: 0; }
.form legend { float: inline-start; width: 100%; padding: 0; font-weight: 800; font-size: 1.25rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row-3 { grid-template-columns: 1fr 1fr 1fr; } }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field label { font-weight: 700; }
.req { color: var(--danger); margin-inline-start: 2px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 1.0625rem;
}
.form-field input, .form-field select { height: 50px; }
.form-field textarea { resize: vertical; line-height: 1.6; }
.form-row { align-items: start; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 4px var(--brand-100); }
.form-field [aria-invalid="true"] { border-color: var(--danger); }
.form-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px var(--danger-bg); }
.field-hint { color: var(--ink-3); font-size: .9375rem; }
.field-error { display: flex; align-items: center; gap: 6px; color: var(--danger); font-weight: 700; font-size: .9375rem; }
.field-error .icon { width: 1em; height: 1em; }
.input-with-action { display: flex; gap: 8px; }
.input-with-action input { flex: 1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; margin-bottom: 10px; }
.job-form + * , .narrow-lg h1 { margin-bottom: 16px; }

/* מתג הפעלה */
.toggle-field { display: grid; gap: 6px; }
.toggle-field input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-field label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 1.0625rem; }
.toggle-ui {
  position: relative; width: 52px; height: 30px; flex-shrink: 0; border-radius: 99px;
  background: var(--line-strong); transition: background-color .15s var(--ease);
}
.toggle-ui::after {
  content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: inset-inline-start .15s var(--ease);
}
.toggle-field input:checked + label .toggle-ui { background: var(--brand-strong); }
.toggle-field input:checked + label .toggle-ui::after { inset-inline-start: 25px; }
.toggle-field input:focus-visible + label .toggle-ui { outline: 3px solid var(--focus); outline-offset: 3px; }
.toggle-field.is-locked label { cursor: not-allowed; opacity: .6; }
.toggle-field.is-locked .field-hint { color: var(--warning); font-weight: 700; }
@media (max-width: 639px) { .job-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* כפתור וואטסאפ */
.btn-whatsapp { background: #0f7a3f; color: #fff; }
.btn-whatsapp:hover { background: #0b6332; color: #fff; }
.footer-contact .btn-whatsapp .icon { color: #fff; }
.footer-links a.btn-whatsapp, .footer-links a.btn-whatsapp:hover { color: #fff; text-decoration: none; }
.row-sub { display: block; }
.row-warn { color: var(--warning); font-weight: 700; }

/* סטטיסטיקות */
.stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 900px) { .stat-tiles { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { padding: 18px 20px; }
.stat-label { color: var(--ink-2); font-weight: 600; font-size: 1rem; }
.stat-value { font-size: 2.25rem; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 4px; }
.stat-card { padding: 22px; margin-bottom: 16px; }
.stat-card h2 { font-size: 1.25rem; margin-bottom: 12px; }
.stat-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } .stat-grid .stat-card { margin-bottom: 0; } .stat-grid { margin-bottom: 16px; } }
.day-chart { width: 100%; height: auto; display: block; }
.day-chart .bar { fill: var(--brand-strong); }
.day-chart .hit { fill: transparent; }
.day-chart g:hover .bar { fill: var(--brand-stronger); }
.day-chart g:hover .hit { fill: var(--brand-50); }
.day-chart .axis { stroke: var(--line-strong); stroke-width: 1; }
.day-chart .tick { fill: var(--ink-3); font-size: 12px; font-family: var(--font); }
.table-toggle { margin-top: 12px; }
.table-toggle summary { cursor: pointer; color: var(--brand-strong); font-weight: 700; }
.admin-table.compact td, .admin-table.compact th { padding: 8px 10px; }
.src-list { list-style: none; display: grid; gap: 12px; }
.src-row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 4px; }
.src-bar { width: 100%; height: 8px; display: block; border-radius: 99px; overflow: hidden; }
.src-bar .track { fill: var(--brand-100); }
.src-bar .bar { fill: var(--brand); }
.track-links { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.track-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.track-label { font-weight: 700; min-width: 130px; }
.track-links input { flex: 1 1 260px; min-height: 42px; padding: 6px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: .9375rem; background: var(--surface-2); }
.stat-note { font-size: .9375rem; margin: -6px 0 12px; }

/* ---------- סטטיסטיקות: כפתורי הדפסה/אקסל ועיצוב להדפסה ---------- */
.stats-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.print-head { display: none; }
@media print {
  @page { size: A4; margin: 12mm; }
  body.admin { background: #fff !important; color: #000; font-size: 11pt; }
  .admin-header, .skip-link, .stats-actions, .tabs, .no-print, .alert, footer, .table-toggle summary { display: none !important; }
  .admin-main { padding: 0 !important; }
  .container { max-width: none !important; padding: 0 !important; }
  .print-head { display: block; border-bottom: 3px solid #6D28D9; padding-bottom: 6px; margin-bottom: 12px; font-size: 10pt; color: #333; }
  .print-head .print-brand { font-size: 15pt; font-weight: 800; color: #6D28D9; margin-bottom: 2px; }
  .stats-page h1 { font-size: 18pt; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
  .stat-tiles { grid-template-columns: repeat(4, 1fr) !important; }
  .stat-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-value { font-size: 20pt; }
  .day-chart .bar, .src-bar .bar { fill: #6D28D9 !important; }
  .stat-card { break-inside: auto; padding: 14px !important; }
  .stat-tile { break-inside: avoid; padding: 10px 14px !important; }
  .day-chart { width: 100%; max-height: 55mm; }
  .admin-table { display: table !important; width: 100% !important; font-size: 9.5pt; }
  .admin-table thead { display: table-header-group !important; }
  .admin-table tbody { display: table-row-group !important; }
  .admin-table tr { display: table-row !important; padding: 0 !important; break-inside: avoid; }
  .admin-table td, .admin-table th { display: table-cell !important; width: auto !important; padding: 4px 8px !important; border-bottom: 1px solid #e5e5e5 !important; }
  .admin-table td::before { display: none !important; }
  .table-toggle { margin-top: 8px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- ערוצי עדכונים (וואטסאפ / טלגרם) ---------- */
.btn-telegram { background: #1b6fa8; color: #fff; }
.btn-telegram:hover { background: #155a89; color: #fff; }
.btn-whatsapp .icon, .btn-telegram .icon { color: #fff; }
.channels-banner { display: grid; gap: 14px 18px; align-items: center; margin-top: 28px; padding: 22px;
  border-radius: 18px; background: linear-gradient(135deg, #f5f0ff, #ede4ff); border: 1px solid #ddd0fb; }
.channels-icon { width: 52px; height: 52px; border-radius: 14px; background: #7C3AED; color: #fff; display: grid; place-items: center; }
.channels-icon .icon { width: 28px; height: 28px; }
.channels-text h2 { font-size: 1.25rem; margin: 0 0 4px; }
.channels-text p { margin: 0; color: var(--ink-2); }
.channels-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 760px) { .channels-banner { grid-template-columns: auto 1fr auto; } }
.perf-table tr.is-zero td { background: #fff7d6; }
@media print { .perf-table tr.is-zero td { background: #fff3c4 !important; } }

/* ---------- היכרות עם חגית (בראש עמוד הבית) ---------- */
.hagit-intro { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px;
  background: rgba(255,255,255,.85); border: 1px solid #e3d8fb; border-radius: 16px; max-width: 760px; text-align: start; margin-inline: auto; }
.hagit-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #7C3AED; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; }
.hagit-intro p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.hagit-intro a { font-weight: 700; word-break: break-all; }

/* ---------- סדר הצגת המשרות + כותרות תחום ---------- */
.jobs-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sort-toggle { display: inline-flex; background: var(--surface-2, #f3effb); border: 1px solid #e3d8fb; border-radius: 999px; padding: 3px; }
.sort-btn { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.sort-btn[aria-current="true"] { background: #7C3AED; color: #fff; }
.sort-btn:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }
.job-group-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 14px 0 -4px; font-size: 1.125rem;
  color: #5B21B6; padding-bottom: 6px; border-bottom: 2px solid #ede4ff; }
.job-group-title:first-child { margin-top: 0; }
.job-group-title .icon { width: 22px; height: 22px; }

/* ---------- שדרוג קורות חיים ---------- */
.cv-cta { display: flex; align-items: center; gap: 10px; margin: 12px auto 0; max-width: 760px; padding: 12px 16px;
  border-radius: 14px; background: #7C3AED; color: #fff; text-decoration: none; text-align: start; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(91,33,182,.25); }
.cv-cta:hover { background: #6D28D9; color: #fff; }
.cv-cta span { flex: 1; }
.cv-cta .icon { color: #fff; flex: none; }
.steps { padding-inline-start: 1.4em; display: grid; gap: 8px; }
.cv-send { margin: 24px 0 8px; display: grid; gap: 8px; justify-items: start; }
.cv-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px; border-radius: 12px; background: #f5f0ff; font-size: .9375rem; }
.cv-note .icon { flex: none; color: #7C3AED; margin-top: 2px; }
.cv-send .btn { white-space: normal; max-width: 100%; text-align: center; }
@media (max-width: 599px) { .cv-send { justify-items: stretch; } }

/* שיתוף האתר מדף הבית */
.site-share { margin: 18px auto 0; max-width: 640px; text-align: center; }
.site-share-title { font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.site-share-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.site-share-btns .btn { white-space: normal; }

/* שאלות נפוצות */
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 1.0625rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--brand-strong); flex: none; }
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { color: var(--brand-stronger); }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); line-height: 1.65; }
.faq-more { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.faq-more p { margin: 0; }

/* שלב שם וטלפון לפני ההגשה */
.apply-start { padding-block: 28px 48px; }
.apply-start-card { padding: 26px 22px; max-width: 520px; margin-inline: auto; }
.apply-start-card h1 { font-size: clamp(1.625rem, 5vw, 2rem); margin: 6px 0 8px; }
.apply-start-card .lead { color: var(--ink-2); margin-bottom: 18px; }
.apply-start-job { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-50); color: var(--brand-stronger); border-radius: var(--radius-pill); padding: 6px 14px; font-weight: 700; font-size: .9375rem; }
.apply-start-job .icon { flex: none; }
.apply-start-form { display: grid; gap: 16px; }
.apply-start-form .form-field input { font-size: 1.0625rem; }
.apply-start-note { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-3); font-size: .875rem; margin: 0; }
.apply-start-note .icon { flex: none; margin-top: 3px; }
.apply-start-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--ink-3); font-size: .875rem; }
.apply-start-or::before, .apply-start-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.apply-start-form .btn-ghost { margin-bottom: 16px; }
.apply-start-form .btn { white-space: normal; text-align: center; min-width: 0; }
.apply-start-form > * { min-width: 0; }
.apply-start-skip { margin: 16px 0 0; text-align: center; font-size: .9375rem; }
.apply-start-skip a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.apply-start-back { margin: 18px 0 0; text-align: center; }
.apply-start-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.leads-search { margin-bottom: 14px; }
.leads-search input { width: 100%; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 14px; font: inherit; }
.btn-channel { position: relative; }
.btn-channel .copied-mark { display: none; }
.btn-channel.is-copied { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.btn-channel.is-copied .icon { display: none; }
.btn-channel.is-copied .copied-mark { display: inline; font-weight: 800; }

/* ===== עמוד קישורים (ביו אינסטגרם) ===== */
.links-page { background: linear-gradient(180deg, var(--brand-50), #fff 40%); padding-block: 32px 48px; }
.links-inner { max-width: 560px; display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.links-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 4px solid #fff; box-shadow: var(--shadow); }
.links-inner h1 { font-size: 1.75rem; margin: 0; }
.links-sub { color: var(--ink-2); margin: 6px 0 20px; }
.links-main { margin-bottom: 8px; }
.links-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.125rem; margin: 22px 0 10px; }
.links-title .icon { width: 20px; height: 20px; color: var(--brand-strong); }
.links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.links-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-sm); }
.links-btn:hover, .links-btn:focus-visible { border-color: var(--brand); background: var(--brand-50); }
.links-btn span { display: inline-flex; align-items: center; gap: 6px; }
.links-btn .icon { width: 18px; height: 18px; color: var(--brand-strong); }
.links-btn small { font-weight: 400; color: var(--ink-2); font-size: .8125rem; }
.links-channel { margin-top: 24px; white-space: normal; }
.links-about { margin-top: 16px; color: var(--brand-strong); }

/* ===== משרות לפי אזור – דף הבית ===== */
.regions { padding-bottom: 0; }
.region-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .region-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.region-btn { height: 100%; }
.region-btn[aria-current="true"] { border-color: var(--brand-strong); background: var(--brand-50); box-shadow: 0 0 0 2px var(--brand-shadow); }

/* מועמדים – סינון וסטטוסים */
.lead-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.lead-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.lead-tab b { background: var(--brand-50); color: var(--brand-strong); border-radius: 999px; padding: 0 8px; font-size: .85rem; }
.lead-tab.is-active { background: var(--brand-strong); color: #fff; border-color: var(--brand-strong); }
.lead-tab.is-active b { background: rgba(255,255,255,.25); color: #fff; }
.lead-status-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lead-status-form select, .lead-status-form input[type=text] { height: 38px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 10px; font: inherit; background: #fff; }
.lead-status-form input[type=text] { flex: 1 1 140px; min-width: 120px; }
.lead-row { border-inline-start: 4px solid transparent; }
.lead-row.lead-new td:first-child { box-shadow: inset -4px 0 0 #7c3aed; }
.lead-row.lead-reviewing td:first-child { box-shadow: inset -4px 0 0 #f59e0b; }
.lead-row.lead-emailed td:first-child { box-shadow: inset -4px 0 0 #3b82f6; }
.lead-row.lead-submitted td:first-child { box-shadow: inset -4px 0 0 #0ea5e9; }
.lead-row.lead-placed { background: #ecfdf3; }
.lead-row.lead-placed td:first-child { box-shadow: inset -4px 0 0 #16a34a; }
.lead-row.lead-not_placed, .lead-row.lead-irrelevant { opacity: .6; }
.leads-table a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 900px) {
  .leads-table td[data-label="סטטוס"] { display: block; }
  .leads-table td[data-label="סטטוס"]::before { display: block; margin-bottom: 6px; }
  .lead-status-form { width: 100%; }
  .lead-status-form select, .lead-status-form input[type=text] { flex: 1 1 100%; width: 100%; }
  .lead-row.lead-new td:first-child, .lead-row.lead-reviewing td:first-child, .lead-row.lead-emailed td:first-child, .lead-row.lead-submitted td:first-child, .lead-row.lead-placed td:first-child { box-shadow: none; }
  .lead-row.lead-new { border-inline-start: 4px solid #7c3aed; }
  .lead-row.lead-reviewing { border-inline-start: 4px solid #f59e0b; }
  .lead-row.lead-emailed { border-inline-start: 4px solid #3b82f6; }
  .lead-row.lead-submitted { border-inline-start: 4px solid #0ea5e9; }
  .lead-row.lead-placed { border-inline-start: 4px solid #16a34a; }
}
@media (max-width: 440px) { .admin-header-actions { gap: 4px; } .admin-header-actions .btn { padding-inline: 8px; } .admin-header .admin-tag { display: none; } }
