/* ============================================================
   Jobnesia — design system
   Gaya: bersih, banyak putih, ramah dipakai. Warna brand dari logo:
   hijau #2FC63F ("Job") + biru #29ABE2 ("nesia").
   Struktur:
     1. Token        2. Reset & dasar      3. Tata letak
     4. Navbar       5. Tombol             6. Formulir
     7. Kartu        8. Badge & pill       9. Kartu lowongan
    10. Komponen      11. Dashboard/table  12. Halaman & responsif
   ============================================================ */

/* ---------------- 1. Token ---------------- */
:root {
  /* Brand (persis logo) */
  --green: #2FC63F;
  --blue: #29ABE2;
  /* Turunan untuk aksi — lebih gelap supaya teks putih tetap kontras */
  --primary: #16A02A;
  --primary-dark: #0F8A22;
  --primary-darker: #0A6E1A;
  --primary-soft: #E8FAEA;
  --primary-line: #C6EFCD;
  --accent: #1E8FC9;
  --accent-dark: #16749F;
  --accent-soft: #E6F4FC;
  --grad: linear-gradient(135deg, #2FC63F 0%, #29ABE2 100%);
  --grad-strong: linear-gradient(135deg, #16A02A 0%, #1E8FC9 100%);

  /* Teks & permukaan */
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  /* Versi lebih gelap dari --muted untuk teks di atas latar berwarna/muted
     (mis. harga pada kartu paket terkunci) supaya tetap lolos kontras AA 4.5:1 */
  --muted-strong: #5A6B82;
  --line: #E6EAF1;
  --line-2: #D5DCE7;
  --soft: #F4F6FA;
  --soft-2: #EEF2F8;
  --bg: #F7F9FC;
  --white: #FFFFFF;

  /* Status */
  --ok: #0B7A2E;      --ok-bg: #E8FAEA;
  --warn: #B54708;    --warn-bg: #FFFAEB;
  --danger: #B42318;  --danger-bg: #FEF3F2;
  --info: #146C99;    --info-bg: #E6F4FC;
  --violet: #6941C6;  --violet-bg: #F4F3FF;

  /* Bentuk */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Bayangan (lembut, berlapis) */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --sh: 0 4px 14px rgba(15, 23, 42, .07);
  --sh-md: 0 10px 28px rgba(15, 23, 42, .09);
  --sh-lg: 0 22px 48px rgba(15, 23, 42, .13);
  --sh-brand: 0 8px 22px rgba(22, 160, 42, .28);

  /* Spasi (kelipatan 4) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px;

  /* Gerak */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --fast: .16s var(--ease);
  --slow: .3s var(--ease);

  --nav-h: 68px;
}

/* ---------------- 2. Reset & dasar ---------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0 0 10px; color: var(--ink); letter-spacing: -.021em; line-height: 1.22; }
h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h2 { font-size: 24px; font-weight: 750; }
h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: 15px; font-weight: 700; }
p { margin: 0 0 12px; }
a { color: var(--primary-dark); text-decoration: none; transition: color var(--fast); }
a:hover { color: var(--primary-darker); }
img { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
strong, b { font-weight: 700; }

/* Fokus keyboard yang jelas (aksesibilitas) */
:focus-visible {
  outline: 3px solid rgba(41, 171, 226, .45);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
::selection { background: var(--primary-soft); color: var(--primary-darker); }

/* Utilitas */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: 13.2px; }
.tiny { font-size: 12.2px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.bold { font-weight: 700; }
.hide { display: none !important; }
.pre-line { white-space: pre-line; }
.grow { flex: 1 1 auto; min-width: 0; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center-x { justify-content: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--s2); } .gap-2 { gap: var(--s4); } .gap-3 { gap: var(--s6); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: var(--s2); } .mt-2 { margin-top: var(--s4); }
.mt-3 { margin-top: var(--s6); } .mt-4 { margin-top: var(--s7); } .mt-5 { margin-top: var(--s9); }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: var(--s2); } .mb-2 { margin-bottom: var(--s4); }
.mb-3 { margin-bottom: var(--s6); } .mb-4 { margin-bottom: var(--s7); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------- 3. Tata letak ---------------- */
.section { padding: var(--s9) 0; }
.section-sm { padding: var(--s7) 0; }
.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.split { display: grid; gap: var(--s6); align-items: start; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); }
.split-13 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split-15 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.main-sticky { position: sticky; top: calc(var(--nav-h) + 18px); }
.sec-title {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s5);
}
.sec-title h2 { margin: 0; }
.sec-title .sub { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.see-all { font-size: 14px; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.see-all svg { transition: transform var(--fast); }
.see-all:hover svg { transform: translateX(3px); }

/* ---------------- 4. Navbar ---------------- */
.navbar {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.navbar-inner { display: flex; align-items: center; gap: var(--s6); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-logo { display: block; flex: 0 0 auto; overflow: visible; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: var(--s1); }
.nav-links > a {
  color: var(--ink-2); font-weight: 550; font-size: 14.2px;
  padding: 9px 13px; border-radius: var(--r-sm); white-space: nowrap;
  transition: background var(--fast), color var(--fast);
}
.nav-links > a:hover { background: var(--soft); color: var(--ink); }
.nav-links > a.active { background: var(--primary-soft); color: var(--primary-darker); font-weight: 700; }
.nav-links .btn { margin-left: var(--s1); }
.nav-user {
  display: flex; align-items: center; gap: var(--s2);
  padding-left: var(--s4); margin-left: var(--s2); border-left: 1px solid var(--line);
}
.nav-user-name {
  font-size: 13.8px; font-weight: 650; max-width: 150px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-toggle {
  display: none; margin-left: auto; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: transform var(--fast), opacity var(--fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .38);
  z-index: 50; opacity: 0; transition: opacity var(--slow);
}
.nav-backdrop.show { display: block; opacity: 1; }

/* ---------------- 5. Tombol ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-family: inherit; font-size: 14.2px; font-weight: 650; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  position: relative; transition: transform var(--fast), box-shadow var(--fast), background var(--fast), border-color var(--fast), color var(--fast);
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--grad-strong); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(22, 160, 42, .34); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: #FBFFFC; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-soft { background: var(--primary-soft); color: var(--primary-darker); }
.btn-soft:hover { background: #D8F4DE; color: var(--primary-darker); }
.btn-danger { background: var(--danger-bg); color: var(--danger); border-color: #FDA29B; }
.btn-danger:hover { background: #FEE4E2; color: var(--danger); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1E293B; color: #fff; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 13.2px; border-radius: var(--r-xs); }
.btn-lg { min-height: 50px; padding: 14px 26px; font-size: 15.4px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
/* status memuat (mencegah klik ganda) */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading:after {
  content: ''; position: absolute; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55); border-top-color: #fff;
  animation: spin .65s linear infinite;
}
.btn-outline.is-loading:after, .btn-ghost.is-loading:after {
  border-color: var(--line-2); border-top-color: var(--primary);
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: #fff; display: inline-grid; place-items: center; cursor: pointer;
  color: var(--muted); transition: all var(--fast); flex: 0 0 auto;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary-dark); background: #FBFFFC; }
.icon-btn.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); }

/* ---------------- 6. Formulir ---------------- */
.field { margin-bottom: var(--s4); }
.label { display: block; font-size: 13.4px; font-weight: 650; color: var(--ink-2); margin-bottom: 7px; }
.hint { font-size: 12.4px; color: var(--muted); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: inherit; font-size: 14.6px; color: var(--ink); background: #fff;
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
}
.input::placeholder, .textarea::placeholder { color: #94A3B8; }
.input:hover, .select:hover, .textarea:hover { border-color: #C3CCDA; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 160, 42, .13);
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.62; }
.select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 17px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s5); }
.check {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2);
  cursor: pointer; padding: 3px 0;
}
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: 0 0 auto; }
.file-input { padding: 10px; background: #fff; }
.file-input::file-selector-button {
  font-family: inherit; font-size: 13.4px; font-weight: 650; color: var(--ink-2);
  background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--r-xs);
  padding: 7px 13px; margin-right: 12px; cursor: pointer;
}
.filter-bar { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: flex-end; }
.filter-bar .field { margin-bottom: 0; flex: 1 1 165px; }
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all var(--fast);
}
.chip.active, .chip:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }
.chip .chip-x { display: inline-grid; place-items: center; color: currentColor; opacity: .7; }
.chip .chip-x:hover { opacity: 1; }
.chip-row { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }

