
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue-50: #e8f0fe;
    --blue-800: #0c447c;
    --blue-600: #185fa5;
    --blue-400: #378add;
    --green-50: #eaf3de;
    --green-800: #27500a;
    --green-600: #3b6d11;
    --amber-50: #faeeda;
    --amber-800: #633806;
    --amber-600: #854f0b;
    --pink-50: #fbeaf0;
    --pink-800: #72243e;
    --pink-600: #993556;
    --nav-bg: #1a1a2e;
    --body-bg: #f2f4f7;
    --card-bg: #ffffff;
    --text-primary: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --accent: #3a5bd9;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--body-bg);
    color: var(--text-primary);
    min-height: 100vh;
  }

  /* NAV */
  nav {
    background: var(--nav-bg);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;

  }
  .nav-logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
  }
  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  .nav-links a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.15s;
  }
  .nav-links a:hover, .nav-links a.active {
    color: #fff;
  }
  .nav-links a.active {
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    display: flex;
    align-items: center;
  }
  .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 4px;
  }
  .mobile-menu {
    display: none;
    background: var(--nav-bg);
    padding: 16px 24px;
    flex-direction: column;
    gap: 0;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
  }
  .mobile-menu a.active { color: #fff; font-weight: 600; }

  /* HERO HEADER */
  .page-header {
    background: var(--card-bg);
    padding: 20px 24px;
    border-bottom: 0.5px solid var(--border);
  }

  /* SEARCH BAR */
  .search-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .search-input-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
  }
  .search-input-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
  }
  .search-input-wrap input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    background: #f9fafb;
    color: var(--text-primary);
    transition: border-color 0.15s;
  }
  .search-input-wrap input:focus { border-color: var(--accent); background: #fff; }
  .search-input-wrap input::placeholder { color: var(--text-light); }

  /* FILTERS BAR */
  .filters-bar {
    background: var(--card-bg);
    padding: 10px 24px;
    border-bottom: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filters-bar::-webkit-scrollbar { display: none; }
  .filter-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
  }
  .filter-pill:hover { background: #f9fafb; }
  .filter-pill.active { background: var(--nav-bg); color: #fff; border-color: var(--nav-bg); }
  .filter-badge {
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 16px; height: 16px;
    font-size: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }
  .result-count {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
  }

  /* Filter pill bar is mobile-only; filter sidebar is desktop-only (toggled in RESPONSIVE block below) */
  .filters-bar { display: none; }

  /* MAIN LAYOUT */
  .main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
  }

  /* JOB CARDS */
  .jobs-list { display: flex; flex-direction: column; gap: 12px; }

  .job-card {
    background: var(--card-bg);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    transition: border-color 0.15s;
    cursor: pointer;
  }
  .job-card:hover { border-color: #c0c7d4; }

  .job-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
  }
  .job-logo {
    width: 46px; height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .job-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
  .job-company { font-size: 13px; color: var(--text-muted); }

  .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
  }
  .job-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
  }
  .job-meta-item svg { flex-shrink: 0; }

  .job-salary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .salary-tag {
    font-size: 13px;
    font-weight: 600;
    background: var(--green-50);
    color: var(--green-800);
    border-radius: 6px;
    padding: 4px 10px;
  }
  .workmode-tag {
    font-size: 13px;
    font-weight: 600;
    background: #f4f0f8;
    color: #4a1a6e;
    border-radius: 6px;
    padding: 4px 10px;
  }

  .job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .tag {
    font-size: 11px;
    border-radius: 6px;
    padding: 3px 10px;
    font-weight: 500;
  }
  .tag-blue  { background: var(--blue-50);  color: var(--blue-800);  }
  .tag-green { background: var(--green-50); color: var(--green-800); }
  .tag-amber { background: var(--amber-50); color: var(--amber-800); }
  .tag-pink  { background: var(--pink-50);  color: var(--pink-800);  }

  .job-footer {
    border-top: 0.5px solid var(--border);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .job-posted { font-size: 12px; color: var(--accent); font-weight: 500; }
  .job-deadline {
    font-size: 11px;
    background: #fff3cd;
    color: #856404;
    border-radius: 6px;
    padding: 2px 8px;
    font-weight: 500;
  }
  .job-actions { display: flex; gap: 12px; align-items: center; }
  .apply-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
  }
  .apply-btn:hover { opacity: 0.88; }

  /* PAGINATION */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }
  .page-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: background 0.15s;
  }
  .page-btn:hover { background: #f3f4f6; }
  .page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }

  /* FILTER SIDEBAR (desktop) */
  .filters-sidebar {
    background: var(--card-bg);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 24px;
  }
  .fs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 14px;
    border-bottom: 0.5px solid var(--border);
  }
  .fs-section { border-bottom: 0.5px solid var(--border); padding-bottom: 16px; }
  .fs-section:last-child { border-bottom: none; padding-bottom: 0; }
  .fs-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    margin-bottom: 10px;
  }
  .fs-section-title svg { color: var(--text-light); flex-shrink: 0; transition: transform 0.15s; }
  .fs-section.collapsed .fs-section-title svg { transform: rotate(-90deg); }
  .fs-section.collapsed .fs-section-body { display: none; }
  .fs-options { display: flex; flex-direction: column; gap: 9px; }
  .fs-radio, .fs-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
  }
  .fs-radio input, .fs-checkbox input { accent-color: var(--accent); cursor: pointer; width: 14px; height: 14px; }
  .fs-search-mini {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: #f9fafb;
    color: var(--text-primary);
    outline: none;
    margin-bottom: 10px;
  }
  .fs-salary-label { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
  .fs-salary-slider {
    position: relative;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 14px 4px 6px;
  }
  .fs-salary-slider .fs-slider-fill {
    position: absolute;
    left: 0;
    height: 4px;
    background: var(--green-600);
    border-radius: 2px;
    width: 0%;
  }
  .fs-salary-slider .fs-slider-handle {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px; height: 16px;
    background: var(--green-600);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    cursor: grab;
    touch-action: none;
  }
  .fs-salary-slider.dragging .fs-slider-handle { cursor: grabbing; }
  .fs-salary-value { color: var(--text-primary); }
  .fs-options .fs-extra-option { display: none; }
  .fs-options.show-more .fs-extra-option { display: flex; }
  .fs-salary-range { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light); }
  .fs-show-more {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
  }

  /* BOTTOM NAV (mobile only) */
  .bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 0.5px solid var(--border);
    z-index: 100;
    padding: 8px 0 12px;
  }
  .bottom-nav-inner {
    display: flex;
    justify-content: space-around;
  }
  .bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 10px;
    padding: 0 12px;
    cursor: pointer;
    background: none;
    border: none;
  }
  .bnav-item.active { color: var(--accent); }
  .bnav-item svg { width: 22px; height: 22px; }

  /* MOBILE FILTER MODAL */
  .filter-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 26, 0.55);
    z-index: 200;
  }
  .filter-modal-overlay.open { display: block; }
  .filter-modal {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 0.5px solid var(--border);
    flex-shrink: 0;
  }
  .filter-modal-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
  .filter-modal-close {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--nav-bg);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }
  .filter-modal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .filter-modal-tabs {
    width: 36%;
    background: #f3f4f6;
    overflow-y: auto;
    flex-shrink: 0;
  }
  .filter-modal-tab {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 14px;
    font-size: 13.5px;
    color: var(--text-primary);
    cursor: pointer;
    border-left: 3px solid transparent;
  }
  .filter-modal-tab.active {
    background: #fff;
    font-weight: 700;
    border-left-color: var(--green-600);
  }
  .filter-modal-panels {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
  }
  .filter-modal-panel { display: none; }
  .filter-modal-panel.active { display: block; }
  .filter-modal-panel .fs-options { gap: 16px; }
  .filter-modal-panel .fs-radio,
  .filter-modal-panel .fs-checkbox { font-size: 14.5px; color: var(--text-primary); gap: 12px; }
  .filter-modal-panel .fs-radio input,
  .filter-modal-panel .fs-checkbox input { width: 18px; height: 18px; }
  .filter-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-top: 0.5px solid var(--border);
    flex-shrink: 0;
  }
  .filter-modal-clear {
    background: none;
    border: none;
    color: var(--green-600);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
  }
  .filter-modal-apply {
    background: var(--green-600);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 38px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
  }

  /* RESPONSIVE */
  @media (max-width: 720px) {
    nav { padding: 0 16px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .page-header { padding: 16px; }
    .filters-bar { display: flex; padding: 10px 16px; }
    .filters-sidebar { display: none; }
    .main { grid-template-columns: 1fr; max-width: 800px; padding: 16px 12px 80px; }
    .bottom-nav { display: block; }
    .result-count { display: none; }
  }
  @media (max-width: 480px) {
    .job-card { padding: 14px 14px; }
    .job-meta { gap: 8px; }
  }

  /* ===== WordPress integration additions ===== */
  a.job-card { display: block; text-decoration: none; color: inherit; }
  a.job-card:hover { text-decoration: none; }

  .fs-clear-all {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
  }
  .fs-header { display: flex; align-items: center; }

  .jobs-empty {
    background: var(--card-bg);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
  }
  .jobs-loading {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 16px 0;
  }
  .fs-empty { font-size: 12px; color: var(--text-light); }
  .page-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

  /* ===== Theme-wrapper reset: force correct layout inside any theme ===== */
  .studmob-jobs-wrap {
    width: 100%;
    background: var(--body-bg);
  }
  /* Full-bleed search header + filter bar, even if the theme centers content */
  .studmob-jobs-wrap .page-header,
  .studmob-jobs-wrap .filters-bar {
    width: 100%;
  }
  /* Search bar: constrain to same max width as main, centered, full row */
  .studmob-jobs-wrap .page-header {
    display: flex;
    justify-content: center;
  }
  .studmob-jobs-wrap .page-header .search-bar {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
  }
  .studmob-jobs-wrap .search-input-wrap {
    width: 100%;
    flex: 1 1 100%;
  }
  /* Make the whole jobs block ignore narrow theme content wrappers */
  .studmob-jobs-wrap .main {
    width: 100%;
  }
  @media (max-width: 720px) {
    .studmob-jobs-wrap .page-header .search-bar { padding: 0 16px; }
  }

  /* ============================================================
     POLISH FIXES — search icon, mobile pills, modal panels, close
     ============================================================ */

  /* 1) Search icon must be sized so it never overlaps placeholder */
  .search-input-wrap svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
  }
  .search-input-wrap input {
    padding-left: 42px;
    height: 46px;
    font-size: 15px;
  }

  /* Fix tiny inline search icons inside filter mini-search boxes */
  .fs-search-mini { position: relative; }

  /* 2) MOBILE HORIZONTAL FILTER PILLS — premium, smaller, own white bar */
  @media (max-width: 720px) {
    .studmob-jobs-wrap .filters-bar {
      background: #ffffff;
      box-shadow: 0 1px 0 rgba(16,24,40,0.04), 0 2px 8px rgba(16,24,40,0.04);
      padding: 10px 14px;
      gap: 7px;
      position: sticky;
      top: 0;
      z-index: 50;
    }
    .filter-pill {
      padding: 6px 12px;
      font-size: 12.5px;
      font-weight: 600;
      letter-spacing: -0.1px;
      border-radius: 18px;
      border: 1px solid #e7e9ee;
      color: #344054;
      box-shadow: 0 1px 1px rgba(16,24,40,0.03);
    }
    .filter-pill svg { width: 12px; height: 12px; opacity: 0.7; }
    .filter-pill.active {
      background: var(--nav-bg);
      color: #fff;
      border-color: var(--nav-bg);
      box-shadow: 0 2px 6px rgba(26,26,46,0.25);
    }
    .filter-pill.active svg { opacity: 1; }
    .filter-badge {
      background: var(--accent);
      width: 15px; height: 15px;
      font-size: 8.5px;
    }
  }

  /* 3) MODAL: make close (X) clearly visible */
  .filter-modal-close {
    width: 32px; height: 32px;
    background: #f2f4f7;
    color: #1a1a2e;
    border: 1px solid #e5e7eb;
  }
  .filter-modal-close svg { width: 15px; height: 15px; stroke: #1a1a2e; }

  /* 4) MODAL: ensure the active panel + its options actually render */
  .filter-modal-panels .filter-modal-panel { display: none; }
  .filter-modal-panels .filter-modal-panel.active { display: block !important; }
  .filter-modal-panel .fs-options { display: flex; flex-direction: column; }
  .filter-modal-panel .fs-checkbox,
  .filter-modal-panel .fs-radio {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 0;
    color: #1a1a2e;
  }
  /* When a list has options, reveal the "extra" ones inside the modal too */
  .filter-modal-panel .fs-options.show-more .fs-extra-option { display: flex; }

  /* 5) MODAL header title weight + spacing */
  .filter-modal-title { font-size: 16px; }

  /* 6) Modal panel mini-search box spacing */
  .filter-modal-panel .fs-search-mini { margin-bottom: 12px; }

  /* ============================================================
     FINAL OVERRIDES (highest specificity — search icon + pills)
     ============================================================ */

  /* SEARCH ICON — lock size and position so it never touches text */
  .studmob-jobs-wrap .page-header .search-input-wrap { position: relative; }
  .studmob-jobs-wrap .page-header .search-input-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    pointer-events: none;
    color: var(--text-light);
  }
  .studmob-jobs-wrap .page-header .search-input-wrap input {
    padding-left: 46px;   /* clears the 16px icon + 16px offset comfortably */
    height: 48px;
    font-size: 15px;
  }

  /* MOBILE PILLS — premium, compact */
  @media (max-width: 720px) {
    .studmob-jobs-wrap .filters-bar {
      background: #fff;
      padding: 9px 14px;
      gap: 8px;
      box-shadow: 0 1px 2px rgba(16,24,40,0.05);
      position: sticky;
      top: 0;
      z-index: 50;
    }
    .studmob-jobs-wrap .filters-bar .filter-pill {
      padding: 5px 12px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.4;
      letter-spacing: -0.15px;
      border-radius: 100px;
      border: 1px solid #e6e8ee;
      background: #fff;
      color: #475467;
      box-shadow: none;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
    .studmob-jobs-wrap .filters-bar .filter-pill svg {
      width: 11px;
      height: 11px;
      opacity: 0.65;
    }
    .studmob-jobs-wrap .filters-bar .filter-pill.active {
      background: var(--nav-bg);
      color: #fff;
      border-color: var(--nav-bg);
      box-shadow: 0 2px 8px rgba(26,26,46,0.22);
    }
    .studmob-jobs-wrap .filters-bar .filter-pill.active svg { opacity: 1; }
    .studmob-jobs-wrap .filters-bar .filter-badge {
      background: var(--accent);
      width: 16px; height: 16px;
      font-size: 9px;
    }
  }

  /* ============================================================
     PREMIUM SEARCH BAR + UNIFIED HEADER SURFACE (apna-style)
     ============================================================ */

  /* One continuous white surface: header (search) flows into pills,
     no grey gap between them. */
  .studmob-jobs-wrap .page-header {
    background: #fff;
    padding: 18px 24px 14px;
    border-bottom: none;
  }
  .studmob-jobs-wrap .page-header .search-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Premium search field — rounded pill, refined border, soft shadow, focus ring */
  .studmob-jobs-wrap .search-input-wrap input {
    height: 52px;
    padding-left: 50px;
    padding-right: 18px;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    border: 1.5px solid #e4e7ec;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
    transition: border-color 0.18s, box-shadow 0.18s;
  }
  .studmob-jobs-wrap .search-input-wrap input::placeholder {
    color: #98a2b3;
    font-weight: 400;
  }
  .studmob-jobs-wrap .search-input-wrap input:hover {
    border-color: #d0d5dd;
  }
  .studmob-jobs-wrap .search-input-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(58,91,217,0.12);
  }
  .studmob-jobs-wrap .search-input-wrap svg {
    left: 18px;
    width: 18px;
    height: 18px;
    color: #667085;
  }

  /* DESKTOP: keep the search + sidebar layout, just refine surface */
  @media (min-width: 721px) {
    .studmob-jobs-wrap .filters-bar { display: none; } /* pills are mobile-only */
  }

  /* MOBILE: search + pills share ONE seamless white surface, no grey gap */
  @media (max-width: 720px) {
    .studmob-jobs-wrap .page-header {
      padding: 14px 16px 10px;
    }
    .studmob-jobs-wrap .page-header .search-bar {
      padding: 0;
    }
    .studmob-jobs-wrap .search-input-wrap input {
      height: 48px;
      border-radius: 12px;
    }
    .studmob-jobs-wrap .filters-bar {
      background: #fff;
      margin-top: 0;
      padding: 4px 16px 12px;
      box-shadow: none;
      border-bottom: 1px solid #f2f4f7;
      position: sticky;
      top: 0;
      z-index: 50;
    }
    /* premium compact pills on the shared surface */
    .studmob-jobs-wrap .filters-bar .filter-pill {
      padding: 7px 14px;
      font-size: 12.5px;
      font-weight: 600;
      border-radius: 100px;
      border: 1px solid #e4e7ec;
      background: #fff;
      color: #475467;
    }
    .studmob-jobs-wrap .filters-bar .filter-pill.active {
      background: var(--nav-bg);
      color: #fff;
      border-color: var(--nav-bg);
      box-shadow: 0 2px 8px rgba(26,26,46,0.20);
    }
  }

  /* ============================================================
     FIXES: gap, modal panel text, footer above bottom nav
     ============================================================ */

  /* 1) KILL THE GREY GAP between search bar and pills on mobile.
     Make the whole header+pills one solid white block, flush. */
  @media (max-width: 720px) {
    .studmob-jobs-wrap .page-header {
      background: #fff;
      padding: 14px 16px 8px;
      margin: 0;
      border-bottom: none;
    }
    .studmob-jobs-wrap .filters-bar {
      background: #fff;
      margin: 0;
      padding: 6px 16px 12px;
      border-top: none;
      box-shadow: 0 1px 3px rgba(16,24,40,0.06);
    }
    /* remove any inherited gap-producing spacing on the wrap top */
    .studmob-jobs-wrap .main { margin-top: 0; }
  }

  /* 2) MODAL PANELS: force the active panel + all its option text to be
     visible (dark text, full opacity, proper layout). */
  .filter-modal-panels .filter-modal-panel { display: none !important; }
  .filter-modal-panels .filter-modal-panel.active { display: block !important; }

  .filter-modal-panel .fs-options {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
  }
  .filter-modal-panel .fs-radio,
  .filter-modal-panel .fs-checkbox {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 6px 0;
    font-size: 15px;
    color: #1a1a2e !important;
    opacity: 1 !important;
    cursor: pointer;
  }
  .filter-modal-panel .fs-radio input,
  .filter-modal-panel .fs-checkbox input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--green-600);
  }
  .filter-modal-panel .fs-salary-label,
  .filter-modal-panel .fs-salary-range,
  .filter-modal-panel .fs-salary-value {
    color: #1a1a2e !important;
    opacity: 1 !important;
  }
  /* reveal "extra" options inside modal lists */
  .filter-modal-panel .fs-options .fs-extra-option { display: flex !important; }

  /* 3) MODAL + FOOTER must clear YOUR theme's fixed bottom menu (~72px).
     Lift the whole sheet up and pad the footer so Clear/Apply are tappable. */
  .filter-modal {
    max-height: 80vh;
    padding-bottom: 0;
  }
  .filter-modal-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 0.5px solid var(--border);
    padding: 14px 16px calc(14px + 72px); /* 72px clears the bottom nav */
    z-index: 2;
  }
  /* make sure the overlay sits above the bottom nav too */
  .filter-modal-overlay { z-index: 9999; }

  /* ============================================================
     FIX: modal tab text invisible when active (white-on-white)
     ============================================================ */
  .filter-modal-tabs .filter-modal-tab {
    color: #1a1a2e !important;
    background: #f3f4f6 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1a1a2e !important; /* override theme button resets */
  }
  .filter-modal-tabs .filter-modal-tab.active {
    color: #1a1a2e !important;
    background: #ffffff !important;
    font-weight: 700;
    border-left-color: var(--green-600) !important;
    -webkit-text-fill-color: #1a1a2e !important;
  }
  /* also harden the right-side panel option text the same way */
  .filter-modal-panel .fs-radio,
  .filter-modal-panel .fs-checkbox,
  .filter-modal-panel .fs-salary-label,
  .filter-modal-panel .fs-salary-range,
  .filter-modal-panel .fs-salary-value,
  .filter-modal-panel label {
    -webkit-text-fill-color: #1a1a2e !important;
    color: #1a1a2e !important;
  }

  /* ============================================================
     FIX: modal close (X) icon invisible (theme strokes currentColor)
     ============================================================ */
  .filter-modal-close {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f2f4f7 !important;
    border: 1px solid #e4e7ec !important;
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
  }
  .filter-modal-close svg {
    width: 16px !important;
    height: 16px !important;
    display: block;
  }
  /* force the X strokes to render regardless of theme currentColor resets */
  .filter-modal-close svg line {
    stroke: #1a1a2e !important;
    stroke-width: 2.5 !important;
  }
  .filter-modal-close:hover {
    background: #e4e7ec !important;
  }

  /* ============================================================
     Hide the search-within-filter boxes (Location & Categories)
     ============================================================ */
  .fs-search-mini { display: none !important; }

  /* ============================================================
     FINAL FIX: close (X) as bold text glyph — theme-proof
     ============================================================ */
  .filter-modal-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    background: #f2f4f7 !important;
    border: 1px solid #e4e7ec !important;
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    text-indent: 0 !important;
    overflow: visible !important;
  }
  .filter-modal-close:hover { background: #e4e7ec !important; }

  /* ============================================================
     Make content background plain white (remove grey panel)
     ============================================================ */
  .studmob-jobs-wrap { background: #ffffff !important; }
  .studmob-jobs-wrap .main { background: #ffffff !important; }
  .studmob-jobs-wrap .page-header,
  .studmob-jobs-wrap .filters-bar { background: #ffffff !important; }

  /* ============================================================
     Stronger, more visible card + sidebar borders on white bg
     ============================================================ */
  .studmob-jobs-wrap .job-card {
    border: 1px solid #d7dbe2 !important;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  }
  .studmob-jobs-wrap .job-card:hover {
    border-color: #b6bdc9 !important;
    box-shadow: 0 2px 8px rgba(16,24,40,0.08);
  }
  .studmob-jobs-wrap .filters-sidebar {
    border: 1px solid #d7dbe2 !important;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  }

  /* Apply button color (archive) — match single page purple */
  .studmob-jobs-wrap .apply-btn {
    background: #4a1a6e !important;
    transition: background 0.15s !important;
  }
  .studmob-jobs-wrap .apply-btn:hover {
    background: #5e2589 !important;
    opacity: 1 !important;
  }

  /* ===================================================================
     INTERNSHIP CARD styles (Internshala-style with skills tags)
     =================================================================== */
  a.int-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid #d7dbe2;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    transition: border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  }
  a.int-card:hover { border-color: #b6bdc9; box-shadow: 0 2px 8px rgba(16,24,40,0.08); text-decoration: none; }

  .int-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
  }
  .int-title { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
  .int-company { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
  .int-logo {
    width: 46px; height: 46px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
  }

  .int-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
  }
  .int-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-muted);
  }
  .int-meta-item svg { color: var(--text-light); flex-shrink: 0; }

  .int-stipend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .stipend-tag {
    font-size: 13px; font-weight: 600;
    background: var(--green-50); color: var(--green-800);
    border-radius: 6px; padding: 4px 10px;
  }
  .mode-tag {
    font-size: 13px; font-weight: 600;
    background: #f4f0f8; color: #4a1a6e;
    border-radius: 6px; padding: 4px 10px;
  }

  .int-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
  }
  .int-skill {
    font-size: 11.5px;
    color: #475467;
    background: #f2f4f7;
    border-radius: 6px;
    padding: 3px 10px;
  }
  .int-skill-more { background: transparent; color: var(--text-light); font-weight: 600; }

  .int-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 0.5px solid var(--border);
  }
  .int-posted { font-size: 12px; color: var(--text-light); }
  .int-apply-btn {
    background: #4a1a6e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
  }
  .int-apply-btn:hover { background: #5e2589; }
