/*
Theme Name: Morsecode
Theme URI: https://morsecodetechnogies.com/
Description: Morsecode — a modern, fully responsive job portal for the US & Canada. Editable Job posts (Custom Post Type) with a batch importer for the 1,220 bundled jobs, real-time search, filters, dark mode, job-seeker/employer/admin dashboards, and WordPress content pages (About, Pricing, Privacy, Terms, Cookie Policy, Disclaimer and more) auto-created on activation. Standalone: upload, activate, import, done.
Author: Morsecode Technogies
Author URI: https://morsecodetechnogies.com/
Version: 1.7.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: morsecode
*/

/* =================================================================
   Morsecode — Job Portal
   style.css
   Sections:
   1.  Design tokens (light + dark)
   2.  Reset & base
   3.  Utilities (container, buttons, glass, tags, reveal)
   4.  Preloader
   5.  Navbar
   6.  Hero + search + stats
   7.  Sections shell
   8.  Jobs (filters, cards, pagination)
   9.  Categories
   10. Companies
   11. Why us
   12. Testimonials carousel
   13. Blog
   14. FAQ accordion
   15. Newsletter
   16. Contact
   17. Footer
   18. Scroll-to-top
   19. Modals (job + apply)
   20. Dashboard drawer
   21. Toasts
   22. Keyframes
   23. Responsive
   ================================================================= */

/* ============================= 1. TOKENS ============================= */
:root {
  /* Brand — indigo → blue */
  --primary: #4f46e5;
  --primary-600: #4338ca;
  --primary-700: #3730a3;
  --primary-soft: #eef2ff;
  --accent: #0ea5e9;
  --grad: linear-gradient(135deg, #6366f1 0%, #4f46e5 45%, #0ea5e9 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);

  /* Neutrals */
  --bg: #f6f7fb;
  --bg-alt: #eef1f8;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e6e8f0;
  --border-strong: #d5d9e6;

  /* Status */
  --green: #16a34a;
  --green-soft: #dcfce7;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --sky-soft: #e0f2fe;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow: 0 6px 20px -6px rgba(15,23,42,.12), 0 2px 6px rgba(15,23,42,.06);
  --shadow-lg: 0 24px 50px -12px rgba(37,40,120,.28);
  --shadow-primary: 0 12px 26px -8px rgba(79,70,229,.55);
  --glass-bg: rgba(255,255,255,.7);
  --glass-border: rgba(255,255,255,.6);
  --glass-blur: saturate(160%) blur(14px);

  --nav-h: 68px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
  --t: .28s var(--ease);
}

[data-theme="dark"] {
  --primary: #818cf8;
  --primary-600: #6366f1;
  --primary-700: #4f46e5;
  --primary-soft: #1e213a;
  --accent: #38bdf8;
  --grad: linear-gradient(135deg, #818cf8 0%, #6366f1 45%, #38bdf8 100%);
  --grad-soft: linear-gradient(135deg, #1b1e34 0%, #10233a 100%);

  --bg: #0b0f1a;
  --bg-alt: #0f1424;
  --surface: #141a29;
  --surface-2: #1a2133;
  --text: #e8ecf6;
  --text-2: #a6b0c8;
  --text-3: #6b7590;
  --border: #232b40;
  --border-strong: #2f394f;

  --green-soft: #0e2c1c;
  --amber-soft: #3a2c07;
  --red-soft: #3a1417;
  --sky-soft: #0c2537;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -15px rgba(0,0,0,.7);
  --shadow-primary: 0 12px 26px -8px rgba(99,102,241,.5);
  --glass-bg: rgba(20,26,41,.6);
  --glass-border: rgba(255,255,255,.08);
}

/* ============================= 2. RESET & BASE ============================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], .footer[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.icon--xs { width: 16px; height: 16px; }
.icon--lg { width: 42px; height: 42px; }
.muted { color: var(--text-3); font-weight: 400; }

/* ============================= 3. UTILITIES ============================= */
.container { width: min(1200px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 12px; border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(79,70,229,.6); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
/* shine sweep */
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }

.link-btn { color: var(--primary); font-weight: 600; font-size: .85rem; }
.link-btn:hover { text-decoration: underline; }

/* Icon button */
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius-sm); color: var(--text-2);
  border: 1px solid transparent; position: relative;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); transform: translateY(-1px); }

.badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center; font-size: .68rem; font-weight: 700;
  background: var(--red); color: #fff; border-radius: var(--radius-pill);
  border: 2px solid var(--surface);
}

