
/* ═══════════════════════════════════════════════════════════════════════
   browse-jobs.css  v8.0 — HiringReferrals
   ✅ Landing.css color tokens matched exactly
   ✅ Hero: landing footer dark gradient (#141850 → #202870 → #1e3fcc)
   ✅ Body BG: hero-bg-1 → hero-bg-2 (periwinkle cream)
   ✅ Perfex-style professional & symmetric
   ✅ No conflicts with social.css
   ✅ Mobile responsive card layout
   Fonts: Syne + DM Sans
═══════════════════════════════════════════════════════════════════════ */


/* ── DESIGN TOKENS (landing.css matched) ────────────────────────────── */
:root {
  /* Primary brand — from landing.css */
  --navy:          #202870;
  --navy-mid:      #2a3490;
  --navy-light:    #3a4daa;
  --navy-dark:     #141850;
  --navy-ghost:    rgba(32, 40, 112, 0.07);
  --navy-ghost-hv: rgba(32, 40, 112, 0.13);

  /* Accent — from landing.css */
  --bj-orange:        #e07838;
  --orange-soft:   #ea8f52;
  --bj-orange-dark:   #c05f20;
  --orange-ghost:  rgba(224, 120, 56, 0.09);
  --orange-ghost-hv: rgba(224, 120, 56, 0.17);

  --bj-green:         #16a34a;
  --green-bg:      #dcfce7;
  --red:           #c0392b;
  --red-bg:        #fef0ee;
  --amber:         #b45309;
  --amber-bg:      #fef3e2;
  --bj-gold:          #f5c842;
  --bj-purple:        #6c4ef2;

  /* BG — landing hero-bg palette */
  --bg:            #f4f6ff;
  --bg-card:       #faf8ff;
  --bg-surface:    #fff9f5;
  --bg-sunken:     #f0fdf8;

  /* Borders — landing gray tokens */
  --border:        #e5e7f0;
  --border-2:      #c8cce0;

  /* Text */
  --bj-text:          #1a1e3a;
  --text-2:        #5a6280;
  --text-3:        #7a85a3;
  --text-4:        #a0aaba;

  /* Radius */
  --r-xs:   4px;   --r-sm:   8px;
  --r-md:   12px;  --r-lg:   16px;
  --r-xl:   22px;  --r-full: 100px;

  /* Shadows */
  --s-xs: 0 1px  4px rgba(32, 40, 112, 0.05);
  --s-sm: 0 2px 12px rgba(32, 40, 112, 0.08);
  --s-md: 0 6px 28px rgba(32, 40, 112, 0.10);
  --s-lg: 0 18px 56px rgba(32, 40, 112, 0.14);

  --sidebar-w:  210px;
  --navbar-h: 68px;
  --transition: 0.24s cubic-bezier(.4, 0, .2, 1);
}

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family:            'DM Sans', sans-serif;
  background:             var(--bg);
  color:                  var(--bj-text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── PAGE WRAPPER ───────────────────────────────────────────────────── */
.bj-page { min-height: 100vh; background: var(--bg); }

/* ═══════════════════════════════════════════════════════════════════════
   HERO — landing.css footer gradient
═══════════════════════════════════════════════════════════════════════ */
.bj-hero {
  background:      linear-gradient(150deg, #141850 0%, #202870 45%, #1e3fcc 100%);
  background-size: 300% 300%;
  animation:       bjGradientShift 16s ease infinite;
  padding:         52px 24px 48px;
  text-align:      center;
  position:        relative;
  overflow:        hidden;
}

@keyframes bjGradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Dot grid overlay */
.bj-hero::before {
  content:          '';
  position:         absolute;
  inset:            0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size:  32px 32px;
  pointer-events:   none;
}

/* Radial accents */
.bj-hero::after {
  content:  '';
  position: absolute;
  inset:    0;
  background-image:
    radial-gradient(circle at 15% 55%, rgba(224, 120, 56, 0.18) 0%, transparent 46%),
    radial-gradient(circle at 85% 20%, rgba(108, 78, 242, 0.20) 0%, transparent 44%);
  pointer-events: none;
}

.bj-hero-inner {
  position: relative;
  z-index:  2;
  max-width:820px;
  margin:   0 auto;
}

.bj-stats-strip {
  display:         flex;
  justify-content: center;
  gap:             24px;
  flex-wrap:       wrap;
  margin-bottom:   20px;
}

.bj-stat {
  display:     flex;
  align-items: center;
  gap:         5px;
  font-size:   .74rem;
  color:       rgba(255, 255, 255, 0.60);
}

.bj-stat strong { color: var(--bj-gold); font-weight: 700; }

.bj-headline {
  font-size:       clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight:     800;
  color:           #fff;
  line-height:     1.12;
  letter-spacing:  -.03em;
  margin-bottom:   11px;
}

.bj-headline span { color: var(--bj-gold); }

.bj-sub {
  font-size:     .84rem;
  color:         rgba(255, 255, 255, 0.48);
  margin-bottom: 28px;
  line-height:   1.6;
}

/* Hero search */
.bj-search-box {
  display:       flex;
  gap:           8px;
  align-items:   center;
  background:    #fff;
  border-radius: var(--r-md);
  padding:       8px 10px;
  box-shadow:    0 16px 56px rgba(0, 0, 0, 0.28);
  margin-bottom: 17px;
  max-width:     720px;
  margin-left:   auto;
  margin-right:  auto;
}

.bj-sf          { position: relative; flex: 1; min-width: 0; }
.bj-sf > i      { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-4); font-size: .76rem; pointer-events: none; }

.bj-sf input {
  width:         100%;
  padding:       10px 10px 10px 30px;
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size:     .84rem;
  color:         var(--bj-text);
  background:    #fff;
  outline:       none;
  transition:    border-color .18s;
}

.bj-sf input:focus       { border-color: var(--navy-light); }
.bj-sf input::placeholder { color: var(--text-4); }

.bj-btn-search {
  flex-shrink:   0;
  display:       inline-flex;
  align-items:   center;
  gap:           6px;
  padding:       10px 26px;
  background:    var(--bj-orange);
  color:         #fff;
  border:        none;
  border-radius: var(--r-sm);
  font-size:     .84rem;
  font-weight:   700;
  cursor:        pointer;
  transition:    background .2s, transform .15s;
  white-space:   nowrap;
}

.bj-btn-search:hover { background: var(--orange-soft); transform: translateY(-1px); }

.bj-trending {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             6px;
  flex-wrap:       wrap;
}

.bj-tr-lbl    { font-size: .69rem; color: rgba(255, 255, 255, 0.38); font-weight: 600; }

.bj-trend-tag {
  padding:       4px 12px;
  border-radius: var(--r-full);
  border:        1px solid rgba(255, 255, 255, 0.15);
  font-size:     .69rem;
  color:         rgba(255, 255, 255, 0.68);
  transition:    all .18s;
}

.bj-trend-tag:hover {
  background:   rgba(224, 120, 56, 0.26);
  border-color: var(--orange-soft);
  color:        #fff;
}

/* ═══════════════════════════════════════════════════════════════════════
   CV UPLOAD STRIP
═══════════════════════════════════════════════════════════════════════ */
.bj-cv-strip {
  background:    linear-gradient(90deg, rgba(224, 120, 56, 0.07) 0%, rgba(245, 200, 66, 0.04) 100%);
  border-bottom: 1px solid rgba(224, 120, 56, 0.15);
  padding:       13px 28px;
}

.bj-cv-strip-inner {
  max-width:   1380px;
  margin:      0 auto;
  display:     flex;
  align-items: center;
  gap:         14px;
  flex-wrap:   wrap;
}

.bj-cv-strip-icon {
  width:           42px;
  height:          42px;
  border-radius:   var(--r-md);
  background:      rgba(224, 120, 56, 0.11);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--bj-orange);
  font-size:       1.05rem;
  flex-shrink:     0;
}