/* ---------------- 7. Kartu ---------------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s6); box-shadow: var(--sh-xs);
}
.card-tight { padding: var(--s4); }
.card-flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.card-head h2, .card-head h3 { margin: 0; }
.card-soft { background: var(--soft); border-color: transparent; box-shadow: none; }
a.card { color: inherit; display: block; transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast); }
a.card:hover { border-color: var(--primary-line); box-shadow: var(--sh); transform: translateY(-2px); }

/* ---------------- 8. Badge & pill ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12.1px; font-weight: 650; line-height: 1.5; white-space: nowrap;
}
.badge-neutral { background: var(--soft-2); color: var(--ink-2); }
.badge-success { background: var(--ok-bg); color: var(--ok); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-warning { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-violet { background: var(--violet-bg); color: var(--violet); }
.badge-brand { background: var(--primary-soft); color: var(--primary-darker); }
.badge-pro { background: var(--grad); color: #fff; font-size: 10.5px; letter-spacing: .05em; padding: 3px 8px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: var(--soft); color: var(--ink-2); font-size: 12.4px; font-weight: 550;
}
.pill svg { width: 14px; height: 14px; color: var(--muted); flex: 0 0 auto; }
.pill-list { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------------- 9. Kartu lowongan ---------------- */
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--slow), transform var(--slow), border-color var(--slow);
}
.job-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: var(--primary-line); }
.job-card-top { display: flex; gap: var(--s3); align-items: flex-start; }
.job-card h3 { margin: 0 0 5px; font-size: 16.6px; line-height: 1.35; }
.job-card h3 a { color: var(--ink); }
.job-card h3 a:hover { color: var(--primary-darker); }
.job-card h3 a:after { content: ''; position: absolute; inset: 0; } /* seluruh kartu bisa diklik */
.job-card { position: relative; }
.job-card .logo, .job-card .pill-list, .job-card-foot { position: relative; z-index: 1; }
.company-line { font-size: 13.4px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.job-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  border-top: 1px solid var(--line); padding-top: var(--s3); margin-top: auto;
}
.salary { font-weight: 750; color: var(--primary-darker); font-size: 14.6px; display: inline-flex; align-items: center; gap: 7px; }
.salary svg { color: var(--primary); }
.job-card-actions { display: flex; align-items: center; gap: var(--s2); }