/* Tags & chips */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary);
}
.tag--green { background: var(--green-soft); color: var(--green); }
.tag--amber { background: var(--amber-soft); color: var(--amber); }
.tag--sky { background: var(--sky-soft); color: var(--accent); }
.tag--muted { background: var(--bg-alt); color: var(--text-2); }

.chip {
  font-size: .85rem; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-2);
  transition: all var(--t);
}
.chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================= 4. PRELOADER ============================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .5s var(--ease), visibility .5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader__box { text-align: center; }
.preloader__logo { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.preloader__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); animation: bounce 1.2s infinite var(--ease); }
.preloader__dot:nth-child(2) { background: var(--accent); animation-delay: .15s; }
.preloader__dot:nth-child(3) { background: var(--primary-700); animation-delay: .3s; }
.preloader__text { font-weight: 800; letter-spacing: .04em; color: var(--text-2); }

/* ============================= 5. NAVBAR ============================= */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.nav.scrolled { box-shadow: var(--shadow); border-color: var(--border); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-primary);
}
.brand__mark .icon { width: 22px; height: 22px; }
.brand__name span { color: var(--primary); }

.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__link {
  padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 500; color: var(--text-2);
  position: relative; transition: color var(--t), background var(--t);
}
.nav__link:hover { color: var(--text); background: var(--bg-alt); }
.nav__link.active { color: var(--primary); background: var(--primary-soft); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon--sun, .icon--moon { position: absolute; transition: transform .5s var(--ease-back), opacity .3s; }
[data-theme="light"] .icon--moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="dark"] .icon--sun { opacity: 0; transform: rotate(90deg) scale(.4); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown__toggle { border-radius: var(--radius-pill); }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.dropdown.open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--text-2); font-weight: 500; font-size: .9rem;
  transition: background var(--t), color var(--t);
}
.dropdown__item:hover { background: var(--primary-soft); color: var(--primary); }

.nav__burger { display: none; }
.nav__link--mobile, .nav__divider { display: none; }

/* Mobile nav panel */
@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px;
    margin: 0; box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-145%); transition: transform .4s var(--ease); z-index: 190;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__link { padding: 12px 16px; }
  .nav__link--mobile { display: flex; align-items: center; gap: 10px; }
  .nav__divider { display: block; height: 1px; background: var(--border); margin: 8px 4px; }
  .nav__burger { display: grid; }
  .nav__cta, .dropdown { display: none; }
}

/* ============================= 6. HERO ============================= */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 18s var(--ease) infinite alternate; }
.blob--1 { width: 460px; height: 460px; background: #a5b4fc; top: -120px; right: -80px; }
.blob--2 { width: 400px; height: 400px; background: #7dd3fc; bottom: -140px; left: -100px; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: #c7d2fe; top: 30%; left: 40%; animation-delay: -12s; opacity: .35; }
[data-theme="dark"] .blob { opacity: .28; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%); opacity: .5;
}

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 900; letter-spacing: -.03em; margin: 16px 0; }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--text-2); max-width: 46ch; }
.reveal:nth-child(1) { transition-delay: .05s; }
.hero__content .reveal:nth-child(2) { transition-delay: .12s; }
.hero__content .reveal:nth-child(3) { transition-delay: .18s; }
.hero__content .reveal:nth-child(4) { transition-delay: .24s; }

/* Search bar */
.searchbar {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 8px;
  background: var(--surface); padding: 10px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); margin: 28px 0 18px;
}
.searchbar__field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--radius); position: relative; }
.searchbar__field:not(:last-child)::after { content: ""; position: absolute; right: -4px; top: 20%; height: 60%; width: 1px; background: var(--border); }
.searchbar__field .icon { color: var(--text-3); }
.searchbar__field input, .searchbar__field select { width: 100%; border: none; background: transparent; padding: 14px 0; outline: none; font-size: .95rem; }
.searchbar__field select { cursor: pointer; }
.searchbar__btn { border-radius: var(--radius); }