.bj-cv-strip-text        { flex: 1; min-width: 180px; }
.bj-cv-strip-title       { font-weight: 700; font-size: .87rem; color: var(--bj-text); margin-bottom: 2px; }
.bj-cv-strip-sub         { font-size: .73rem; color: var(--text-3); }
.bj-cv-strip-sub span    { color: var(--bj-green); font-weight: 600; }

.bj-cv-upload-zone       { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.bj-cv-file-label {
  display:       inline-flex;
  align-items:   center;
  gap:           7px;
  padding:       9px 22px;
  background:    var(--bj-orange);
  color:         #fff;
  border-radius: var(--r-sm);
  font-size:     .82rem;
  font-weight:   700;
  cursor:        pointer;
  transition:    background .2s, transform .15s;
  white-space:   nowrap;
}

.bj-cv-file-label:hover { background: var(--orange-soft); transform: translateY(-1px); }
.bj-cv-file-name        { font-size: .73rem; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════════════════
   BODY LAYOUT
═══════════════════════════════════════════════════════════════════════ */
.bj-body {
  max-width:             1380px;
  margin:                0 auto;
  padding:               26px 24px 80px;
  display:               grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap:                   22px;
  align-items:           start;
}

/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════════════ */
.bj-sidebar {
  position:       sticky;
  top:            80px;
  max-height:     calc(100vh - var(--nav-h, 68px) - 28px);
  overflow-y:     auto;
  background:     var(--bg-card);
  border:         1px solid var(--border);
  border-radius:  var(--r-lg);
  box-shadow:     var(--s-sm);
  scrollbar-width:thin;
  scrollbar-color:var(--border) transparent;
  z-index:        10;
}

.bj-sidebar::-webkit-scrollbar       { width: 4px; }
.bj-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.bj-sidebar-rail     { display: none !important; }

.bj-sidebar-expanded {
  position:       static !important;
  width:          100% !important;
  opacity:        1 !important;
  pointer-events: all !important;
  padding:        18px 16px;
  background:     transparent;
}

.bj-sidebar:hover { width: auto !important; box-shadow: var(--s-sm); }

.bj-filter-head {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding-bottom:  13px;
  border-bottom:   1.5px solid var(--bg-surface);
  margin-bottom:   15px;
}

.bj-filter-head h3 {
  font-size:   .88rem;
  font-weight: 700;
  color:       var(--bj-text);
  display:     flex;
  align-items: center;
  gap:         6px;
}

.bj-filter-head h3 i { color: var(--navy-light); }

.bj-clear-btn {
  font-size:     .71rem;
  color:         var(--bj-orange);
  font-weight:   700;
  background:    none;
  border:        none;
  cursor:        pointer;
  padding:       3px 8px;
  border-radius: var(--r-xs);
  transition:    background .14s;
}

.bj-clear-btn:hover { background: var(--orange-ghost); }

.bj-filter-group {
  margin-bottom: 17px;
  padding-bottom:15px;
  border-bottom: 1px solid var(--bg-surface);
}

.bj-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.bj-filter-group h4 {
  font-size:      .65rem;
  font-weight:    700;
  color:          var(--text-4);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom:  10px;
}

/* Industry tiles */
.bj-industry-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }

.bj-ind-tile {
  padding:       7px 6px;
  border-radius: var(--r-xs);
  border:        1.5px solid var(--border);
  font-size:     .68rem;
  font-weight:   600;
  color:         var(--text-2);
  cursor:        pointer;
  transition:    all .14s;
  text-align:    center;
  background:    var(--bg);
  line-height:   1.3;
}

.bj-ind-tile:hover  { border-color: var(--navy-light); background: var(--navy-ghost); color: var(--navy); }
.bj-ind-tile.active { border-color: var(--navy); background: var(--navy-ghost-hv); color: var(--navy); font-weight: 700; }

/* Checkboxes */
.bj-check-item {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   .79rem;
  color:       var(--text-2);
  margin-bottom:8px;
  cursor:      pointer;
  user-select: none;
}

.bj-check-item:last-child                   { margin-bottom: 0; }
.bj-check-item input[type="checkbox"]       { accent-color: var(--navy); width: 14px; height: 14px; cursor: pointer; flex-shrink: 0; }

.bj-check-cnt {
  margin-left:   auto;
  font-size:     .64rem;
  color:         var(--text-4);
  background:    var(--bg-surface);
  padding:       1px 8px;
  border-radius: var(--r-full);
}

/* Radio */
.bj-radio-list { display: flex; flex-direction: column; gap: 7px; }

.bj-radio-item {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   .79rem;
  color:       var(--text-2);
  cursor:      pointer;
}

.bj-radio-item input[type="radio"] { accent-color: var(--navy); width: 13px; height: 13px; cursor: pointer; }

/* Sidebar CTAs */
.bj-sidebar-cta {
  border-radius: var(--r-md);
  padding:       14px;
  text-align:    center;
  margin-top:    15px;
}

.bj-sidebar-cta--partner {
  background: linear-gradient(135deg, rgba(224, 120, 56, 0.08), rgba(245, 200, 66, 0.05));
  border:     1px solid rgba(224, 120, 56, 0.20);
}

.bj-sidebar-cta--client {
  background: linear-gradient(135deg, rgba(32, 40, 112, 0.06), rgba(30, 63, 204, 0.04));
  border:     1px solid rgba(32, 40, 112, 0.12);
}

.bj-sidebar-cta-title { font-size: .78rem; font-weight: 700; color: var(--bj-text); margin-bottom: 3px; }
.bj-sidebar-cta-sub   { font-size: .67rem; color: var(--text-3); margin-bottom: 9px; line-height: 1.5; }

.bj-sidebar-cta-btn {
  display:       inline-block;
  padding:       7px 15px;
  border-radius: var(--r-sm);
  font-size:     .72rem;
  font-weight:   700;
  transition:    all .15s;
}

.bj-sidebar-cta--partner .bj-sidebar-cta-btn       { background: var(--bj-orange); color: #fff; }
.bj-sidebar-cta--partner .bj-sidebar-cta-btn:hover { background: var(--orange-soft); }
.bj-sidebar-cta--client  .bj-sidebar-cta-btn       { background: var(--navy); color: #fff; }
.bj-sidebar-cta--client  .bj-sidebar-cta-btn:hover { background: var(--navy-mid); }

/* Mobile overlay */
.bj-sidebar-overlay {
  display:    none;
  position:   fixed;
  inset:      0;
  background: rgba(32, 40, 112, 0.45);
  z-index:    996;
}

.bj-sidebar-overlay.active { display: block; }

/* ═══════════════════════════════════════════════════════════════════════
   MAIN COLUMN
═══════════════════════════════════════════════════════════════════════ */
.bj-stats-row { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }

.bj-stat-pill {
  display:       inline-flex;
  align-items:   center;
  gap:           5px;
  padding:       5px 14px;
  border-radius: var(--r-full);
  font-size:     .73rem;
  font-weight:   700;
}

.bj-stat-pill--total  { background: var(--navy-ghost);            color: var(--navy);  }
.bj-stat-pill--urgent { background: rgba(192, 57, 43, 0.09);      color: #a02020;      }
.bj-stat-pill--remote { background: rgba(22, 163, 74, 0.09);      color: var(--bj-green); }

/* Filter bar */
.bj-filter-bar {
  display:       flex;
  align-items:   center;
  gap:           8px;
  flex-wrap:     wrap;
  margin-bottom: 12px;
  background:    var(--bg-card);
  border:        1px solid var(--border);
  border-radius: var(--r-md);
  padding:       10px 16px;
  box-shadow:    var(--s-xs);
}

.bj-filter-search {
  flex:          1;
  min-width:     200px;
  display:       flex;
  align-items:   center;
  gap:           8px;
  background:    var(--bg-surface);
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding:       7px 12px;
  transition:    border-color .18s, background .18s;
}

.bj-filter-search:focus-within { border-color: var(--navy-light); background: var(--bg-card); }

.bj-filter-search .ai-badge,
.bj-filter-search .bj-ai-badge {
  display:       inline-flex;
  align-items:   center;
  gap:           4px;
  padding:       2px 8px;
  background:    var(--navy-ghost);
  color:         var(--navy);
  border-radius: var(--r-xs);
  font-size:     .67rem;
  font-weight:   700;
  flex-shrink:   0;
  white-space:   nowrap;
}

.bj-filter-search input {
  flex:       1;
  border:     none;
  outline:    none;
  background: transparent;
  font-size:  .83rem;
  color:      var(--bj-text);
}

.bj-filter-search input::placeholder { color: var(--text-4); }

.bj-filter-loc {
  display:       flex;
  align-items:   center;
  gap:           7px;
  background:    var(--bg-surface);
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding:       7px 10px;
  min-width:     130px;
  transition:    border-color .18s, background .18s;
}

.bj-filter-loc:focus-within { border-color: var(--navy-light); background: var(--bg-card); }
.bj-filter-loc i             { color: var(--text-4); font-size: .72rem; flex-shrink: 0; }

.bj-filter-loc input {
  flex:       1;
  border:     none;
  outline:    none;
  background: transparent;
  font-size:  .78rem;
  color:      var(--bj-text);
  width:      100%;
}

.bj-filter-loc input::placeholder { color: var(--text-4); }

.bj-filter-mode {
  display:       flex;
  align-items:   center;
  gap:           6px;
  background:    var(--bg-surface);
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding:       7px 10px;
  transition:    border-color .18s;
}

.bj-filter-mode:focus-within { border-color: var(--navy-light); }
.bj-filter-mode i             { color: var(--text-4); font-size: .72rem; }

.bj-filter-mode select {
  border:     none;
  outline:    none;
  background: transparent;
  font-size:  .78rem;
  color:      var(--bj-text);
  cursor:     pointer;
}

/* Urgent toggle */
.bj-urgent-toggle {
  display:     flex;
  align-items: center;
  gap:         5px;
  font-size:   .77rem;
  color:       var(--bj-text);
  cursor:      pointer;
  user-select: none;
  white-space: nowrap;
}

.bj-urgent-toggle input[type="checkbox"] { accent-color: var(--red); cursor: pointer; }

.bj-dot-urgent {
  width:         7px;
  height:        7px;
  background:    var(--red);
  border-radius: 50%;
  display:       inline-block;
  animation:     bjUrgentPulse 1.4s ease-in-out infinite;
}

@keyframes bjUrgentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.40); }
  50%       { box-shadow: 0 0 0 5px rgba(192, 57, 43, 0); }
}

.bj-btn-alert {
  display:       inline-flex;
  align-items:   center;
  gap:           5px;
  padding:       7px 14px;
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  background:    var(--bg-card);
  font-size:     .74rem;
  font-weight:   700;
  color:         var(--navy);
  cursor:        pointer;
  white-space:   nowrap;
  transition:    all .15s;
}

.bj-btn-alert:hover { border-color: var(--navy); background: var(--navy-ghost); }

/* Priority tabs */
.bj-priority-row {
  display:     flex;
  align-items: center;
  gap:         6px;
  flex-wrap:   wrap;
  margin-bottom:12px;
}

.bj-priority-row-label {
  font-size:   .72rem;
  font-weight: 700;
  color:       var(--text-3);
  margin-right:2px;
  white-space: nowrap;
}

.bj-priority-tab {
  display:       inline-flex;
  align-items:   center;
  gap:           5px;
  padding:       6px 14px;
  border-radius: var(--r-full);
  font-size:     .74rem;
  font-weight:   600;
  color:         var(--text-2);
  cursor:        pointer;
  white-space:   nowrap;
  border:        1.5px solid var(--border);
  background:    var(--bg-card);
  transition:    all .16s;
}

.bj-priority-tab:hover   { color: var(--navy); border-color: var(--navy-light); background: var(--navy-ghost); }

.bj-priority-tab.active {
  background:  var(--navy);
  color:       #fff;
  border-color:var(--navy);
  box-shadow:  0 2px 8px rgba(32, 40, 112, 0.22);
}

.bj-priority-tab.p-hot.active    { background: #c0392b; border-color: #c0392b; }
.bj-priority-tab.p-fast.active   { background: var(--bj-green);  border-color: var(--bj-green);  }
.bj-priority-tab.p-remote.active { background: var(--navy-light); border-color: var(--navy-light); }
.bj-priority-tab.p-high.active   { background: var(--bj-orange); border-color: var(--bj-orange); }

/* Toolbar */
.bj-toolbar {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             10px;
  margin-bottom:   12px;
  flex-wrap:       wrap;
}

.bj-count          { font-size: .82rem; color: var(--text-3); }
.bj-count strong   { color: var(--bj-text); font-weight: 600; }
.bj-toolbar-right  { display: flex; align-items: center; gap: 7px; }

.bj-sort {
  padding:       7px 11px;
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size:     .76rem;
  color:         var(--bj-text);
  background:    var(--bg-card);
  cursor:        pointer;
  outline:       none;
  min-width:     160px;
}

.bj-mobile-filter-btn {
  display:       none;
  align-items:   center;
  gap:           5px;
  padding:       7px 14px;
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  background:    var(--bg-card);
  font-size:     .77rem;
  font-weight:   600;
  color:         var(--bj-text);
  cursor:        pointer;
}

/* Active chips */
.bj-active-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }

.bj-chip {
  display:       inline-flex;
  align-items:   center;
  gap:           5px;
  padding:       4px 10px;
  border-radius: var(--r-full);
  background:    var(--navy-ghost);
  border:        1px solid rgba(32, 40, 112, 0.12);
  color:         var(--navy);
  font-size:     .7rem;
  font-weight:   600;
}

.bj-chip button {
  background: none;
  border:     none;
  cursor:     pointer;
  color:      var(--navy);
  font-size:  .58rem;
  padding:    0;
  opacity:    .6;
  transition: opacity .14s;
}

.bj-chip button:hover { opacity: 1; }

/* AI dropdown */
.bj-ai-wrap { position: relative; }

.bj-ai-dropdown {
  display:       none;
  position:      absolute;
  top:           calc(100% + 6px);
  left:          0;
  right:         0;
  background:    var(--bg-card);
  border:        1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow:    var(--s-md);
  overflow:      hidden;
  z-index:       60;
}

.bj-ai-dropdown.show { display: block; }

.bj-ai-drop-label {
  font-size:      .64rem;
  font-weight:    700;
  color:          var(--text-4);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding:        9px 13px 4px;
}

.bj-ai-drop-item {
  display:     flex;
  align-items: center;
  gap:         8px;
  padding:     8px 13px;
  font-size:   .81rem;
  color:       var(--text-2);
  cursor:      pointer;
  transition:  background .12s;
}

.bj-ai-drop-item:hover { background: var(--bg-surface); }
.bj-ai-drop-item i     { font-size: .72rem; color: var(--text-3); width: 14px; }

/* AI thinking */
.bj-ai-thinking {
  display:       none;
  align-items:   center;
  gap:           7px;
  padding:       7px 12px;
  background:    var(--navy-ghost);
  border-radius: var(--r-sm);
  font-size:     .74rem;
  color:         var(--navy);
  font-weight:   600;
  margin-bottom: 10px;
}

.bj-ai-thinking.show { display: flex; }

.bj-ai-dot {
  width:         7px;
  height:        7px;
  border-radius: 50%;
  background:    var(--navy);
  animation:     bjAiDot 1.2s ease-in-out infinite;
}

.bj-ai-dot:nth-child(2) { animation-delay: .2s; }
.bj-ai-dot:nth-child(3) { animation-delay: .4s; }

@keyframes bjAiDot {
  0%, 80%, 100% { transform: scale(.6); opacity: .4; }
  40%            { transform: scale(1);  opacity: 1; }
}

/* CV result */
.bj-cv-result {
  background:    var(--green-bg);
  border:        1px solid rgba(22, 163, 74, 0.22);
  border-radius: var(--r-md);
  padding:       12px 14px;
  margin-top:    12px;
  display:       none;
}

.bj-cv-result.show        { display: block; }
.bj-cv-result-title       { font-size: .73rem; font-weight: 700; color: var(--bj-green); margin-bottom: 5px; }
.bj-cv-result p           { font-size: .79rem; color: var(--text-2); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════════════
   JOB TABLE
═══════════════════════════════════════════════════════════════════════ */
.bj-jobs-card {
  background:    var(--bg-card);
  border-radius: var(--r-lg);
  border:        1px solid var(--border);
  box-shadow:    var(--s-sm);
  overflow:      visible;
}

.bj-jobs-table { width: 100%; border-collapse: collapse; }

.bj-jobs-table thead tr {
  background:    var(--bg-surface);
  border-bottom: 1.5px solid var(--border);
}

.bj-jobs-table thead th {
  padding:        9px 10px;
  font-size:      .63rem;
  font-weight:    700;
  color:          var(--text-4);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align:     left;
  white-space:    nowrap;
}

.bj-jobs-table tbody tr {
  border-bottom: 1px solid var(--bg-surface);
  transition:    background .14s;
  opacity:       0;
  animation:     bjRowIn .32s ease forwards;
}

.bj-jobs-table tbody tr:last-child  { border-bottom: none; }
.bj-jobs-table tbody tr:hover       { background: rgba(32, 40, 112, 0.03); }

.bj-jobs-table tbody tr:nth-child(1)   { animation-delay: .04s; }
.bj-jobs-table tbody tr:nth-child(2)   { animation-delay: .08s; }
.bj-jobs-table tbody tr:nth-child(3)   { animation-delay: .12s; }
.bj-jobs-table tbody tr:nth-child(4)   { animation-delay: .16s; }
.bj-jobs-table tbody tr:nth-child(5)   { animation-delay: .20s; }
.bj-jobs-table tbody tr:nth-child(6)   { animation-delay: .24s; }
.bj-jobs-table tbody tr:nth-child(n+7) { animation-delay: .28s; }

@keyframes bjRowIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0);   }
}