.logo {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden;
  background: var(--primary-soft); color: var(--primary-darker);
  font-weight: 800; font-size: 17px; letter-spacing: -.02em;
  border: 1px solid var(--primary-line);
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-lg { width: 76px; height: 76px; font-size: 25px; border-radius: var(--r-lg); }
.logo-sm { width: 40px; height: 40px; font-size: 13.6px; border-radius: var(--r-sm); }

.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden;
  background: var(--primary-soft); color: var(--primary-darker);
  font-weight: 700; font-size: 15px; border: 1px solid var(--primary-line);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 32px; height: 32px; font-size: 12.2px; }
.avatar-lg { width: 64px; height: 64px; font-size: 21px; }
.avatar-menu { display: flex; align-items: center; gap: var(--s2); }
.thumb-preview { width: 74px; height: 74px; border-radius: var(--r); border: 1px solid var(--line); object-fit: cover; }

/* ---------------- 10. Komponen ---------------- */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 62px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 340px at 8% -12%, #DCF8DE 0%, rgba(220, 248, 222, 0) 68%),
    radial-gradient(620px 320px at 96% -4%, #E3F2FC 0%, rgba(227, 242, 252, 0) 66%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.hero-inner { display: grid; gap: var(--s6); max-width: 850px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); max-width: 760px; margin-bottom: 14px; }
.hero .lead { font-size: 16.6px; color: var(--muted); max-width: 620px; margin-bottom: 0; }
.hero .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.search-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 12px; box-shadow: var(--sh-md);
  display: grid; grid-template-columns: 1.45fr 1fr auto; gap: var(--s2); align-items: center;
}
.search-field {
  display: flex; align-items: center; gap: 10px; padding: 4px 12px;
  border-right: 1px solid var(--line);
}
.search-card .search-field:last-of-type { border-right: 0; }
.search-field svg { width: 19px; height: 19px; color: var(--muted); flex: 0 0 auto; }
.search-field input {
  border: 0; outline: none; width: 100%; min-height: 44px;
  font-family: inherit; font-size: 14.8px; color: var(--ink); background: transparent;
}
.search-field input::placeholder { color: #94A3B8; }
.hero-tags { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.hero-tags .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s7); }
.hero-stat {
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px; backdrop-filter: blur(6px);
}
.hero-stat b { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.hero-stat span { font-size: 12.6px; color: var(--muted); }

/* Kategori */
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s5); display: flex; flex-direction: column; gap: 10px;
  color: inherit; box-shadow: var(--sh-xs); position: relative;
  transition: all var(--slow);
}
.cat-tile:hover { border-color: var(--primary-line); box-shadow: var(--sh); transform: translateY(-3px); color: inherit; }
.cat-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-darker); flex: 0 0 auto;
}
.cat-tile:nth-child(4n+2) .cat-ico { background: var(--accent-soft); color: var(--accent-dark); }
.cat-tile:nth-child(4n+3) .cat-ico { background: #F1FCF3; color: var(--primary-darker); }
.cat-tile:nth-child(4n+4) .cat-ico { background: #EFF7FD; color: var(--accent-dark); }
.cat-tile b { font-size: 14.6px; color: var(--ink); }
.cat-tile span { font-size: 12.6px; color: var(--muted); }
.cat-tile .cat-arrow { position: absolute; right: 16px; top: 16px; color: var(--muted); opacity: 0; transition: all var(--fast); }
.cat-tile:hover .cat-arrow { opacity: 1; transform: translateX(2px); }

/* Langkah / fitur */
.step { display: flex; gap: var(--s4); }
.step-num {
  width: 42px; height: 42px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: var(--grad); box-shadow: 0 6px 14px rgba(22, 160, 42, .2);
}
.step b { display: block; font-size: 14.8px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s5); box-shadow: var(--sh-xs);
}
.stat-card .k { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 9px; font-weight: 550; }
.stat-card .v { font-size: 28px; font-weight: 800; margin-top: 8px; letter-spacing: -.03em; line-height: 1.15; }
.stat-ico {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-darker); flex: 0 0 auto;
}
.stat-ico svg { width: 18px; height: 18px; }
.stat-trend { font-size: 12.4px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.stat-trend.up { color: var(--ok); }
.stat-trend.flat { color: var(--muted); }

/* Kerangka & kosong */
.skeleton { background: linear-gradient(90deg, var(--soft) 25%, var(--soft-2) 37%, var(--soft) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: var(--r-xs); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.empty { text-align: center; padding: var(--s9) var(--s5); }
.empty-ico {
  width: 66px; height: 66px; border-radius: var(--r-lg); background: var(--soft);
  display: grid; place-items: center; margin: 0 auto var(--s4); color: var(--muted);
}
.empty-ico svg { width: 30px; height: 30px; }
.empty b { display: block; font-size: 16.4px; margin-bottom: 6px; }
.empty p { max-width: 420px; margin-left: auto; margin-right: auto; }

/* Alert (pesan di dalam halaman) */
.alert {
  padding: 13px 16px; border-radius: var(--r-sm); font-size: 14px;
  margin-bottom: var(--s3); border: 1px solid transparent;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.55;
}
.alert svg { flex: 0 0 auto; margin-top: 2px; }
.alert-success { background: var(--ok-bg); color: var(--ok); border-color: #A6F4C5; }
.alert-danger { background: var(--danger-bg); color: var(--danger); border-color: #FDA29B; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #B6DEFF; }
.alert-warning { background: var(--warn-bg); color: var(--warn); border-color: #FEDF89; }

/* Toast (notifikasi mengambang) */
.toast-stack {
  position: fixed; top: calc(var(--nav-h) + 14px); right: 18px; z-index: 120;
  display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px));
}
.toast {
  display: flex; align-items: flex-start; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: var(--r-sm); padding: 14px 15px; box-shadow: var(--sh-lg);
  animation: toastIn .34s var(--ease);
}
.toast.leaving { animation: toastOut .26s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(16px); } }
.toast-ico { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.toast-msg { font-size: 13.8px; line-height: 1.5; color: var(--ink-2); flex: 1 1 auto; }
.toast-x { background: transparent; border: 0; cursor: pointer; color: var(--muted); padding: 2px; border-radius: 6px; flex: 0 0 auto; }
.toast-x:hover { color: var(--ink); background: var(--soft); }
.toast-success { border-left-color: var(--primary); }
.toast-success .toast-ico { background: var(--ok-bg); color: var(--ok); }
.toast-danger { border-left-color: var(--danger); }
.toast-danger .toast-ico { background: var(--danger-bg); color: var(--danger); }
.toast-info { border-left-color: var(--blue); }
.toast-info .toast-ico { background: var(--info-bg); color: var(--info); }
.toast-warning { border-left-color: #F79009; }
.toast-warning .toast-ico { background: var(--warn-bg); color: var(--warn); }

/* Stepper status lamaran */
.stepper { display: grid; gap: 0; margin-top: var(--s4); }
.step-item { display: grid; grid-template-columns: 34px 1fr; gap: var(--s3); position: relative; padding-bottom: var(--s5); }
.step-item:last-child { padding-bottom: 0; }
.step-item:before {
  content: ''; position: absolute; left: 16px; top: 30px; bottom: 0;
  width: 2px; background: var(--line);
}
.step-item:last-child:before { display: none; }
.step-dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-2); color: var(--muted);
  font-size: 13px; font-weight: 700; z-index: 1;
}
.step-item.done .step-dot { background: var(--grad); border-color: transparent; color: #fff; }
.step-item.current .step-dot { background: #fff; border-color: var(--primary); color: var(--primary-darker); box-shadow: 0 0 0 4px rgba(22, 160, 42, .13); }
.step-item.done:before { background: var(--primary-line); }
.step-item.danger .step-dot { background: var(--danger-bg); border-color: #FDA29B; color: var(--danger); }
.step-item.danger .step-label { color: var(--danger); }
.step-item.danger:before { background: var(--line); }
.step-label { font-weight: 700; font-size: 14.4px; }
.step-item.pending .step-label { color: var(--muted); font-weight: 600; }
.step-when { font-size: 12.6px; color: var(--muted); }
.step-note {
  margin-top: 8px; background: #FCFDFF; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 13px; font-size: 13.4px; color: var(--ink-2);
}

/* Timeline (riwayat) */
.timeline { position: relative; margin-top: var(--s3); padding-left: 24px; }
.timeline:before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: var(--s5); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:before {
  content: ''; position: absolute; left: -24px; top: 5px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--line-2);
}
.tl-item.done:before { background: var(--green); border-color: var(--green); }
.tl-item b { display: block; font-size: 14.2px; }
.tl-item .when { font-size: 12.6px; color: var(--muted); }

/* Bar & chart */
.bar-row { display: grid; grid-template-columns: 148px 1fr 44px; align-items: center; gap: var(--s3); margin-bottom: var(--s3); font-size: 13.4px; }
.bar-track { background: var(--soft-2); border-radius: var(--r-pill); height: 9px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-pill); background: var(--grad); transition: width var(--slow); }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.col-chart { display: flex; align-items: flex-end; gap: 6px; height: 132px; padding-top: 18px; border-bottom: 1px solid var(--line); }
.col-chart .col {
  flex: 1; background: linear-gradient(180deg, var(--blue), var(--green));
  border-radius: 6px 6px 0 0; min-height: 4px; position: relative;
  transition: opacity var(--fast);
}
.col-chart .col:hover { opacity: .78; }
.col-chart .col span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); font-weight: 650; }
.chart-axis { display: flex; justify-content: space-between; margin-top: var(--s2); font-size: 12px; color: var(--muted); }

/* Pagination */
.pagination { display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s7); flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 13px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  color: var(--ink-2); font-size: 14px; font-weight: 650; transition: all var(--fast);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-dark); background: #FBFFFC; }
.pagination .current { background: var(--grad-strong); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }

/* Tab / segmented */
.tabs {
  display: flex; gap: 6px; padding: 5px; background: var(--soft);
  border-radius: 14px; margin-bottom: var(--s6); overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  padding: 9px 15px; font-size: 13.6px; font-weight: 650; color: var(--muted);
  border-radius: 10px; white-space: nowrap; transition: all var(--fast);
}
.tabs a:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.tabs a.active { background: #fff; color: var(--primary-darker); box-shadow: var(--sh-sm); }
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--soft); padding: 6px; border-radius: 14px; margin-bottom: var(--s6); }
.role-tabs a {
  text-align: center; padding: 11px; border-radius: 10px; font-size: 14px;
  font-weight: 650; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 7px;
}
.role-tabs a.active { background: #fff; color: var(--primary-darker); box-shadow: var(--sh-sm); }

/* Pembayaran */
.pay-methods { display: grid; gap: var(--s2); }
.pay-option {
  display: flex; align-items: center; gap: var(--s3); padding: 14px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
  background: #fff; transition: all var(--fast);
}
.pay-option:hover { border-color: var(--primary); background: #FBFFFC; }
.pay-option input { accent-color: var(--primary); width: 19px; height: 19px; flex: 0 0 auto; }
.pay-option.sel, .pay-option:has(input:checked) {
  border-color: var(--primary); background: #F7FDF8;
  box-shadow: 0 0 0 3px rgba(22, 160, 42, .1);
}
.pay-option .pm-ico {
  width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--soft);
  display: grid; place-items: center; font-weight: 800; color: var(--ink-2); font-size: 12px; flex: 0 0 auto;
}
.summary-row { display: flex; justify-content: space-between; gap: var(--s3); padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-total { display: flex; justify-content: space-between; padding-top: var(--s4); margin-top: var(--s2); border-top: 1px solid var(--line); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.plan-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6);
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--sh-xs);
}
.plan-card.hl { border-color: var(--primary); box-shadow: 0 16px 40px rgba(22, 160, 42, .16); position: relative; }
.plan-card.hl:before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--grad); border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.plan-price { font-size: 33px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-feats { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 11px; }
.plan-feats svg { color: var(--primary); flex: 0 0 auto; margin-top: 3px; }

/* Pemilih paket saat memasang lowongan */
.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.pkg { position: relative; display: block; cursor: pointer; }
.pkg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pkg-body {
  display: block; height: 100%; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--r); padding: var(--s5);
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
}
.pkg:hover .pkg-body { border-color: var(--primary); background: #FBFFFC; }
.pkg input:checked + .pkg-body {
  border-color: var(--primary); background: #F7FDF8;
  box-shadow: 0 0 0 3px rgba(22, 160, 42, .12);
}
.pkg input:focus-visible + .pkg-body { outline: 3px solid rgba(41, 171, 226, .45); outline-offset: 2px; }
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: 8px; }
.pkg-name { font-weight: 700; font-size: 14.8px; display: flex; align-items: center; gap: 7px; }
.pkg-price { font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.pkg-price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pkg-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.pkg-feats { list-style: none; padding: 0; margin: 12px 0 0; }
.pkg-feats li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.2px; color: var(--ink-2); margin-bottom: 7px; }
.pkg-feats li:last-child { margin-bottom: 0; }
.pkg-feats svg { color: var(--primary); flex: 0 0 auto; margin-top: 3px; }
.pkg-pick { position: absolute; top: 13px; right: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-strong); color: #fff; display: none; place-items: center; }
.pkg input:checked ~ .pkg-pick { display: grid; }
/* Paket yang tidak tersedia (mis. kuota gratis sudah terpakai) */
.pkg.is-disabled { cursor: not-allowed; }
.pkg.is-disabled .pkg-body {
  background: var(--soft); border-style: dashed; border-color: var(--line-2);
  box-shadow: none; opacity: .92;
}
.pkg.is-disabled:hover .pkg-body { background: var(--soft); border-color: var(--line-2); }
.pkg.is-disabled .pkg-price { color: var(--muted-strong); }
.pkg.is-disabled .pkg-price small { color: var(--muted-strong); }
.pkg.is-disabled .pkg-feats li { color: var(--muted-strong); }
.pkg.is-disabled .pkg-feats svg { color: var(--muted-strong); }
@media (max-width: 640px) { .pkg-grid { grid-template-columns: minmax(0, 1fr); } }