.hero__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--text-3); }
.hero__tags > span { font-weight: 500; }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 34px; }
.stat__num { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .85rem; color: var(--text-3); font-weight: 500; }

/* Hero art */
.hero__art { position: relative; height: 440px; }
.hero__ring { position: absolute; inset: 10% 12%; border-radius: 50%; border: 2px dashed var(--border-strong); animation: spin 40s linear infinite; }
.hero__ring::before, .hero__ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
.hero__ring::before { top: -7px; left: 50%; } .hero__ring::after { bottom: -7px; left: 30%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: var(--radius); min-width: 210px; animation: floaty 6s var(--ease) infinite;
}
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--text-3); font-size: .8rem; }
.float-card__logo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c, var(--primary)); font-size: .95rem; }
.float-card--a { top: 6%; left: 0; } .float-card--b { top: 44%; right: 0; animation-delay: -2s; } .float-card--c { bottom: 6%; left: 12%; animation-delay: -4s; }
.float-card--c .icon { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--green-soft); color: var(--green); }

/* ============================= 7. SECTIONS SHELL ============================= */
.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section--tint { background: var(--bg-alt); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section__lead { color: var(--text-2); max-width: 54ch; margin-top: 10px; }

/* ============================= 8. JOBS ============================= */
.jobs__toolbar { display: flex; align-items: center; gap: 12px; }
.select-wrap { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-2); font-weight: 500; }
.select-wrap select, #sortSelect {
  padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface); font-size: .88rem; cursor: pointer; transition: border-color var(--t);
}
.select-wrap select:hover { border-color: var(--primary); }
.filter-toggle { display: none; }

.jobs__layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }

/* Filters */
.filters { position: sticky; top: calc(var(--nav-h) + 16px); padding: 22px; border-radius: var(--radius-lg); }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.filters__head h3 { font-size: 1.1rem; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: none; }
.filter-label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.filters select, .input-icon input, #fSearch {
  width: 100%; padding: 11px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface); font-size: .88rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.filters select:focus, .input-icon input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); outline: none; }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon .icon { position: absolute; left: 12px; color: var(--text-3); pointer-events: none; }
.input-icon input { padding-left: 36px; }

/* range */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--border-strong); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); cursor: pointer; box-shadow: var(--shadow-sm); border: 3px solid var(--surface); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--surface); border-radius: 50%; background: var(--primary); cursor: pointer; }