.bj-jobs-table td { padding: 6px 7px; vertical-align: middle; }

/* Column widths now set via inline <th style="width:X%"> in blade templates
   (removed nth-child rules — they conflicted with conditional Commission/AI-Match columns) */
.bj-jobs-table { table-layout: auto; }

/* Job title col */
.bj-jt-top { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 3px; }

.bj-jt-link {
  font-family:  'Syne', sans-serif;
  font-size:    .92rem;
  font-weight:  700;
  color:        var(--bj-text);
  transition:   color .14s;
  line-height:  1.3;
}

.bj-jt-link:hover { color: var(--navy); }

.bj-jt-company {
  font-size:   .73rem;
  color:       var(--text-3);
  margin-bottom:4px;
  display:     flex;
  align-items: center;
  gap:         4px;
  flex-wrap:   wrap;
}

.bj-jt-salary { font-size: .76rem; font-weight: 700; color: var(--bj-green); margin-bottom: 5px; }

/* Tags */
.bj-tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }

.bj-tag {
  display:       inline-flex;
  align-items:   center;
  gap:           3px;
  padding:       2px 8px;
  border-radius: var(--r-full);
  font-size:     .64rem;
  font-weight:   600;
}

.bj-tag-urgent   { background: rgba(192, 57, 43, 0.10); color: #a02020;          }
.bj-tag-remote   { background: rgba(22, 163, 74, 0.10); color: var(--bj-green);     }
.bj-tag-hybrid   { background: rgba(180, 83, 9, 0.10);  color: var(--amber);     }
.bj-tag-onsite   { background: var(--navy-ghost);        color: var(--navy);      }
.bj-tag-default  { background: var(--bg-surface);        color: var(--text-2);    }
.bj-tag-contract { background: rgba(32,40,112,0.09);     color: var(--navy-light);}

/* HOT badge */
.bj-hot-badge {
  display:       inline-flex;
  align-items:   center;
  padding:       2px 8px;
  background:    linear-gradient(135deg, #c0392b, #e74c3c);
  color:         #fff;
  font-size:     .58rem;
  font-weight:   800;
  border-radius: var(--r-full);
  letter-spacing:.04em;
  animation:     bjHotPulse 2s ease-in-out infinite;
  vertical-align:middle;
}

@keyframes bjHotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.3); }
  50%       { box-shadow: 0 0 0 5px rgba(192, 57, 43, 0); }
}