/* Countdown langganan */
.countdown {
  background: linear-gradient(135deg, #ECFBEE, #E9F5FD);
  border: 1px solid var(--primary-line); border-radius: var(--r);
  padding: var(--s5); box-shadow: var(--sh-xs);
}

/* Daftar isi & breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); margin: var(--s5) 0 var(--s4); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-dark); }
.kv { display: grid; grid-template-columns: 155px 1fr; gap: 11px var(--s4); font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 550; }
.divider-text { display: flex; align-items: center; gap: var(--s3); color: var(--muted); font-size: 12.8px; margin: var(--s5) 0; }
.divider-text:before, .divider-text:after { content: ''; height: 1px; background: var(--line); flex: 1; }
.demo-accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }

/* ---------------- 11. Dashboard ---------------- */
.dash { display: grid; grid-template-columns: 254px minmax(0, 1fr); gap: var(--s7); padding: var(--s7) 0 64px; align-items: start; }
.dash-main { min-width: 0; }
.side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s3); position: sticky; top: calc(var(--nav-h) + 18px); box-shadow: var(--sh-xs);
}
.side-profile { display: flex; gap: var(--s3); align-items: center; padding: 10px 10px var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s3); }
.side-profile b { font-size: 14.2px; display: block; line-height: 1.35; }
.side-profile span span { display: block; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: 14px; font-weight: 550; transition: all var(--fast);
}
.side-nav a:hover { background: var(--soft); color: var(--ink); }
.side-nav a.active { background: var(--primary-soft); color: var(--primary-darker); font-weight: 700; }
.side-nav svg { flex: 0 0 auto; }
.side-cta { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); flex-wrap: wrap; }
.page-head h1 { font-size: 25px; margin-bottom: 5px; }
.page-head .lead-sm { color: var(--muted); font-size: 14px; margin: 0; max-width: 620px; }