/* check list */
.check-list { display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--radius-sm); cursor: pointer; font-size: .88rem; color: var(--text-2); transition: background var(--t); }
.check:hover { background: var(--bg-alt); }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--border-strong); border-radius: 6px; display: grid; place-items: center; transition: all var(--t); flex: none; }
.check input:checked { background: var(--grad); border-color: transparent; }
.check input:checked::after { content: "✓"; color: #fff; font-size: .72rem; font-weight: 800; }

/* results */
.results__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results__count { color: var(--text-2); font-size: .92rem; }
.results__count b { color: var(--text); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.active-filters .tag { cursor: pointer; }
.active-filters .tag:hover { background: var(--red-soft); color: var(--red); }

.jobs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

/* Job card */
.job-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  animation: cardIn .5s var(--ease) both;
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.job-card__top { display: flex; align-items: flex-start; gap: 12px; }
.job-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.05rem; flex: none; box-shadow: var(--shadow-sm); }
.job-card__co { flex: 1; min-width: 0; }
.job-card__co h3 { font-size: 1.05rem; line-height: 1.25; }
.job-card__co .co-name { color: var(--text-2); font-size: .86rem; display: flex; align-items: center; gap: 6px; }
.co-rating { display: inline-flex; align-items: center; gap: 3px; color: var(--amber); font-weight: 600; }
.co-rating .icon { width: 13px; height: 13px; }
.save-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--text-3); border: 1px solid var(--border); transition: all var(--t); flex: none; }
.save-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.save-btn.saved { color: #fff; background: var(--grad); border-color: transparent; }
.save-btn.saved .icon { fill: #fff; animation: pop .35s var(--ease-back); }

.job-card__meta { display: flex; flex-wrap: wrap; gap: 7px; }
.meta-item { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--text-2); background: var(--bg-alt); padding: 5px 10px; border-radius: var(--radius-pill); }
.meta-item .icon { width: 13px; height: 13px; color: var(--text-3); }

.job-card__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill { font-size: .74rem; padding: 3px 9px; border-radius: 7px; background: var(--primary-soft); color: var(--primary); font-weight: 500; }

.job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.job-salary { font-weight: 800; font-size: 1rem; }
.job-salary small { font-weight: 500; color: var(--text-3); font-size: .74rem; }
.job-posted { font-size: .76rem; color: var(--text-3); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface);
  font-weight: 600; font-size: .9rem; color: var(--text-2); transition: all var(--t);
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.page-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Empty */
.empty { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty .icon { margin: 0 auto 14px; color: var(--text-3); }
.empty h3 { margin-bottom: 6px; }
.empty p { margin-bottom: 16px; }

/* ============================= 9. CATEGORIES ============================= */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; display: flex; align-items: center; gap: 14px; text-align: left;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative; overflow: hidden;
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity var(--t); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card > * { position: relative; z-index: 1; transition: color var(--t); }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-name, .cat-card:hover .cat-count { color: #fff; }
.cat-card:hover .cat-icon { background: rgba(255,255,255,.2); color: #fff; }
.cat-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; transition: all var(--t); }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-name { font-weight: 700; font-size: 1rem; }
.cat-count { font-size: .82rem; color: var(--text-3); }

/* ============================= 10. COMPANIES ============================= */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.company-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }

/* Featured company (gradient border + corner ribbon) */
.company-card--featured {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}
.company-ribbon {
  position: absolute; top: 16px; right: -34px; transform: rotate(45deg);
  background: var(--grad); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 42px; box-shadow: var(--shadow-sm);
}
.company-card--featured .company-logo { box-shadow: var(--shadow-primary); }
.companies-note { text-align: center; color: var(--text-3); font-size: .88rem; margin-top: 22px; }
.company-logo { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; box-shadow: var(--shadow); }
.company-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.company-card .co-loc { font-size: .82rem; color: var(--text-3); margin-bottom: 14px; }
.company-stats { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; }
.company-stats > div { display: flex; flex-direction: column; }
.company-stats b { font-size: 1.05rem; }
.company-stats span { font-size: .74rem; color: var(--text-3); }
.company-stats .co-rating { justify-content: center; font-size: 1.05rem; }

/* ============================= 11. WHY US ============================= */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.why-card { padding: 26px; border-radius: var(--radius-lg); transition: transform var(--t), box-shadow var(--t); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; box-shadow: var(--shadow-primary); }
.why-icon .icon { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--text-2); font-size: .92rem; }

/* ============================= 12. TESTIMONIALS ============================= */
.carousel { position: relative; overflow: hidden; }
.carousel__track { display: flex; transition: transform .6s var(--ease); }
.testi { flex: 0 0 100%; padding: 4px; }
.testi__inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); text-align: center; max-width: 760px; margin: 0 auto; position: relative; box-shadow: var(--shadow); }
.testi__quote { color: var(--primary-soft); position: absolute; top: 22px; left: 28px; }
.testi__quote .icon { width: 54px; height: 54px; color: var(--primary); opacity: .16; }
.testi__stars { display: inline-flex; gap: 3px; color: var(--amber); margin-bottom: 16px; }
.testi__stars .icon { width: 20px; height: 20px; }
.testi__text { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 500; line-height: 1.6; margin-bottom: 26px; }
.testi__person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi__avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.1rem; }
.testi__meta { text-align: left; }
.testi__meta b { display: block; }
.testi__meta span { font-size: .84rem; color: var(--text-3); }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-2); transition: all var(--t); box-shadow: var(--shadow-sm); }
.carousel__btn:hover { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.carousel__dots { display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); transition: all var(--t); }
.dot.active { width: 26px; border-radius: 6px; background: var(--grad); }