.bj-new-badge {
  display:       inline-flex;
  align-items:   center;
  padding:       2px 7px;
  background:    var(--bj-green);
  color:         #fff;
  font-size:     .57rem;
  font-weight:   700;
  border-radius: var(--r-full);
  letter-spacing:.04em;
  vertical-align:middle;
  animation:     bjNewPop .4s ease both;
}

@keyframes bjNewPop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Signals */
.bj-signal-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

.bj-signal {
  display:       inline-flex;
  align-items:   center;
  gap:           3px;
  padding:       2px 8px;
  border-radius: var(--r-full);
  font-size:     .62rem;
  font-weight:   600;
  border:        1px solid;
}

.bj-signal-hot      { background: rgba(224,120,56,.07); color: var(--bj-orange); border-color: rgba(224,120,56,.22); }
.bj-signal-fast     { background: rgba(22,163,74,.07);  color: var(--bj-green);  border-color: rgba(22,163,74,.20);  }
.bj-signal-priority { background: rgba(180,83,9,.07);   color: var(--amber);  border-color: rgba(180,83,9,.18);   }

/* Description col */
.bj-jd-text {
  font-size:             .76rem;
  color:                 var(--text-3);
  line-height:           1.6;
  margin-bottom:         5px;
  display:               -webkit-box;
  -webkit-line-clamp:    3;
  -webkit-box-orient:    vertical;
  overflow:              hidden;
}

