/* KarirKu — stylesheet tunggal, mobile-first. Palet mengikuti brand Amazon: Squid Ink + Orange. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #0f1111;
  --navy-900: #131921;
  --navy-800: #232f3e;
  --navy-700: #37475a;
  --orange: #ff9900;
  --orange-d: #e47911;
  --bg: #eaedee;
  --surface: #ffffff;
  --surface-2: #f4f6f6;
  --text: #0f1111;
  --muted: #565959;
  --line: #d5d9d9;
  --line-strong: #8d9096;
  --link: #007185;
  --link-hover: #c45500;
  --ok: #067d62;
  --ok-bg: #e6f4f0;
  --bad: #b12704;
  --bad-bg: #fcebe6;
  --warn-bg: #fff4dc;
  --info-bg: #e5f1f4;
  --shadow: 0 1px 2px rgba(15, 17, 17, .08);
  --radius: 10px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1319;
    --surface: #18212b;
    --surface-2: #1f2a36;
    --text: #e8ebec;
    --muted: #a0abb4;
    --line: #2e3b49;
    --line-strong: #5a6b7c;
    --link: #55c1d6;
    --link-hover: #ffb340;
    --ok: #4fcaa8;
    --ok-bg: #12332c;
    --bad: #ff8a65;
    --bad-bg: #3a2019;
    --warn-bg: #3a2f14;
    --info-bg: #14303a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.18em; }
.i-fill { fill: currentColor; stroke: none; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.wrap-narrow { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: 16px; }
.wrap-form { width: 100%; max-width: 440px; margin-inline: auto; padding-inline: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 18px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  text-decoration: none; transition: background-color .15s, border-color .15s;
  background: var(--surface-2); color: var(--text); border-color: var(--line-strong);
}
.btn:hover { text-decoration: none; background: var(--line); color: var(--text); }
.btn-primary { background: var(--orange); border-color: var(--orange-d); color: var(--ink); }
.btn-primary:hover { background: #ffad33; color: var(--ink); }
.btn-dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-wa { background: #128c4a; border-color: #0e7a40; color: #fff; }
.btn-wa:hover { background: #0e7a40; color: #fff; }
.btn-danger { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: .86rem; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; }
.linklike:hover { color: var(--link-hover); text-decoration: underline; }

/* ---------- Masthead ---------- */
.masthead { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 40; }
.masthead-in { display: flex; align-items: center; gap: 20px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--orange); font-weight: 800; }
.nav-main { display: none; gap: 4px; margin-right: auto; }
.nav-main a { color: #d3d9de; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: #fff; background: var(--navy-800); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-actions .btn-ghost { color: #fff; border-color: var(--navy-700); }
.nav-actions .btn-ghost:hover { background: var(--navy-800); color: #fff; }
.nav-actions .hide-sm { display: none; }
.logout-form { display: inline; margin: 0; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--navy-900); border-top: 1px solid var(--navy-700);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 58px; color: #aab4bd; font-size: .72rem; font-weight: 600;
}
.bottom-nav a:hover { color: #fff; text-decoration: none; }
.bottom-nav a[aria-current="page"] { color: var(--orange); }
.bottom-nav .i { width: 22px; height: 22px; }
.nav-badge {
  position: absolute; top: 6px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--orange); color: var(--ink); border-radius: 9px; font-size: .68rem; font-weight: 800; line-height: 17px; text-align: center;
}
.nav-badge[hidden] { display: none; }
.page-job .bottom-nav { display: none; }
.page-job { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* ---------- Hero & pencarian ---------- */
.hero { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #fff; padding: 26px 0 30px; }
.hero h1 { color: #fff; font-size: 1.75rem; font-weight: 800; letter-spacing: -.015em; word-spacing: .04em; margin-bottom: 8px; max-width: 20em; text-wrap: balance; }
.hero-sub { color: #c5cdd4; margin: 0 0 18px; max-width: 34em; }
.hero-compact { padding: 18px 0 20px; }
.hero-compact h1 { font-size: 1.3rem; margin-bottom: 12px; }
.searchbar { display: grid; gap: 8px; background: var(--surface); padding: 8px; border-radius: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, .28); max-width: 880px; }
.sb-field { position: relative; display: flex; align-items: center; min-width: 0; }
.sb-field .i { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.sb-field input, .sb-field select {
  width: 100%; height: 48px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--surface-2); appearance: none; -webkit-appearance: none;
}
.sb-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23565959' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; text-overflow: ellipsis; }
.sb-field input:focus, .sb-field select:focus { outline: none; border-color: var(--orange-d); box-shadow: 0 0 0 3px rgba(255, 153, 0, .35); background: var(--surface); }
.searchbar .btn { height: 48px; font-size: 1rem; }
.hero-stats { margin: 14px 0 0; color: #b4bec7; font-size: .88rem; }
.hero-stats strong { color: #fff; }

/* ---------- Listing + filter ---------- */
.listing { display: grid; gap: 16px; padding-block: 16px 28px; }
.results-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.results-count { font-weight: 700; margin-right: auto; }
.results-count span { font-weight: 500; color: var(--muted); }
.sort-select { height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: .9rem; background: var(--surface); color: var(--text); }
.btn-filter { display: inline-flex; }
.count-pill { background: var(--orange); color: var(--ink); border-radius: 9px; font-size: .72rem; font-weight: 800; padding: 1px 7px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-800); color: #fff; padding: 5px 6px 5px 11px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.chip:hover { color: #fff; text-decoration: none; background: var(--navy-700); }
.chip .x { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: .8rem; line-height: 1; }
.chip-reset { background: transparent; color: var(--link); padding-inline: 8px; }
.chip-reset:hover { background: transparent; color: var(--link-hover); }

.filters {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-radius: 18px 18px 0 0; padding: 0 16px 0;
  transform: translateY(105%); visibility: hidden; transition: transform .26s ease, visibility 0s linear .26s;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .3);
}
.filters.open { transform: none; visibility: visible; transition: transform .26s ease; }
.filters-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; background: var(--surface); padding: 14px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.filters-head h2 { margin: 0; font-size: 1.05rem; }
.filter-group { padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.filter-group select { width: 100%; height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: 1rem; background: var(--surface); color: var(--text); }
.opts { display: flex; flex-direction: column; gap: 2px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 8px; cursor: pointer; font-size: .94rem; }
.opt:hover { background: var(--surface-2); }
.opt input { width: 18px; height: 18px; accent-color: var(--orange-d); margin: 0; flex: none; }
.filters-foot { position: sticky; bottom: 0; display: flex; gap: 8px; background: var(--surface); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 8px; }
.filters-foot .btn { flex: 1; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(15, 17, 17, .55); }
.sheet-backdrop[hidden] { display: none; }
body.sheet-open { overflow: hidden; }

/* ---------- Daftar loker (baris dalam satu panel) ---------- */
.jobs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.job {
  position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px;
  padding: 14px 14px 14px 14px; border-bottom: 1px solid var(--line);
}
.job:last-child { border-bottom: 0; }
.job:hover { background: var(--surface-2); }
.job.is-new { box-shadow: inset 4px 0 0 var(--orange); }
.job-logo { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; overflow: hidden; }
.job-logo img { width: 100%; height: 100%; object-fit: contain; }
.job-main { min-width: 0; }
.job-title { margin: 0 0 2px; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.job-title a { color: var(--text); }
.job-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.job-title a:hover { color: var(--link-hover); text-decoration: none; }
.job-company { display: flex; align-items: center; gap: 5px; font-size: .88rem; color: var(--muted); }
.job-company .i { color: var(--link); width: 15px; height: 15px; }
.new-badge { background: var(--orange); color: var(--ink); border-radius: 6px; padding: 1px 7px; font-size: .72rem; font-weight: 800; margin-left: 6px; vertical-align: 2px; }
.job-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--text); }
.tag .i { width: 13px; height: 13px; color: var(--muted); }
.job-side { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.job-salary { font-weight: 800; color: var(--ok); font-size: .95rem; }
.job-time { font-size: .8rem; color: var(--muted); }
.job-save { position: relative; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -6px -8px 0; border: 0; background: transparent; color: var(--muted); border-radius: 50%; cursor: pointer; }
.job-save:hover { background: var(--line); color: var(--text); }
.job-save[aria-pressed="true"] { color: var(--bad); }
.job-save[aria-pressed="true"] .i { fill: currentColor; }
.job-save .i { width: 20px; height: 20px; }
.empty { text-align: center; padding: 44px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty h2 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 30em; margin-inline: auto; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 600; font-size: .92rem; }
.pager a:hover { background: var(--line); text-decoration: none; color: var(--text); }
.pager .cur { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pager .gap { border: 0; background: transparent; min-width: 20px; padding: 0; }

.seo-links { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.seo-links h2 { font-size: 1rem; }
.seo-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.seo-links a { font-size: .9rem; }

/* ---------- Detail loker ---------- */
.job-page { display: grid; gap: 16px; padding-block: 16px 28px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h2, .panel-head h1 { margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.crumbs a { color: var(--muted); }
.job-head { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.job-head .job-logo { width: 56px; height: 56px; grid-row: auto; }
.job-head h1 { font-size: 1.35rem; margin-bottom: 4px; }
.job-head .job-company { font-size: .95rem; }
.job-head .job-meta { grid-column: 1 / -1; margin-top: 4px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; align-items: start; }
.facts dt { grid-row: span 2; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 700; }
.facts .lbl { font-size: .8rem; color: var(--muted); font-weight: 500; }
.apply-card .btn + .btn { margin-top: 8px; }
.apply-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.apply-bar { position: fixed; inset: auto 0 0 0; z-index: 45; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); }
.apply-bar .btn { flex: 1; }
.apply-bar .btn-icon { flex: none; width: 44px; padding: 0; }
.safety { background: var(--warn-bg); border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 8px; font-size: .88rem; }
.safety strong { display: block; margin-bottom: 2px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.company-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.company-head .job-logo { width: 64px; height: 64px; font-size: 1.1rem; }

/* ---------- Form ---------- */
.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.req { color: var(--bad); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px;
}
.textarea { min-height: 140px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange-d); box-shadow: 0 0 0 3px rgba(255, 153, 0, .35); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--bad); }
.hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.error-text { font-size: .85rem; color: var(--bad); font-weight: 600; margin-top: 5px; }
.grid-2 { display: grid; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-d); flex: none; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--surface); }
.seg input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.picker { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); overflow: hidden; }
.picker-search { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 11px 12px; font: inherit; font-size: 1rem; background: var(--surface-2); color: var(--text); }
.picker-search:focus { outline: none; background: var(--surface); }
.pick-list { max-height: 250px; overflow-y: auto; padding: 4px 6px 8px; }
.pick-group { position: sticky; top: 0; background: var(--surface); font-weight: 800; font-size: .82rem; color: var(--muted); padding: 8px 6px 4px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 6px; cursor: pointer; font-size: .94rem; }
.pick:hover { background: var(--surface-2); }
.pick input { width: 18px; height: 18px; accent-color: var(--orange-d); margin: 0; }
.pick[hidden], .pick-group[hidden] { display: none; }
.picker-foot { padding: 8px 12px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface-2); }
.logo-edit { display: flex; align-items: center; gap: 14px; }
.logo-edit .job-logo { width: 64px; height: 64px; }

/* ---------- Flash & badges ---------- */
.flashes { padding-top: 14px; display: grid; gap: 8px; }
.flash { padding: 12px 14px; border-radius: 8px; border-left: 4px solid; font-weight: 600; font-size: .93rem; word-break: break-word; }
.flash-success { background: var(--ok-bg); border-color: var(--ok); }
.flash-error { background: var(--bad-bg); border-color: var(--bad); }
.flash-info { background: var(--info-bg); border-color: var(--link); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.badge-warn { background: var(--warn-bg); border-color: transparent; color: #8a5a00; }
.badge-bad { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
@media (prefers-color-scheme: dark) { .badge-warn { color: #ffc766; } }

/* ---------- Dashboard & admin ---------- */
.dash-nav { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0 0; margin-bottom: 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.dash-nav::-webkit-scrollbar { display: none; }
.dash-nav a { flex: none; padding: 10px 14px; color: var(--muted); font-weight: 700; font-size: .92rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.dash-nav a:hover { color: var(--text); text-decoration: none; }
.dash-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--orange); }
.dash-nav .nav-badge { position: static; display: inline-block; margin-left: 6px; }
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 14px; }
.page-title h1 { margin: 0; font-size: 1.4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .84rem; color: var(--muted); }
.stat.alert b { color: var(--bad); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.t th { text-align: left; font-size: .8rem; font-weight: 700; color: var(--muted); padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t td.act { white-space: nowrap; text-align: right; }
.t td.act form { display: inline; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form .input { min-height: 36px; padding: 4px 8px; width: 90px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: .88rem; }
.filter-tabs a:hover { text-decoration: none; background: var(--line); }
.filter-tabs a[aria-current="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.search-inline { display: flex; gap: 8px; margin-bottom: 14px; }
.search-inline .input { max-width: 340px; }
.kv { display: grid; gap: 10px; margin: 0; }
.kv dt { font-size: .8rem; color: var(--muted); }
.kv dd { margin: 0 0 2px; font-weight: 600; word-break: break-word; }
.reject-box { background: var(--bad-bg); border-left: 4px solid var(--bad); padding: 10px 14px; border-radius: 8px; font-size: .9rem; margin-top: 8px; }
.pay-box { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.pay-amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.pay-amount em { font-style: normal; color: var(--orange-d); }
.pre { white-space: pre-line; }

/* ---------- Paket ---------- */
.plans { display: grid; gap: 14px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--orange); }
.plan .ribbon { position: absolute; top: -12px; left: 16px; background: var(--orange); color: var(--ink); font-size: .76rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.1rem; margin-bottom: 2px; }
.plan .price { font-size: 1.8rem; font-weight: 800; letter-spacing: -.025em; margin: 8px 0 2px; }
.plan .per { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.plan li { display: flex; gap: 8px; padding: 4px 0; font-size: .93rem; }
.plan li .i { color: var(--ok); margin-top: 3px; }
.steps { display: grid; gap: 12px; counter-reset: s; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; }
.steps strong { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-800); color: #c5cdd4; padding: 32px 0 20px; margin-top: 12px; font-size: .9rem; }
.footer a { color: #e3e8ec; }
.footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 24px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer .brand { margin-bottom: 8px; }
.footer-copy { border-top: 1px solid var(--navy-700); margin-top: 24px; padding-top: 14px; font-size: .82rem; color: #9aa6b1; }

.error-page { text-align: center; padding: 70px 16px; }
.error-page .code { font-size: 4.2rem; font-weight: 800; letter-spacing: -.04em; color: var(--orange-d); line-height: 1; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 640px) {
  .searchbar { grid-template-columns: 1.6fr 1fr auto; }
  .searchbar .btn { padding-inline: 28px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .nav-actions .hide-sm { display: inline-flex; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .page-job { padding-bottom: 0; }
  .bottom-nav, .apply-bar { display: none; }
  .nav-main { display: flex; }
  .hero { padding: 44px 0 46px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-compact { padding: 24px 0 26px; }
  .hero-compact h1 { font-size: 1.6rem; }
  .listing { grid-template-columns: 260px 1fr; align-items: start; gap: 24px; padding-top: 24px; }
  .filters {
    position: sticky; top: 74px; z-index: 1; transform: none; visibility: visible; max-height: calc(100vh - 90px);
    border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 0 16px;
  }
  .filters-head { display: none; }
  .filters-foot { display: none; }
  .btn-filter, .sheet-backdrop { display: none !important; }
  .job { grid-template-columns: 56px 1fr auto; gap: 4px 16px; padding: 16px 18px; }
  .job-logo { width: 56px; height: 56px; }
  .job-meta { grid-column: 2; }
  .job-side { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; justify-content: space-between; margin-top: 0; min-width: 130px; }
  .job-save { margin: -6px -8px 0 0; }
  .job-page { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-top: 20px; }
  .job-aside { position: sticky; top: 74px; }
  .job-head { grid-template-columns: 72px 1fr; }
  .job-head .job-logo { width: 72px; height: 72px; }
  .job-head h1 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
@media print {
  .masthead, .bottom-nav, .apply-bar, .footer, .filters, .job-save { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ---------- Tambahan ---------- */
.filters fieldset { border: 0; margin: 0; padding-inline: 0; min-width: 0; }
.filters legend { padding: 0; }
.jobs:empty { display: none; }
.breadcrumb-sep { margin: 0 4px; color: var(--line-strong); }
.cta-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 16px 18px; margin-top: 16px; }
.cta-strip p { margin: 0; flex: 1; min-width: 220px; }
.cta-strip strong { display: block; }

/* Perapian visual */
.job-save.job-save-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; height: 36px; margin: 0; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.job-save.job-save-btn:hover { background: var(--line); }
.job-save.job-save-btn .i { width: 16px; height: 16px; }
.job-save.job-save-bar { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.filters legend { float: left; width: 100%; margin-bottom: 8px; }
.filters legend + .opts { clear: both; }
.prose > h2:first-child { margin-top: 0; }
@media (max-width: 639px) {
  .results-bar { flex-wrap: nowrap; }
  .results-count span { display: none; }
  .sort-select { height: 36px; }
}