/* ============================= 13. BLOG ============================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__img { height: 170px; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; }
.blog-card__img .icon { width: 46px; height: 46px; opacity: .9; position: relative; z-index: 1; }
.blog-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.9); color: var(--primary); font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__body h3 { font-size: 1.1rem; line-height: 1.35; }
.blog-card__body p { color: var(--text-2); font-size: .88rem; flex: 1; }
.blog-card__foot { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--text-3); padding-top: 6px; }
.blog-card__more { color: var(--primary); font-weight: 600; }

/* ============================= 14. FAQ ============================= */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.acc-item.open { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; text-align: left; font-size: 1rem; }
.acc-head .icon { transition: transform var(--t); color: var(--primary); flex: none; }
.acc-item.open .acc-head .icon { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body p { padding: 0 22px 20px; color: var(--text-2); font-size: .92rem; }

/* ============================= 15. NEWSLETTER ============================= */
.newsletter { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 46px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--grad); color: #fff; border: none; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 320px; height: 320px; background: rgba(255,255,255,.12); border-radius: 50%; top: -120px; right: -60px; }
.newsletter__text { position: relative; z-index: 1; }
.newsletter__text h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.newsletter__text p { opacity: .92; max-width: 40ch; }
.newsletter__form { position: relative; z-index: 1; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.newsletter__form .input-icon input { min-width: 260px; border: none; background: rgba(255,255,255,.95); color: #0f172a; padding: 14px 14px 14px 40px; }
.newsletter__form .field__error { color: #fff; font-weight: 600; }
.newsletter__form .btn--primary { background: #fff; color: var(--primary); box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.newsletter__form .btn--primary::after { display: none; }

/* ============================= 16. CONTACT ============================= */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact__list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.contact__form { padding: 28px; border-radius: var(--radius-lg); }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface); font-size: .92rem; transition: border-color var(--t), box-shadow var(--t); width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); outline: none; }
.field__error { color: var(--red); font-size: .78rem; font-weight: 500; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ============================= 17. FOOTER ============================= */
.footer { background: var(--surface-2); border-top: 1px solid var(--border); padding-top: 56px; margin-top: 20px; }
[data-theme="dark"] .footer { background: #0a0e18; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; padding-bottom: 40px; }
.footer__brand p { color: var(--text-2); font-size: .9rem; margin: 14px 0 18px; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-alt); color: var(--text-2); font-weight: 700; font-size: .82rem; transition: all var(--t); }
.social:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.footer__col h4 { font-size: .92rem; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-2); font-size: .88rem; padding: 5px 0; transition: color var(--t), padding-left var(--t); }
.footer__col a:hover { color: var(--primary); padding-left: 5px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--border); color: var(--text-3); font-size: .84rem; }

/* ============================= CONTENT PAGES (footer links) ============================= */
.page-view { padding: clamp(28px,6vw,64px) 0 clamp(40px,6vw,72px); min-height: 62vh; background: var(--bg); }
.page-view__inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px,4vw,48px); box-shadow: var(--shadow); }
.page-back { display: inline-flex; margin-bottom: 14px; }
.page-view__title { font-size: clamp(1.8rem,4vw,2.6rem); margin: 6px 0 8px; }
.page-view__meta { color: var(--text-3); font-size: .85rem; margin-bottom: 18px; }
.page-view__body { color: var(--text-2); font-size: 1.02rem; line-height: 1.75; }
.page-view__body h2 { color: var(--text); font-size: 1.3rem; margin: 1.6em 0 .5em; }
.page-view__body p { margin-bottom: 1em; }
.page-view__body ul { margin: 0 0 1.2em; padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.page-view__body li { position: relative; padding-left: 26px; list-style: none; }
.page-view__body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--grad); }
.page-view__body a { color: var(--primary); font-weight: 600; }
.page-view__body a:hover { text-decoration: underline; }
.page-note { font-size: .88rem; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 8px; }
.page-view__foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ============================= 18. SCROLL TOP ============================= */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-primary);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: all var(--t);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { transform: translateY(-3px) scale(1.05); }