.bj-jd-view {
  font-size:   .7rem;
  font-weight: 600;
  color:       var(--navy);
  transition:  color .14s;
  display:     inline-flex;
  align-items: center;
  gap:         3px;
}

.bj-jd-view:hover { text-decoration: underline; }

/* Commission col */
.bj-comm-amt {
  font-family:  'Syne', sans-serif;
  font-size:    1.06rem;
  font-weight:  800;
  color:        var(--bj-orange);
  line-height:  1.1;
}

.bj-comm-sub { font-size: .63rem; color: var(--text-3); margin-top: 2px; }
.bj-openings { font-size: .64rem; color: var(--bj-green);  margin-top: 4px; font-weight: 700; }

/* Deadline col */
.bj-dl-box {
  background:    var(--bg-surface);
  border:        1px solid var(--border);
  border-radius: var(--r-sm);
  padding:       8px 10px;
  text-align:    center;
  min-width:     90px;
  display:       inline-block;
}

.bj-dl-box small {
  font-size:      .6rem;
  color:          var(--text-3);
  display:        block;
  margin-bottom:  3px;
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bj-dl-timer {
  font-family:    'Syne', sans-serif;
  font-size:      .82rem;
  font-weight:    800;
  color:          var(--navy);
  letter-spacing: .02em;
  line-height:    1.2;
}

.bj-dl-date { font-size: .62rem; color: var(--text-4); margin-top: 2px; display: block; }

.bj-dl-box.critical { background: rgba(192,57,43,.06); border-color: rgba(192,57,43,.22); }
.bj-dl-box.critical .bj-dl-timer { color: var(--red); animation: bjTimerBlink 1s ease-in-out infinite; }

@keyframes bjTimerBlink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.bj-dl-open {
  display:       inline-flex;
  align-items:   center;
  gap:           4px;
  padding:       5px 11px;
  background:    rgba(22, 163, 74, 0.09);
  color:         var(--bj-green);
  border-radius: var(--r-full);
  font-size:     .72rem;
  font-weight:   700;
  border:        1px solid rgba(22, 163, 74, 0.18);
}

.bj-dl-open::before { content: '●'; font-size: .5rem; }

/* Share row */
.bj-share-row {
  display:        flex;
  flex-direction: row;
  flex-wrap:      nowrap;
  gap:            5px;
  align-items:    center;
}

.bj-share-btn {
  width:           30px;
  height:          30px;
  border-radius:   var(--r-sm);
  background:      var(--bg-surface);
  color:           var(--text-3);
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-size:       .73rem;
  border:          1px solid var(--border);
  cursor:          pointer;
  transition:      background .14s, color .14s, transform .14s, border-color .14s;
  flex-shrink:     0;
}

.bj-share-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.08); }