/* Tabel */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-xs); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.table th {
  text-align: left; font-size: 12.2px; text-transform: uppercase; letter-spacing: .045em;
  color: var(--muted); font-weight: 700; padding: 14px 16px;
  background: #FAFBFD; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.table td { padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.table tbody tr:last-child td { border-bottom: 0; }
table.table tbody tr { transition: background var(--fast); }
table.table tbody tr:hover { background: #FCFDFE; }
.applicant { display: flex; gap: var(--s3); align-items: flex-start; }

/* ---------------- 12. Halaman auth ---------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.02fr .98fr; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff;
  padding: 52px 48px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(560px 300px at 12% 4%, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 62%),
    linear-gradient(150deg, #16A02A 0%, #29ABE2 100%);
}
.auth-aside .brand { color: #fff; }
.auth-aside h2 { color: #fff; font-size: 31px; max-width: 430px; letter-spacing: -.025em; }
.auth-aside p { color: rgba(255, 255, 255, .92); max-width: 420px; }
.auth-points { list-style: none; padding: 0; margin: var(--s6) 0 0; }
.auth-points li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; color: rgba(255, 255, 255, .96); font-size: 14.6px; }
.auth-points svg { flex: 0 0 auto; margin-top: 3px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #fff; }
.auth-card { width: 100%; max-width: 442px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: var(--s9); padding: var(--s8) 0 var(--s6); }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: var(--s8); }
.footer-col h4 { margin-bottom: var(--s3); font-size: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--primary-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* Tab bar bawah (mobile, untuk pengguna yang login) */
.tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 6px max(10px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom));
}
.tabbar-inner { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 4px; font-size: 11.2px; font-weight: 600; color: var(--muted); border-radius: var(--r-sm);
}
.tabbar a.active { color: var(--primary-darker); }
.tabbar a.active svg { color: var(--primary); }
.tabbar a:hover { color: var(--ink-2); }