/* ============================= 19. MODALS ============================= */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity var(--t), visibility var(--t); }
.modal.open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(8,11,22,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  width: min(560px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.96); transition: transform .4s var(--ease-back); padding: 28px;
}
.modal__panel--wide { width: min(760px, 100%); }
.modal.open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); background: var(--bg-alt); z-index: 3; transition: all var(--t); }
.modal__close:hover { background: var(--red-soft); color: var(--red); transform: rotate(90deg); }

/* Job modal content */
.jm-head { display: flex; gap: 16px; align-items: flex-start; padding-right: 44px; margin-bottom: 20px; }
.jm-logo { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; flex: none; box-shadow: var(--shadow); }
.jm-head h2 { font-size: 1.45rem; }
.jm-head .co { color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.jm-weblink { color: var(--primary); font-weight: 600; }
.jm-weblink:hover { text-decoration: underline; }
.jm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.jm-section { margin-bottom: 22px; }
.jm-section h4 { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.jm-section h4::before { content: ""; width: 4px; height: 16px; border-radius: 3px; background: var(--grad); }
.jm-section p { color: var(--text-2); font-size: .92rem; }
.jm-list { display: flex; flex-direction: column; gap: 9px; }
.jm-list li { display: flex; gap: 10px; color: var(--text-2); font-size: .92rem; }
.jm-list li .icon { color: var(--green); flex: none; margin-top: 3px; }
.jm-salary-box { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.jm-salary-box b { font-size: 1.4rem; }
.jm-salary-box span { font-size: .82rem; color: var(--text-2); }
.jm-actions { display: flex; gap: 12px; position: sticky; bottom: 0; background: var(--surface); padding-top: 12px; }
.jm-actions .btn { flex: 1; }

/* Apply */
.apply h3 { font-size: 1.4rem; padding-right: 40px; }
.apply__company { color: var(--text-2); margin-bottom: 20px; }
.upload { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px; border: 2px dashed var(--border-strong); border-radius: var(--radius); text-align: center; cursor: pointer; color: var(--text-2); transition: all var(--t); }
.upload:hover, .upload.drag { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.upload .icon { width: 30px; height: 30px; color: var(--primary); }
.upload b { color: var(--primary); }
.upload.has-file { border-style: solid; border-color: var(--green); background: var(--green-soft); color: var(--green); }
.apply__success { text-align: center; padding: 20px 10px; }
.success-check { width: 82px; height: 82px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s var(--ease-back); }
.success-check .icon { width: 42px; height: 42px; }
.apply__success h3 { margin-bottom: 8px; }
.apply__success p { color: var(--text-2); margin-bottom: 20px; }

/* ============================= 20. DASHBOARD DRAWER ============================= */
.dash { position: fixed; inset: 0; z-index: 480; visibility: hidden; opacity: 0; transition: opacity var(--t), visibility var(--t); }
.dash.open { visibility: visible; opacity: 1; }
.dash__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(900px, 100%);
  background: var(--bg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease); border-left: 1px solid var(--border);
}
.dash.open .dash__panel { transform: none; }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--border); background: var(--surface); }
.dash__title { display: flex; align-items: center; gap: 14px; }
.dash__badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.dash__title h3 { font-size: 1.2rem; }
.dash__title p { color: var(--text-3); font-size: .86rem; }
.dash__tabs { display: flex; gap: 4px; padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--border); overflow-x: auto; }
.dash-tab { padding: 9px 16px; border-radius: var(--radius-pill); font-size: .88rem; font-weight: 600; color: var(--text-2); white-space: nowrap; display: flex; align-items: center; gap: 7px; transition: all var(--t); }
.dash-tab .icon { width: 16px; height: 16px; }
.dash-tab:hover { background: var(--bg-alt); }
.dash-tab.active { background: var(--primary-soft); color: var(--primary); }
.dash__body { flex: 1; overflow-y: auto; padding: 26px; }