/* Action buttons */
.bj-btn-apply {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             5px;
  padding:         8px 12px;
  background:      var(--navy);
  color:           #fff;
  border:          none;
  border-radius:   var(--r-sm);
  font-size:       .76rem;
  font-weight:     700;
  cursor:          pointer;
  transition:      background .18s, transform .14s;
  margin-bottom:   6px;
  width:           100%;
  text-decoration: none;
  text-align:      center;
}

.bj-btn-apply:hover { background: var(--navy-mid); transform: translateY(-1px); }

.bj-btn-refer {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             5px;
  padding:         8px 12px;
  background:      var(--orange-ghost);
  color:           var(--bj-orange);
  border:          1.5px solid rgba(224, 120, 56, 0.28);
  border-radius:   var(--r-sm);
  font-size:       .76rem;
  font-weight:     700;
  cursor:          pointer;
  transition:      background .18s, border-color .18s, transform .14s;
  width:           100%;
  text-decoration: none;
  text-align:      center;
}

.bj-btn-refer:hover { background: var(--orange-ghost-hv); border-color: rgba(224,120,56,.5); transform: translateY(-1px); }

/* Candidate overrides */
.candidate-jobs-page .bj-hero,
.candidate-jobs-page .bj-cv-strip          { display: none !important; }
.candidate-jobs-page .bj-btn-refer         { display: none !important; }
.candidate-jobs-page .bj-btn-apply         { width: 100% !important; margin-bottom: 6px !important; }

.bj-btn-self-refer {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             5px;
  padding:         7px 12px;
  background:      rgba(22, 163, 74, 0.10);
  color:           var(--bj-green);
  border:          1.5px solid rgba(22, 163, 74, 0.30);
  border-radius:   var(--r-sm);
  font-size:       .74rem;
  font-weight:     700;
  cursor:          pointer;
  width:           100%;
  text-decoration: none;
  text-align:      center;
  transition:      all .15s;
  margin-top:      5px;
}

.bj-btn-self-refer:hover { background: rgba(22, 163, 74, 0.18); border-color: rgba(22, 163, 74, 0.50); transform: translateY(-1px); }

/* AI Match badge */
.bj-ai-match-badge {
  display:       inline-flex;
  align-items:   center;
  gap:           4px;
  padding:       3px 10px;
  background:    var(--navy-ghost);
  color:         var(--navy);
  border:        1px solid rgba(32, 40, 112, 0.18);
  border-radius: 100px;
  font-size:     .65rem;
  font-weight:   700;
  margin-top:    5px;
}

.bj-ai-match-badge.high   { background: rgba(22,163,74,.10); color: var(--bj-green); border-color: rgba(22,163,74,.25); }
.bj-ai-match-badge.medium { background: rgba(180,83,9,.09);  color: var(--amber); border-color: rgba(180,83,9,.22);  }
.bj-ai-match-badge.low    { background: rgba(192,57,43,.08); color: var(--red);   border-color: rgba(192,57,43,.2);  }

