/* =====================================================================
   JOBHUNTERR — PUBLIC SITE DESIGN LAYER (jh-front.css)
   Loaded after the existing theme CSS on every public page.
   Uses the existing brand palette only: green #28bf55 / #22be0d,
   deep green #0b8260 / #13544e, ink #06131c, off-white #f7f5f0,
   accent orange #ff9e15. Additive: it refines, it does not re-theme.
   ===================================================================== */

:root {
  --jh-green: #28bf55;
  --jh-green-2: #22be0d;
  --jh-green-d: #0b8260;
  --jh-green-dd: #13544e;
  --jh-ink: #06131c;
  --jh-ink-2: #0c1e2b;
  --jh-text: #1f2a37;
  --jh-muted: #5b6573;
  --jh-line: #e6e9ee;
  --jh-soft: #f7f5f0;
  --jh-mint: #eaf8ef;
  --jh-orange: #ff9e15;
  --jh-grad: linear-gradient(135deg, #28bf55 0%, #0b8260 100%);
  --jh-grad-dark: linear-gradient(135deg, #0b8260 0%, #13544e 55%, #06131c 100%);
  --jh-r-sm: 10px;
  --jh-r: 16px;
  --jh-r-lg: 24px;
  --jh-sh-1: 0 1px 2px rgba(6, 19, 28, .04), 0 4px 14px rgba(6, 19, 28, .05);
  --jh-sh-2: 0 10px 30px rgba(6, 19, 28, .09);
  --jh-sh-3: 0 24px 60px rgba(6, 19, 28, .14);
  --jh-ease: cubic-bezier(.22, .8, .24, 1);
  --jh-focus: 0 0 0 4px rgba(40, 191, 85, .18);
}

/* ---------- Base ---------------------------------------------------- */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
::selection { background: rgba(40, 191, 85, .22); color: var(--jh-ink); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--jh-green); outline-offset: 2px; }

.section-title, main h2.fw-bold {
  letter-spacing: -.02em;
}

/* Section eyebrow + accent line under headings that already exist */
.jh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--jh-green-d);
}
.jh-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--jh-green); box-shadow: 0 0 0 4px rgba(40, 191, 85, .18);
}