/* Dashboard widgets */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kpi__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 12px; }
.kpi__num { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.kpi__label { font-size: .82rem; color: var(--text-3); }
.kpi__trend { font-size: .76rem; font-weight: 600; color: var(--green); }

.dash-panel { display: none; animation: fadeIn .4s var(--ease); }
.dash-panel.active { display: block; }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.dash-card > h4 { margin-bottom: 4px; font-size: 1.05rem; }
.dash-card > .sub { color: var(--text-3); font-size: .85rem; margin-bottom: 16px; }

.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.list-row:first-of-type { border-top: none; }
.list-row .job-logo { width: 44px; height: 44px; border-radius: 12px; font-size: .9rem; }
.list-row__main { flex: 1; min-width: 0; }
.list-row__main b { display: block; font-size: .95rem; }
.list-row__main span { font-size: .82rem; color: var(--text-3); }
.status-badge { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.st-review { background: var(--amber-soft); color: var(--amber); }
.st-interview { background: var(--sky-soft); color: var(--accent); }
.st-active { background: var(--green-soft); color: var(--green); }
.st-closed { background: var(--red-soft); color: var(--red); }
.st-new { background: var(--primary-soft); color: var(--primary); }

/* mini bar chart */
.barchart { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 10px; }
.barchart .bar { flex: 1; background: var(--grad); border-radius: 8px 8px 0 0; position: relative; min-height: 6px; transition: height .8s var(--ease); }
.barchart .bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--text-3); }
.barchart .bar b { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--text-2); font-weight: 600; }

.profile-form .grid-2 { gap: 0 16px; }
.notif { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.notif:first-child { border-top: none; }
.notif__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); margin-top: 6px; flex: none; }
.notif__dot.read { background: var(--border-strong); }
.notif p { font-size: .9rem; }
.notif small { color: var(--text-3); font-size: .78rem; }
.empty-mini { text-align: center; color: var(--text-3); padding: 30px; font-size: .9rem; }

.dash-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dash-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.dash-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.dash-table tr:hover td { background: var(--bg-alt); }
.avatar-sm { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 700; }

/* toggle switch */
.switch { width: 46px; height: 26px; border-radius: 999px; background: var(--border-strong); position: relative; flex: none; transition: background var(--t); }
.switch.on { background: var(--grad); }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t); }
.switch.on .switch__knob { transform: translateX(20px); }

/* ============================= 21. TOASTS ============================= */
.toasts { position: fixed; bottom: 22px; left: 22px; z-index: 700; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  animation: toastIn .4s var(--ease-back); border-left: 4px solid var(--primary);
}
.toast.out { animation: toastOut .3s var(--ease) forwards; }
.toast__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.toast--success { border-left-color: var(--green); } .toast--success .toast__ic { background: var(--green-soft); color: var(--green); }
.toast--info { border-left-color: var(--accent); } .toast--info .toast__ic { background: var(--sky-soft); color: var(--accent); }
.toast--warn { border-left-color: var(--amber); } .toast--warn .toast__ic { background: var(--amber-soft); color: var(--amber); }
.toast--error { border-left-color: var(--red); } .toast--error .toast__ic { background: var(--red-soft); color: var(--red); }
.toast__body b { display: block; font-size: .9rem; }
.toast__body span { font-size: .82rem; color: var(--text-2); }

/* ============================= 22. KEYFRAMES ============================= */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.5); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-30px); } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* skeleton loading */
.skeleton { background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 37%, var(--bg-alt) 63%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); }
.sk-card { height: 260px; }

/* ============================= 23. RESPONSIVE ============================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .hero__sub { max-width: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .jobs__layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 90%); z-index: 460; border-radius: 0;
    transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; max-height: 100vh;
  }
  .filters.open { transform: none; box-shadow: var(--shadow-lg); }
  .filter-toggle { display: inline-flex; }
  .contact { grid-template-columns: 1fr; }
  .newsletter { text-align: center; justify-content: center; }
  .newsletter__form { justify-content: center; }
}
@media (max-width: 620px) {
  .searchbar { grid-template-columns: 1fr; }
  .searchbar__field::after { display: none; }
  .searchbar__field { border: 1px solid var(--border); }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--center { align-items: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { gap: 20px 28px; }
  .modal__panel { padding: 22px 18px; }
  .dash__body { padding: 18px; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .jm-actions { flex-direction: column; }
}

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

/* Filters backdrop (mobile) */
.filters-backdrop { position: fixed; inset: 0; background: rgba(8,11,22,.5); z-index: 455; opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.filters-backdrop.open { opacity: 1; visibility: visible; }