/* Match bar */
.bj-match-bar-wrap   { margin-top: 6px; display: flex; align-items: center; gap: 7px; }
.bj-match-bar-track  { flex: 1; height: 4px; background: var(--navy-ghost); border-radius: 100px; overflow: hidden; }
.bj-match-bar-fill   { height: 100%; border-radius: 100px; transition: width .6s ease; }
.bj-match-bar-fill.high   { background: var(--bj-green); }
.bj-match-bar-fill.medium { background: var(--amber); }
.bj-match-bar-fill.low    { background: var(--red);   }
.bj-match-bar-pct    { font-size: .65rem; font-weight: 700; flex-shrink: 0; min-width: 28px; text-align: right; }

/* ═══════════════════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════════════════ */
.bj-empty          { text-align: center; padding: 60px 24px; }
.bj-empty-icon     { font-size: 2.6rem; margin-bottom: 14px; opacity: .35; }
.bj-empty h3       { font-size: .96rem; font-weight: 700; color: var(--bj-text); margin-bottom: 6px; }
.bj-empty p        { font-size: .79rem; color: var(--text-3); margin-bottom: 17px; }

.bj-btn-clear {
  display:       inline-block;
  padding:       9px 22px;
  background:    var(--navy);
  color:         #fff;
  border-radius: var(--r-sm);
  font-size:     .79rem;
  font-weight:   700;
  transition:    background .18s;
}

.bj-btn-clear:hover { background: var(--navy-mid); }

/* ═══════════════════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════════════════ */
.bj-pag-row {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         14px 17px;
  background:      var(--bg-surface);
  border-top:      1px solid var(--border);
  border-radius:   0 0 var(--r-lg) var(--r-lg);
  flex-wrap:       wrap;
  gap:             8px;
}

.bj-pag-info { font-size: .73rem; color: var(--text-3); }
.bj-pag-btns { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }

.bj-pag-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  min-width:       34px;
  height:          34px;
  padding:         0 8px;
  border-radius:   var(--r-sm);
  border:          1.5px solid var(--border);
  background:      var(--bg-card);
  color:           var(--bj-text);
  font-size:       .76rem;
  font-weight:     600;
  cursor:          pointer;
  text-decoration: none;
  transition:      all .14s;
}