/* CTA tetap di bawah (detail lowongan, mobile) */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  gap: var(--s3); align-items: center;
}
.mobile-cta .grow { min-width: 0; }

/* Teks kaya (deskripsi lowongan, kualifikasi, benefit) */
.rich { color: var(--ink-2); font-size: 14.8px; line-height: 1.72; }
.rich p { margin: 0 0 11px; }
.rich p:last-child { margin-bottom: 0; }
.rich .list, .rich ul { margin: 0 0 13px; padding-left: 0; list-style: none; }
.rich ul:last-child { margin-bottom: 0; }
.rich li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.rich li:last-child { margin-bottom: 0; }
.rich li:before {
  content: ''; position: absolute; left: 6px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s4); }
.sec-h .sec-ico {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-darker); flex: 0 0 auto;
}
.sec-h h2, .sec-h h3 { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.fact {
  background: var(--soft); border-radius: var(--r-sm); padding: 13px 15px;
}
.fact .k { font-size: 12.4px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.fact .v { font-size: 15.2px; font-weight: 700; margin-top: 4px; letter-spacing: -.015em; }

/* ---------------- Responsif ---------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .split, .split-13, .split-15 { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .side-nav { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .side-nav a { white-space: nowrap; }
  .side-profile { display: none; }
  .side-cta { display: none; }
  .main-sticky { position: static; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { padding-bottom: 68px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; top: var(--nav-h); right: 0; bottom: 0; width: min(330px, 86vw);
    background: #fff; border-left: 1px solid var(--line); padding: 18px 20px 28px;
    box-shadow: -12px 0 40px rgba(15, 23, 42, .13); z-index: 55; overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: drawerIn .3s var(--ease); }
  @keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
  .nav-links > a { padding: 13px 14px; font-size: 15px; }
  .nav-links .btn { width: 100%; margin: var(--s2) 0 0; }
  .nav-user { border-left: 0; border-top: 1px solid var(--line); padding: var(--s4) 0 0; margin: var(--s3) 0 0; }

  .grid-jobs, .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .form-grid, .form-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 44px 0 38px; }
  .search-card { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 8px; }
  .search-card .search-field:last-of-type { border-bottom: 0; }
  .search-card .btn { width: 100%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .bar-row { grid-template-columns: 108px 1fr 38px; gap: var(--s2); }
  .section { padding: var(--s8) 0; }
  .step-item { grid-template-columns: 30px 1fr; }
  .step-dot { width: 30px; height: 30px; font-size: 12px; }
  .step-item:before { left: 14px; top: 27px; }
  .tabbar { display: block; }
  .mobile-cta { display: flex; }
  .toast-stack { left: 14px; right: 14px; width: auto; top: auto; bottom: 80px; }
  .demo-accounts { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { font-size: 22px; }
}
/* Tabel jadi daftar kartu di layar kecil */
@media (max-width: 700px) {
  .table-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  table.table { display: block; }
  table.table thead { display: none; }
  table.table tbody, table.table tr, table.table td { display: block; width: 100%; }
  table.table tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: var(--s4); margin-bottom: var(--s3); box-shadow: var(--sh-xs);
  }
  table.table td { border: 0; padding: 5px 0; }
  table.table td.right { text-align: left; }
  table.table td .flex { justify-content: flex-start !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .navbar, .site-footer, .tabbar, .mobile-cta, .toast-stack, .side { display: none !important; }
}