/* ---------- Header -------------------------------------------------- */
.header-primary { transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.header-primary.jh-scrolled,
.header-primary.sticky {
  background: rgba(255, 255, 255, .86) !important;
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px rgba(6, 19, 28, .08);
}
.header-primary .navbar-nav .nav-link { position: relative; }
@media (min-width: 1200px) {
  .header-primary .navbar-nav .nav-link::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 6px; height: 2px;
    background: var(--jh-green); border-radius: 2px;
    transition: left .3s var(--jh-ease), right .3s var(--jh-ease);
  }
  .header-primary .navbar-nav .nav-link:hover::after,
  .header-primary .navbar-nav .nav-link.active::after { left: 14px; right: 14px; }
  .header-primary .dropdown-menu {
    display: block; visibility: hidden; opacity: 0; transform: translateY(8px);
    transition: opacity .22s ease, transform .22s var(--jh-ease), visibility .22s;
    pointer-events: none;
  }
  .header-primary .dropdown-menu.show { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
}
.header-primary .dropdown-menu {
  border: 1px solid var(--jh-line); border-radius: 14px; padding: 8px;
  box-shadow: var(--jh-sh-2);
}
.header-primary .dropdown-item { border-radius: 9px; padding: 9px 12px; transition: background .2s, color .2s, padding-left .2s; }
.header-primary .dropdown-item:hover { background: var(--jh-mint); color: var(--jh-green-d); padding-left: 16px; }

/* ---------- Buttons ------------------------------------------------- */
.btn-success, .search-btn, .apply-btn, .btn-profile, .w-btn-secondary-lg,
.jh-btn {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--jh-ease), box-shadow .25s ease, background-position .4s ease, filter .2s;
}
.btn-success, .search-btn, .jh-btn-primary {
  background-image: var(--jh-grad) !important; background-size: 160% 160%;
  border-color: transparent !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(11, 130, 96, .22);
}
.btn-success:hover, .search-btn:hover, .jh-btn-primary:hover,
.apply-btn:hover, .btn-profile:hover, .w-btn-secondary-lg:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 12px 26px rgba(11, 130, 96, .28);
}
.btn-success:active, .search-btn:active, .apply-btn:active, .jh-btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, .form-control:focus, .form-select:focus { box-shadow: var(--jh-focus) !important; }
.jh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; text-decoration: none;
}
.jh-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.jh-btn-ghost:hover { background: #fff; color: var(--jh-green-d); transform: translateY(-2px); }
.jh-btn-outline { background: #fff; color: var(--jh-green-d); border-color: rgba(11, 130, 96, .35); }
.jh-btn-outline:hover { background: var(--jh-mint); color: var(--jh-green-d); transform: translateY(-2px); }
/* ripple */
.jh-ripple {
  position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none; z-index: -1;
  background: rgba(255, 255, 255, .45); animation: jh-ripple .6s ease-out forwards;
}
@keyframes jh-ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Forms --------------------------------------------------- */
.form-control, .form-select {
  border-radius: 12px; border-color: #dfe3e8;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-control:hover, .form-select:hover { border-color: #c9d0d8; }
.form-control:focus, .form-select:focus { border-color: var(--jh-green) !important; }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: #e5484d !important; }
.form-check-input:checked { background-color: var(--jh-green); border-color: var(--jh-green); }
.form-check-input:focus { box-shadow: var(--jh-focus); border-color: var(--jh-green); }
label, .form-label { font-weight: 500; }

/* password visibility toggle injected by jh-front.js */
.jh-pw { position: relative; display: block; }
.jh-pw > input { padding-right: 46px !important; }
.jh-pw-btn {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent;
  color: var(--jh-muted); display: grid; place-items: center; cursor: pointer;
}
.jh-pw-btn:hover { background: var(--jh-mint); color: var(--jh-green-d); }
.jh-pw-btn svg { width: 18px; height: 18px; }

/* password strength meter */
.jh-strength { margin-top: 8px; }
.jh-strength-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.jh-strength-bar span { height: 5px; border-radius: 4px; background: #e8ebef; transition: background .25s ease; }
.jh-strength-text { margin-top: 5px; font-size: 12.5px; color: var(--jh-muted); }
.jh-strength[data-level="1"] .jh-strength-bar span:nth-child(-n+1) { background: #e5484d; }
.jh-strength[data-level="2"] .jh-strength-bar span:nth-child(-n+2) { background: var(--jh-orange); }
.jh-strength[data-level="3"] .jh-strength-bar span:nth-child(-n+3) { background: #7ac943; }
.jh-strength[data-level="4"] .jh-strength-bar span:nth-child(-n+4) { background: var(--jh-green); }
.jh-match { font-size: 12.5px; margin-top: 5px; }
.jh-match.ok { color: var(--jh-green-d); }
.jh-match.bad { color: #d23b40; }

/* ---------- Hero (home) -------------------------------------------- */
.hero-two { isolation: isolate; }
.hero-two::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% 30%, rgba(40, 191, 85, .32), transparent 60%),
    radial-gradient(700px 480px at 90% 80%, rgba(255, 158, 21, .14), transparent 60%),
    linear-gradient(100deg, rgba(6, 19, 28, .9) 0%, rgba(12, 30, 43, .74) 45%, rgba(19, 84, 78, .45) 100%);
}
.hero-two .container { position: relative; z-index: 2; }
.hero-two-title {
  font-size: clamp(34px, 4.6vw, 60px) !important; line-height: 1.08 !important; letter-spacing: -.03em;
}
.jh-hero-hl {
  background: linear-gradient(90deg, #6ee58f, #28bf55 45%, #ffc46b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-two p.fs-6 { font-size: 17px !important; line-height: 1.65; color: rgba(255, 255, 255, .86) !important; max-width: 600px; }

/* decorative shapes */
.jh-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.jh-shape { position: absolute; display: block; will-change: transform; }
.jh-blob {
  width: 420px; height: 420px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: radial-gradient(circle at 30% 30%, rgba(40, 191, 85, .55), rgba(11, 130, 96, .05) 70%);
  filter: blur(6px); opacity: .55; top: -120px; right: -90px;
  animation: jh-morph 16s ease-in-out infinite alternate, jh-float 14s ease-in-out infinite;
}
.jh-blob.b2 {
  width: 300px; height: 300px; top: auto; bottom: -140px; right: auto; left: -80px;
  background: radial-gradient(circle at 60% 40%, rgba(255, 158, 21, .38), rgba(255, 158, 21, 0) 70%);
  animation-duration: 18s, 17s;
}
.jh-ring {
  width: 160px; height: 160px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .22);
  top: 26%; right: 8%; animation: jh-spin 40s linear infinite;
}
.jh-ring.r2 { width: 90px; height: 90px; top: auto; bottom: 18%; right: 38%; border-style: solid; border-color: rgba(40, 191, 85, .45); animation-duration: 26s; }
.jh-dots {
  width: 150px; height: 110px; left: 46%; top: 22%; opacity: .45;
  background-image: radial-gradient(rgba(255, 255, 255, .7) 1.4px, transparent 1.6px);
  background-size: 16px 16px; animation: jh-float 12s ease-in-out infinite;
}
.jh-square {
  width: 26px; height: 26px; border-radius: 7px; background: var(--jh-orange); opacity: .8;
  left: 3%; top: 18%; animation: jh-float 9s ease-in-out infinite, jh-spin 18s linear infinite;
}
.jh-plus { left: 58%; bottom: 14%; color: rgba(255, 255, 255, .5); font: 700 28px/1 sans-serif; animation: jh-float 10s ease-in-out infinite; }
@keyframes jh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes jh-spin { to { rotate: 360deg; } }
@keyframes jh-morph {
  0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  100% { border-radius: 63% 37% 41% 59% / 55% 62% 38% 45%; }
}

/* search bar */
.hero-two .hero-search {
  display: flex !important; align-items: stretch; gap: 0; flex-wrap: nowrap;
  background: rgba(255, 255, 255, .97); border-radius: 18px; padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .5);
  transition: box-shadow .3s ease, transform .3s var(--jh-ease);
  max-width: 720px;
}
.hero-two .hero-search:focus-within { transform: translateY(-2px); box-shadow: 0 26px 60px rgba(0, 0, 0, .32), 0 0 0 4px rgba(40, 191, 85, .35); }
.hero-two .search-category, .hero-two .search-keyword {
  display: flex !important; align-items: center; gap: 10px; min-width: 0; padding: 0 14px; position: relative;
}
.hero-two .search-category { flex: 0 1 215px; min-width: 0 !important; width: auto !important; border-right: 1px solid #e6e9ee; border-bottom: 0; }
.hero-two .hero-search { flex-direction: row !important; width: 100%; }
.hero-two .search-keyword { flex: 1 1 auto; padding-right: 0; }
.hero-two .search-category i, .hero-two .search-keyword > i { color: var(--jh-green-d); font-size: 15px; flex: 0 0 auto; }
.hero-two .search-category .form-select,
.hero-two .search-keyword .form-control {
  height: 52px; background-color: transparent !important; font-size: 15.5px; color: var(--jh-ink); padding-left: 0;
  min-width: 0; width: 100% !important; display: block !important; flex: 1 1 auto;
}
.hero-two .search-keyword .form-control::placeholder { color: #8a94a1; }
.hero-two .search-btn {
  height: 52px; padding: 0 30px !important; border-radius: 13px !important; font-weight: 600; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px; margin: 0 !important;
}
.hero-two .tag-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-two .tag-item::before { content: "✓"; color: #6ee58f; font-weight: 700; }
.hero-two .hero-search-tag { flex-wrap: wrap; }

/* hero stats (real numbers from the database) */
.jh-hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; max-width: 640px;
}
.jh-hero-stat {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: 14px 16px; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--jh-ease), background .3s;
}
.jh-hero-stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .14); }
.jh-hero-stats .jh-hero-stat b { display: block; font-size: 26px !important; line-height: 1.1; font-weight: 700; font-family: var(--main-font-family, inherit); }
.jh-hero-stat b small { color: #6ee58f; font-size: 18px; margin-left: 1px; }
.jh-hero-stat > span { font-size: 12.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .72); text-transform: uppercase; }

/* hero entrance */
.jh-js .jh-rise { opacity: 0; transform: translateY(22px); animation: jh-rise .8s var(--jh-ease) forwards; }
.jh-js .jh-rise.d1 { animation-delay: .08s; } .jh-js .jh-rise.d2 { animation-delay: .2s; }
.jh-js .jh-rise.d3 { animation-delay: .32s; } .jh-js .jh-rise.d4 { animation-delay: .44s; }
.jh-js .jh-rise.d5 { animation-delay: .56s; }
@keyframes jh-rise { to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
  .hero-two { padding: 150px 0 60px !important; }
  .jh-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jh-dots, .jh-ring, .jh-square, .jh-plus { display: none; }
}
@media (max-width: 575.98px) {
  .hero-two { padding: 130px 0 48px !important; }
  .hero-two .hero-search { flex-wrap: wrap !important; padding: 8px; border-radius: 16px; }
  .hero-two .search-category { flex: 1 1 100%; }
  .hero-two .search-category { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid #e6e9ee; }
  .hero-two .search-keyword { flex: 1 1 100%; flex-wrap: wrap; padding: 0 6px 0 14px; }
  .hero-two .search-keyword .form-control { flex: 1 1 calc(100% - 30px); }
  .hero-two .search-btn { flex: 1 1 100%; justify-content: center; margin: 4px 0 2px !important; }
  .jh-hero-stat { padding: 12px; }
  .jh-hero-stats .jh-hero-stat b { font-size: 21px !important; }
  .jh-blob { width: 280px; height: 280px; }
}

/* ---------- Cards: categories ------------------------------------- */
.category-box {
  position: relative; height: 100%; border-radius: var(--jh-r) !important;
  border: 1px solid var(--jh-line) !important; background: #fff !important;
  box-shadow: var(--jh-sh-1) !important; overflow: hidden;
  transition: transform .3s var(--jh-ease), box-shadow .3s ease, border-color .3s !important;
}
.category-box::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--jh-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--jh-ease);
}
.category-box:hover { transform: translateY(-6px); box-shadow: var(--jh-sh-2) !important; border-color: rgba(40, 191, 85, .35) !important; }
.category-box:hover::after { transform: scaleX(1); }
.category-box .category-icon {
  background: var(--jh-mint) !important; color: var(--jh-green-d) !important;
  transition: transform .35s var(--jh-ease), background .3s, color .3s;
}
.category-box:hover .category-icon { background: var(--jh-grad) !important; color: #fff !important; transform: rotate(-6deg) scale(1.06); }
.category-box h4 a { color: var(--jh-ink); }
.category-box:hover h4 a { color: var(--jh-green-d); }
.category-box p { color: var(--jh-muted); }
.feature-category-card {
  border-radius: var(--jh-r) !important; border: 1px solid var(--jh-line);
  transition: transform .3s var(--jh-ease), box-shadow .3s, background .3s;
}
.feature-category-card:hover { transform: translateY(-5px); box-shadow: var(--jh-sh-2); background: #fff !important; }

/* ---------- Cards: companies -------------------------------------- */
.company-card {
  border-radius: var(--jh-r) !important; border: 1px solid var(--jh-line) !important; background: #fff;
  box-shadow: var(--jh-sh-1); transition: transform .3s var(--jh-ease), box-shadow .3s, border-color .3s;
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--jh-sh-2); border-color: rgba(40, 191, 85, .35) !important; }
.company-card .company-logo img, .company-card .company-logo { transition: transform .35s var(--jh-ease); }
.company-card:hover .company-logo { transform: scale(1.05); }
.company-card .company-btn { font-weight: 600; }
.company-card .company-btn:hover { letter-spacing: .01em; }

/* ---------- Cards: jobs ------------------------------------------- */
body .job-card {
  border-radius: 14px !important; border-color: var(--jh-line) !important;
  transition: transform .28s var(--jh-ease), box-shadow .28s ease, border-color .28s !important;
}
body .job-card:hover { transform: translateY(-4px) !important; box-shadow: 0 14px 34px rgba(6, 19, 28, .09) !important; border-color: rgba(40, 191, 85, .32) !important; }
body .job-card .job-title, body .job-card .job-title a { color: var(--jh-ink); transition: color .2s; }
body .job-card:hover .job-title, body .job-card:hover .job-title a { color: var(--jh-green-d); }
body .job-card .apply-btn { border-radius: 999px !important; font-weight: 600; }
body .job-card .salary { font-weight: 700; color: var(--jh-green-d); }
.job-card .job-meta { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.job-card .job-meta > * { max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card .view-btn { border-radius: 999px !important; transition: background .2s, color .2s, border-color .2s; }
.job-card .view-btn:hover { background: var(--jh-mint) !important; color: var(--jh-green-d) !important; border-color: rgba(11,130,96,.35) !important; }
.page-link.page-btn { border-radius: 10px !important; margin: 0 3px; min-width: 40px; text-align: center; transition: background .2s, color .2s, transform .2s; }
.page-link.page-btn:hover { transform: translateY(-2px); background: var(--jh-mint); color: var(--jh-green-d); }
.page-item.active .page-link.page-btn { background: var(--jh-grad) !important; border-color: transparent !important; color: #fff !important; }
.jh-featured-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #8a5300; background: #fff3df; border: 1px solid #ffd9a1; border-radius: 999px; padding: 3px 9px;
}

/* ---------- Generic content cards / sections ---------------------- */
.cta-area .container > div, .cta-area > .container > .row { border-radius: var(--jh-r-lg); }
.blog-card, .latest-blog-section .card, .testimonial-card, .testimonial-item, .single-testimonial {
  transition: transform .3s var(--jh-ease), box-shadow .3s ease;
}
.latest-blog-section .card:hover, .blog-card:hover { transform: translateY(-6px); box-shadow: var(--jh-sh-2); }
.latest-blog-section img, .blog-card img { transition: transform .6s var(--jh-ease); }
.latest-blog-section .card:hover img, .blog-card:hover img { transform: scale(1.05); }
.latest-blog-section .card { overflow: hidden; }
.accordion-item { border-radius: 14px !important; overflow: hidden; border: 1px solid var(--jh-line) !important; margin-bottom: 10px; }
.accordion-button:not(.collapsed) { background: var(--jh-mint); color: var(--jh-green-d); box-shadow: none; }
.accordion-button:focus { box-shadow: var(--jh-focus); }
.accordion-collapse { transition: height .3s var(--jh-ease); }

/* ---------- Jobs listing page ------------------------------------- */
.jobs-section { padding-top: 130px; }
.jobs-header h4 { font-weight: 700; letter-spacing: -.01em; }
.results-count { font-size: 15px !important; color: var(--jh-muted); font-weight: 500 !important; }
.results-count b, .results-count strong { color: var(--jh-ink); }
#jobFilterCollapse > *:not(.jh-drawer-title):not(.jh-drawer-close) {
  border-radius: var(--jh-r) !important; border: 1px solid var(--jh-line) !important; box-shadow: var(--jh-sh-1) !important;
}
@media (min-width: 768px) {
  #jobFilterCollapse { position: sticky; top: 100px; }
}
#login-card .login-card { border-radius: var(--jh-r) !important; box-shadow: var(--jh-sh-1) !important; }
.jh-skel-card {
  display: flex; gap: 12px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--jh-line); border-radius: 14px; background: #fff;
}
.jh-skel { background: linear-gradient(90deg, #eef1f4 25%, #f7f9fa 37%, #eef1f4 63%); background-size: 400% 100%; animation: jh-shimmer 1.3s ease infinite; border-radius: 8px; }
@keyframes jh-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.jh-skel-logo { width: 50px; height: 50px; flex: 0 0 50px; }
.jh-skel-lines { flex: 1; display: grid; gap: 8px; align-content: start; }
.jh-skel-l1 { height: 12px; width: 40%; } .jh-skel-l2 { height: 16px; width: 70%; } .jh-skel-l3 { height: 12px; width: 55%; }

/* mobile filter drawer */
@media (max-width: 767.98px) {
  .mobile-filter-btn { border-radius: 12px !important; box-shadow: var(--jh-sh-1); }
  #jobFilterCollapse.jh-drawer {
    display: block !important; position: fixed; z-index: 1060; inset: 0 auto 0 0; width: min(86vw, 360px);
    background: #fff; overflow-y: auto; padding: 64px 14px 20px; margin: 0 !important;
    transform: translateX(-105%); transition: transform .35s var(--jh-ease); box-shadow: var(--jh-sh-3);
  }
  #jobFilterCollapse.jh-drawer.jh-open { transform: none; }
  .jh-drawer-close {
    position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--jh-line);
    background: #fff; font-size: 22px; line-height: 1; color: var(--jh-ink);
  }
  .jh-drawer-title { position: absolute; top: 20px; left: 18px; font-weight: 700; font-size: 17px; }
}
.jh-backdrop {
  position: fixed; inset: 0; z-index: 1055; background: rgba(6, 19, 28, .45); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.jh-backdrop.jh-open { opacity: 1; visibility: visible; }
body.jh-lock { overflow: hidden; }

/* ---------- Job details ------------------------------------------- */
.jh-sticky-apply {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--jh-line);
  box-shadow: 0 -8px 24px rgba(6, 19, 28, .08); transform: translateY(110%); transition: transform .35s var(--jh-ease);
}
.jh-sticky-apply.jh-show { transform: none; }
.jh-sticky-apply .jh-sa-row { display: flex; align-items: center; gap: 12px; max-width: 1140px; margin: 0 auto; }
.jh-sticky-apply .jh-sa-title { flex: 1; min-width: 0; font-weight: 700; font-size: 14.5px; color: var(--jh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jh-sticky-apply .jh-sa-sub { display: block; font-weight: 500; font-size: 12.5px; color: var(--jh-muted); }
@media (max-width: 991.98px) { .jh-sticky-apply { display: block; } body.jh-has-sticky { padding-bottom: 76px; } }

/* ---------- Auth pages -------------------------------------------- */
.jh-auth-card, .login-box, .login-form-box, .auth-card {
  border-radius: var(--jh-r-lg) !important; box-shadow: var(--jh-sh-3) !important; border: 1px solid rgba(6, 19, 28, .04);
}

/* ---------- Footer ------------------------------------------------ */
footer a { transition: color .2s ease, padding-left .2s ease; }
footer ul li a:hover { color: var(--jh-green) !important; padding-left: 3px; }

/* ---------- Back to top ------------------------------------------- */
.jh-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1030; width: 44px; height: 44px; border-radius: 14px; border: 0;
  background: var(--jh-grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(11, 130, 96, .3);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--jh-ease), visibility .3s;
}
.jh-top.jh-show { opacity: 1; visibility: visible; transform: none; }
.jh-top:hover { transform: translateY(-3px); }
.jh-top svg { width: 18px; height: 18px; }
body.jh-has-sticky .jh-top { bottom: 92px; }

/* ---------- Scroll reveal ----------------------------------------- */
.jh-js .jh-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--jh-ease), transform .7s var(--jh-ease); transition-delay: var(--jh-d, 0s); }
.jh-js .jh-reveal.jh-in { opacity: 1; transform: none; }

/* ---------- Empty states ----------------------------------------- */
.jh-empty { text-align: center; padding: 42px 20px; border: 1px dashed #cfd6de; border-radius: var(--jh-r); background: #fbfcfc; color: var(--jh-muted); }
.jh-empty svg { width: 54px; height: 54px; color: var(--jh-green); margin-bottom: 10px; }
.jh-empty h5 { color: var(--jh-ink); font-weight: 700; margin-bottom: 6px; }

/* ---------- Touch targets ----------------------------------------- */
@media (max-width: 767.98px) {
  .btn, .apply-btn, .search-btn { min-height: 42px; }
  .navbar-nav .nav-link, .dropdown-item { padding-top: 10px; padding-bottom: 10px; }
}

/* ---------- Reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .jh-js .jh-reveal, .jh-js .jh-rise { opacity: 1 !important; transform: none !important; }
  .jh-shape { animation: none !important; }
}

/* ---------- List filter bar (categories / locations) -------------- */
.jh-listbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px;
  background: #fff; border: 1px solid var(--jh-line); border-radius: var(--jh-r); padding: 10px 12px; box-shadow: var(--jh-sh-1);
  position: sticky; top: 92px; z-index: 5;
}
.jh-listbar-search { position: relative; flex: 1 1 300px; min-width: 0; }
.jh-listbar-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--jh-green-d); pointer-events: none; }
.jh-listbar-search .form-control { height: 46px; padding-left: 42px; border-radius: 12px; background: var(--jh-soft); border-color: transparent; }
.jh-listbar-search .form-control:focus { background: #fff; }
.jh-listbar-count { font-size: 13.5px; color: var(--jh-muted); white-space: nowrap; }
.jh-switch { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; white-space: nowrap; }
.jh-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jh-switch span { width: 40px; height: 23px; border-radius: 999px; background: #d5dbe1; position: relative; transition: background .25s; flex: 0 0 auto; }
.jh-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--jh-ease); }
.jh-switch input:checked + span { background: var(--jh-green); }
.jh-switch input:checked + span::after { transform: translateX(17px); }
.jh-switch input:focus-visible + span { box-shadow: var(--jh-focus); }
[data-jh-item].jh-hide { display: none !important; }
.location-card { border-radius: var(--jh-r) !important; transition: transform .3s var(--jh-ease), box-shadow .3s, border-color .3s; }
.location-card:hover { transform: translateY(-5px); box-shadow: var(--jh-sh-2) !important; border-color: rgba(40,191,85,.35) !important; }
.location-card a, .location-card span { transition: background .2s, color .2s, border-color .2s; }
@media (max-width: 575.98px) { .jh-listbar { top: 76px; } .jh-listbar-count { width: 100%; } }