.bj-pag-btn:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); background: var(--navy-ghost); }
.bj-pag-btn.active                { background: var(--navy); border-color: var(--navy); color: #fff; }
.bj-pag-btn:disabled              { opacity: .36; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════════════
   SEO HUB & FAQ
═══════════════════════════════════════════════════════════════════════ */
.bj-seo-hub {
  background:    var(--bg-card);
  border:        1px solid var(--border);
  border-radius: var(--r-lg);
  padding:       22px;
  margin-top:    22px;
  box-shadow:    var(--s-xs);
}

.bj-seo-hub-title { font-size: .84rem; font-weight: 700; color: var(--bj-text); margin-bottom: 10px; }
.bj-seo-link-row  { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }

.bj-seo-link {
  padding:       4px 12px;
  border-radius: var(--r-full);
  background:    var(--bg-surface);
  color:         var(--navy);
  font-size:     .71rem;
  font-weight:   600;
  transition:    background .14s;
}

.bj-seo-link:hover      { background: var(--bg-sunken); }
.bj-seo-link.cta        { background: var(--navy); color: #fff; }
.bj-seo-link.cta:hover  { background: var(--navy-mid); }

.bj-faq-item { border-top: 1px solid var(--bg-surface); padding: 10px 0; }

.bj-faq-q {
  display:     flex;
  justify-content:space-between;
  align-items: center;
  font-size:   .79rem;
  font-weight: 700;
  color:       var(--bj-text);
  cursor:      pointer;
  gap:         10px;
  user-select: none;
}

.bj-faq-q i { font-size: .66rem; color: var(--text-3); transition: transform .2s; flex-shrink: 0; }
.bj-faq-item.open .bj-faq-q i { transform: rotate(180deg); }

.bj-faq-a {
  display:    none;
  font-size:  .77rem;
  color:      var(--text-3);
  line-height:1.6;
  padding-top:8px;
}

.bj-faq-item.open .bj-faq-a { display: block; }

/* ═══════════════════════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════════════════════ */
.bj-modal-overlay {
  display:         none;
  position:        fixed;
  inset:           0;
  background:      rgba(32, 40, 112, 0.54);
  backdrop-filter: blur(7px);
  z-index:         1000;
  align-items:     center;
  justify-content: center;
  padding:         20px;
}

.bj-modal-overlay.active { display: flex; }

.bj-modal {
  background:    var(--bg-card);
  border-radius: var(--r-xl);
  padding:       34px 28px;
  max-width:     400px;
  width:         100%;
  text-align:    center;
  box-shadow:    var(--s-lg);
  border:        1px solid var(--border);
  animation:     bjModalIn .24s ease both;
}

@keyframes bjModalIn {
  from { opacity: 0; transform: scale(.93) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.bj-modal-emoji { font-size: 2.2rem; margin-bottom: 9px; }
.bj-modal h3    { font-size: 1.1rem; font-weight: 800; color: var(--bj-text); margin-bottom: 6px; }
.bj-modal > p   { font-size: .81rem; color: var(--text-3); margin-bottom: 18px; line-height: 1.56; }

.bj-modal-earn-preview {
  display:         flex;
  justify-content: center;
  gap:             20px;
  background:      var(--orange-ghost);
  border:          1px solid rgba(224, 120, 56, 0.18);
  border-radius:   var(--r-md);
  padding:         11px 16px;
  margin-bottom:   18px;
}

.bj-mep-val { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 800; color: var(--bj-orange); display: block; }
.bj-mep-lbl { font-size: .64rem; color: var(--text-3); }

.bj-modal-actions { display: flex; flex-direction: column; gap: 8px; }

.bj-modal-actions a {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             7px;
  padding:         12px 18px;
  border-radius:   var(--r-md);
  font-size:       .84rem;
  font-weight:     700;
  transition:      all .17s;
}

.bj-modal-partner       { background: var(--bj-orange) !important; color: #fff !important; }
.bj-modal-partner:hover { background: var(--orange-soft) !important; transform: translateY(-1px); }
.bj-modal-signin        { background: var(--bg-surface) !important; color: var(--navy) !important; }
.bj-modal-signin:hover  { background: var(--bg-sunken) !important; }

.bj-modal-close {
  margin-top:    14px;
  font-size:     .73rem;
  color:         var(--text-4);
  background:    none;
  border:        none;
  cursor:        pointer;
  padding:       4px 10px;
  border-radius: var(--r-xs);
  transition:    color .14s;
}

.bj-modal-close:hover { color: var(--text-2); }

/* CV Modal */
.bj-cv-modal    { max-width: 460px; text-align: left; }
.bj-cv-modal h3,
.bj-cv-modal > p { text-align: center; }

.bj-cv-drop-zone {
  border:        2px dashed var(--border);
  border-radius: var(--r-md);
  padding:       28px 18px;
  text-align:    center;
  cursor:        pointer;
  transition:    border-color .18s, background .18s;
  margin-bottom: 16px;
}

.bj-cv-drop-zone:hover,
.bj-cv-drop-zone.drag-over { border-color: var(--bj-orange); background: var(--orange-ghost); }

.bj-cv-drop-zone i  { font-size: 1.9rem; color: var(--bj-orange); margin-bottom: 8px; display: block; }
.bj-cv-drop-zone h4 { font-size: .87rem; font-weight: 700; color: var(--bj-text); margin-bottom: 4px; }
.bj-cv-drop-zone p  { font-size: .74rem; color: var(--text-3); }
.bj-cv-browse       { color: var(--bj-orange); font-weight: 600; }

.bj-cv-formats      { display: flex; justify-content: center; gap: 7px; margin-top: 10px; flex-wrap: wrap; }

.bj-cv-format-tag {
  padding:       2px 9px;
  border-radius: var(--r-full);
  background:    var(--bg-surface);
  color:         var(--text-2);
  font-size:     .66rem;
  font-weight:   600;
}

.bj-cv-parse-features { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; }

.bj-cv-feature   { display: flex; align-items: flex-start; gap: 5px; font-size: .74rem; color: var(--text-2); }
.bj-cv-feature i { color: var(--bj-green); font-size: .69rem; margin-top: 2px; flex-shrink: 0; }

.bj-btn-parse {
  width:           100%;
  padding:         13px;
  background:      var(--navy);
  color:           #fff;
  border:          none;
  border-radius:   var(--r-md);
  font-size:       .87rem;
  font-weight:     700;
  cursor:          pointer;
  transition:      background .18s;
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             7px;
}

.bj-btn-parse:hover    { background: var(--navy-mid); }
.bj-btn-parse:disabled { background: var(--text-4); cursor: not-allowed; }

/* Alert Modal */
.bj-alert-modal     { max-width: 380px; text-align: left; }
.bj-alert-modal h3,
.bj-alert-modal > p { text-align: center; }

.bj-alert-field       { margin-bottom: 11px; }
.bj-alert-field label { display: block; font-size: .72rem; font-weight: 700; color: var(--text-2); margin-bottom: 5px; }

.bj-alert-input {
  width:         100%;
  padding:       9px 12px;
  border:        1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size:     .82rem;
  color:         var(--bj-text);
  background:    var(--bg-card);
  outline:       none;
  transition:    border-color .18s;
}

.bj-alert-input:focus { border-color: var(--navy-light); }

/* Candidate browse-jobs layout fix */
.content:has(.bj-page) { padding: 0 !important; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤1100px
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --sidebar-w: 200px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile ≤860px
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .bj-body { grid-template-columns: 1fr; padding: 14px 14px 60px; }

  .bj-sidebar {
    display:       none;
    position:      fixed;
    left:          0;
    top:           0;
    height:        100%;
    width:         80%;
    max-width:     290px;
    z-index:       997;
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    box-shadow:    4px 0 32px rgba(32, 40, 112, 0.18);
    max-height:    100vh;
  }

  .bj-sidebar.active       { display: block; }
  .bj-mobile-filter-btn    { display: inline-flex; }

  /* Table → card mode */
  .bj-jobs-table thead      { display: none; }

  .bj-jobs-table tbody tr {
    display:               grid;
    grid-template-columns: 1fr auto;
    gap:                   6px 12px;
    padding:               14px;
    border-bottom:         1.5px solid var(--bg-surface);
  }

  .bj-jobs-table td                        { padding: 0; }
  .bj-jobs-table td:nth-child(1)           { grid-column: 1; }
  .bj-jobs-table td:nth-child(2)           { grid-column: 1 / -1; }
  .bj-jobs-table td:nth-child(3)           { grid-column: 2; grid-row: 1; text-align: right; }
  .bj-jobs-table td:nth-child(4)           { grid-column: 1 / -1; }
  .bj-jobs-table td:nth-child(5)           { grid-column: 1 / -1; }
  .bj-jobs-table td:nth-child(6)           { grid-column: 1 / -1; display: flex; gap: 7px; }
  .bj-jobs-table td:nth-child(7)           { grid-column: 1 / -1; }
  .bj-jobs-table td:nth-child(8)           { grid-column: 1 / -1; }
  .bj-jobs-table td:nth-child(9)           { grid-column: 1 / -1; }
  .bj-btn-apply, .bj-btn-refer             { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile ≤600px
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .bj-hero           { padding: 30px 14px 26px; }
  .bj-search-box     { flex-direction: column; padding: 9px; }
  .bj-sf, .bj-btn-search { width: 100%; justify-content: center; }
  .bj-filter-bar     { flex-direction: column; align-items: stretch; }
  .bj-filter-search,
  .bj-filter-loc     { min-width: auto; }
  .bj-priority-row   { overflow-x: auto; padding-bottom: 4px; }
  .bj-modal          { padding: 22px 16px; }
  .bj-cv-parse-features { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .bj-stats-strip .bj-stat:nth-child(n+4) { display: none; }
}
