:root {
  --maroon: #7A1030;
  --maroon-dark: #350715;
  --blush: #FCF1F4;
  --border: #E9D7D5;
  --text-dark: #2B1116;
  --text-gray: #6F4B53;
}
* { box-sizing: border-box; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #F7F3F4;
  margin: 0;
  color: var(--text-dark);
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.card h1 {
  color: var(--maroon-dark);
  font-size: 22px;
  margin: 0 0 4px;
}
.card p.subtitle {
  color: var(--text-gray);
  font-size: 13px;
  margin: 0 0 20px;
}
label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin: 14px 0 4px;
  color: var(--text-dark);
}
input, select, textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}
button {
  background: var(--maroon);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 18px;
  width: 100%;
}
button:hover { background: var(--maroon-dark); }
.error {
  color: #C02727;
  font-size: 13px;
  margin-top: 10px;
  display: none;
}
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 66px;
  background: linear-gradient(100deg, var(--maroon-dark), var(--maroon));
  color: white;
}
.top-bar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.top-bar-brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.top-bar-user { display: flex; align-items: center; gap: 14px; }
.top-bar-user .user-nama { font-size: 13px; font-weight: 600; }
.top-bar-user button {
  width: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
}
.top-bar-user button:hover { background: rgba(255,255,255,0.15); }

.app-shell { display: flex; align-items: stretch; min-height: calc(100vh - 66px); }
.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: white;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  border-right: 1px solid var(--border);
}
.sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-gray);
  opacity: 0.75;
  padding: 16px 22px 6px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; padding: 0 14px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
}
.sidebar-nav a .icon { font-size: 16px; width: 18px; text-align: center; }
.sidebar-nav a:hover { background: var(--blush); }
.sidebar-nav a.active {
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon));
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(122,16,48,0.35);
}
.main-content { flex: 1; min-width: 0; }
main { max-width: 980px; margin: 24px auto; padding: 0 20px; }
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.panel h2 { margin-top: 0; font-size: 16px; color: var(--maroon-dark); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--text-gray); font-size: 11.5px; text-transform: uppercase; }
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #EEE9F5; /* default utk status buatan staf yang belum punya warna sendiri */
  color: #5B3E8A;
}
.badge-serahkan_berkas { background: #F0EAFB; color: #6D3FC0; }
.badge-beli_voucer { background: #E3F4F1; color: #0F766E; }
.badge-proses_instansi { background: #FDF6DD; color: #8A640A; }
.badge-batal { background: #FDECEC; color: #C02727; }
.badge-draft { background: #E7F1FC; color: #1D4ED8; }
.badge-review { background: #FDF6DD; color: #8A640A; }
.badge-ttd { background: #F1E3CC; color: #93672A; }
.badge-selesai { background: #E9F8EE; color: #15803D; }
.badge-arsip { background: #F0F0F0; color: #666; }
.badge-belum_bayar { background: #FDECEC; color: #C02727; }
.badge-lunas { background: #E9F8EE; color: #15803D; }
.badge-dibatalkan { background: #F0F0F0; color: #666; }
.badge-diajukan { background: #E7F1FC; color: #1D4ED8; }
.badge-diproses { background: #FDF6DD; color: #8A640A; }
.badge-ditolak { background: #FDECEC; color: #C02727; }
.badge-konfirmasi_biaya { background: #F0E5E7; color: #7A1030; }
.badge-salinan_akta { background: #F1E3CC; color: #93672A; }
.drive-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: #E9F8EE;
  color: #15803D;
}
.form-row { display: flex; gap: 12px; }
.form-row > div { flex: 1; }
.btn-ghost {
  width: auto;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-gray);
  margin: 0 0 0 6px;
  padding: 5px 10px;
  font-size: 12px;
}
.btn-ghost:hover { background: #F0E5E7; color: var(--text-dark); }

.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.hero-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.hero-tile .label { font-size: 12.5px; color: var(--text-gray); font-weight: 600; margin-bottom: 6px; }
.hero-tile .value { font-size: 26px; font-weight: 800; color: var(--maroon-dark); }
.hero-tile .sub { font-size: 11.5px; color: var(--text-gray); margin-top: 4px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat-tile {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}
.stat-tile .count { font-size: 20px; font-weight: 800; }
.stat-tile .name { font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.stat-tile.c-draft, .stat-tile.c-prospek { background: #E7F1FC; }
.stat-tile.c-draft .count, .stat-tile.c-prospek .count { color: #1D4ED8; }
.stat-tile.c-review, .stat-tile.c-konsultasi { background: #FDF6DD; }
.stat-tile.c-review .count, .stat-tile.c-konsultasi .count { color: #8A640A; }
.stat-tile.c-ttd, .stat-tile.c-deal { background: #F1E3CC; }
.stat-tile.c-ttd .count, .stat-tile.c-deal .count { color: #93672A; }
.stat-tile.c-selesai, .stat-tile.c-proses_akta, .stat-tile.c-lunas { background: #E9F8EE; }
.stat-tile.c-selesai .count, .stat-tile.c-proses_akta .count, .stat-tile.c-lunas .count { color: #15803D; }
.stat-tile.c-arsip, .stat-tile.c-dibatalkan { background: #F0F0F0; }
.stat-tile.c-arsip .count, .stat-tile.c-dibatalkan .count { color: #666; }
.stat-tile.c-konfirmasi_biaya, .stat-tile.c-notaris { background: #F0E5E7; }
.stat-tile.c-konfirmasi_biaya .count, .stat-tile.c-notaris .count { color: #7A1030; }
.stat-tile.c-salinan_akta, .stat-tile.c-ppat { background: #F1E3CC; }
.stat-tile.c-salinan_akta .count, .stat-tile.c-ppat .count { color: #93672A; }
.stat-tile.c-pengurusan { background: #E7F1FC; }
.stat-tile.c-pengurusan .count { color: #1D4ED8; }
.stat-tile.c-belum_bayar { background: #FDECEC; }
.stat-tile.c-belum_bayar .count { color: #C02727; }
.stat-tile .name { color: var(--text-dark); }
.stat-tile.c-serahkan_berkas { background: #F0EAFB; }
.stat-tile.c-serahkan_berkas .count { color: #6D3FC0; }
.stat-tile.c-beli_voucer { background: #E3F4F1; }
.stat-tile.c-beli_voucer .count { color: #0F766E; }
.stat-tile.c-proses_instansi { background: #FDF6DD; }
.stat-tile.c-proses_instansi .count { color: #8A640A; }
.stat-tile.c-batal { background: #FDECEC; }
.stat-tile.c-batal .count { color: #C02727; }
/* status buatan staf (tanpa kelas warna sendiri) */
.stat-tile.c-kustom { background: #EEE9F5; }
.stat-tile.c-kustom .count { color: #5B3E8A; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43, 17, 22, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: white;
  border-radius: 14px;
  padding: 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.modal-box h3 { margin: 0 0 4px; font-size: 16px; color: var(--maroon-dark); }
.modal-box p { margin: 0 0 16px; font-size: 12.5px; color: var(--text-gray); }
.modal-box img { width: 100%; max-width: 260px; border: 1px solid var(--border); border-radius: 8px; }
.modal-box .close-btn { margin-top: 16px; width: auto; padding: 8px 20px; }
.modal-box-wide {
  background: white;
  border-radius: 14px;
  padding: 24px;
  max-width: 640px;
  width: 100%;
  text-align: left;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-box-wide h3 { margin: 0 0 4px; font-size: 16px; color: var(--maroon-dark); }
.modal-box-wide p { margin: 0 0 14px; font-size: 12.5px; color: var(--text-gray); }
.ai-disclaimer {
  background: #FFF7E6;
  border: 1px solid #F1D48A;
  color: #8A640A;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.modal-box-wide textarea {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.modal-actions-row { display: flex; gap: 8px; margin-top: 10px; }
.modal-actions-row button { margin-top: 0; }
.btn-secondary {
  background: white;
  color: var(--maroon);
  border: 1px solid var(--maroon);
}
.btn-secondary:hover { background: var(--blush); }

/* ---- Halaman Daftar (public, split layout) ---- */
.signup-shell { display: flex; min-height: 100vh; }
.signup-form-col {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}
.signup-form-inner { width: 100%; max-width: 620px; }
.signup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--maroon-dark);
  margin-bottom: 28px;
}
.signup-brand .mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--maroon);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; flex-shrink: 0;
}
.form-section {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--maroon);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.form-section-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.form-section-head .icon {
  width: 40px; height: 40px; border-radius: 9px; background: var(--blush);
  color: var(--maroon); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.form-section-head h2 { margin: 0 0 3px; font-size: 15.5px; color: var(--maroon-dark); }
.form-section-head p { margin: 0; font-size: 12.5px; color: var(--text-gray); }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 6px; }
.checkbox-row input { width: auto; margin-top: 3px; }
.checkbox-row label { margin: 0; font-weight: 400; font-size: 13px; color: var(--text-dark); }
.link-plain { color: var(--maroon); font-weight: 600; text-decoration: none; }
.link-plain:hover { text-decoration: underline; }
.signup-footer-link { text-align: center; font-size: 13px; color: var(--text-gray); margin-top: 6px; }

.signup-side {
  flex: 0 0 38%;
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon));
  color: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signup-side .eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 10px; }
.signup-side h1 { font-size: 30px; margin: 0 0 10px; }
.signup-side .lead { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0 0 32px; line-height: 1.5; }
.step-list { display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; gap: 12px; align-items: flex-start; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.step-item .step-title { font-weight: 700; font-size: 13.5px; }
.step-item .step-sub { font-size: 12px; color: rgba(255,255,255,0.7); }

@media (max-width: 860px) {
  .signup-shell { flex-direction: column-reverse; }
  .signup-side { flex: none; padding: 32px 24px; }
  .step-list { display: none; }
}

/* ---- Dropdown pilih + cari (combo) — dipakai "Jenis Pekerjaan" di form Pekerjaan ---- */
.combo { position: relative; }
.combo-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; margin: 0; padding: 9px 12px; text-align: left;
  background: white; color: var(--text-dark);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 400; cursor: pointer;
}
.combo-trigger:hover { background: white; }
.combo-trigger .placeholder { color: #9A8489; }
.combo-trigger .combo-hint { font-size: 11px; color: var(--text-gray); white-space: nowrap; }
.combo-trigger.invalid { border-color: #C02727; }
.combo-panel {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(43, 17, 22, 0.15); padding: 8px;
}
.combo.open .combo-panel { display: block; }
.combo-panel input { margin: 0 0 6px; }
.combo-group-label {
  padding: 6px 10px; margin-bottom: 2px; border-radius: 6px;
  background: var(--blush); color: var(--text-gray);
  font-size: 12px; font-weight: 700;
}
.combo-options { max-height: 220px; overflow-y: auto; }
.combo-option { padding: 9px 10px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.combo-option:hover, .combo-option.hl { background: var(--blush); }
.combo-empty { padding: 10px; font-size: 13px; color: var(--text-gray); }

/* ---- "+ Tambah Status Baru" (kotak kecil di bawah dropdown Status) ---- */
.status-add-box { margin-top: 8px; padding: 10px; background: var(--blush); border-radius: 8px; }
.status-add-box input { margin: 0; }
.status-add-box .sb-actions { display: flex; gap: 8px; margin-top: 8px; }
.status-add-box .sb-actions button { margin-top: 0; width: auto; padding: 6px 14px; font-size: 12.5px; }
.status-add-box .sb-error { color: #C02727; font-size: 12px; margin-top: 6px; min-height: 0; }

/* ---- Halaman Pekerjaan: kartu data, filter, tabel, pager ---- */
.data-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.data-head h2 { margin: 0 0 4px; font-size: 20px; }
.data-sub { font-size: 12.5px; color: var(--text-gray); }
.filters { margin-top: 16px; }
.f-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 4px; }
.f-row > div { flex: 1 1 170px; min-width: 150px; }
.f-row > .f-grow { flex: 3 1 260px; }
.f-row > .f-btn { flex: 0 0 auto; min-width: 0; }
.f-row label { margin-top: 10px; }
.f-row .btn-secondary { margin: 0; width: auto; padding: 9px 18px; }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 10px; font-size: 13px; color: var(--text-gray); }
.list-bar .right { display: flex; align-items: center; gap: 10px; }
.list-bar select { width: auto; padding: 6px 8px; }
.list-bar .btn-secondary { margin: 0; width: auto; padding: 8px 16px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
table.pekerjaan-table { font-size: 12.5px; min-width: 1500px; }
table.pekerjaan-table th, table.pekerjaan-table td { padding: 10px 10px; vertical-align: middle; }
table.pekerjaan-table td { white-space: nowrap; }
table.pekerjaan-table td.wrap { white-space: normal; min-width: 150px; }
table.pekerjaan-table th { white-space: nowrap; background: #FBF7F8; }
table.pekerjaan-table th.sortable { cursor: pointer; user-select: none; }
table.pekerjaan-table th.sortable .arr { opacity: 0.45; margin-left: 3px; }
table.pekerjaan-table th.sortable.on .arr { opacity: 1; color: var(--maroon); }
table.pekerjaan-table th.sticky-col, table.pekerjaan-table td.sticky-col {
  position: sticky; right: 0; background: white; box-shadow: -6px 0 8px -6px rgba(43, 17, 22, 0.18); text-align: center;
}
table.pekerjaan-table th.sticky-col { background: #FBF7F8; }
.sub-num { display: block; font-size: 11px; color: var(--text-gray); margin-top: 2px; }
.muted { color: var(--text-gray); }
.plus-btn {
  width: 28px; height: 28px; margin: 0; padding: 0; line-height: 1; font-size: 16px; font-weight: 600;
  background: white; color: var(--text-dark); border: 1px solid var(--border); border-radius: 7px;
}
.plus-btn:hover { background: var(--blush); }
.file-count { font-size: 12px; color: var(--text-gray); margin-right: 6px; }
.lihat-link { color: var(--maroon); font-weight: 700; margin-left: 6px; text-decoration: none; cursor: pointer; }
.lihat-link:hover { text-decoration: underline; }
.dots-btn { width: 30px; height: 30px; margin: 0; padding: 0; font-size: 18px; line-height: 1; background: transparent; color: var(--text-dark); border-radius: 7px; }
.dots-btn:hover { background: var(--blush); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--text-gray); }
.pager .btns { display: flex; gap: 6px; }
.pager .btns button {
  width: 36px; height: 34px; margin: 0; padding: 0; font-size: 15px;
  background: white; color: var(--text-dark); border: 1px solid var(--border); border-radius: 8px;
}
.pager .btns button:hover:not(:disabled) { background: var(--blush); }
.pager .btns button.cur { background: var(--maroon); color: white; border-color: var(--maroon); }
.pager .btns button:disabled { opacity: 0.4; cursor: default; }

/* ---- Menu Aksi (⋮) ---- */
.row-menu {
  position: fixed; z-index: 120; min-width: 210px; padding: 6px;
  background: white; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(43, 17, 22, 0.22);
}
.row-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 10px 12px;
  background: transparent; color: var(--text-dark); text-align: left; font-size: 14px; font-weight: 500; border-radius: 8px;
}
.row-menu button:hover { background: var(--blush); }
.row-menu button.danger { color: #C02727; }
.row-menu .ic { width: 18px; text-align: center; }

/* ---- Popup bergaya dialog (judul + tombol X, isi, footer) ---- */
.dlg { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.dlg .dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.dlg .dlg-head h3 { margin: 0; font-size: 17px; }
.dlg .dlg-x { width: 32px; height: 32px; margin: 0; padding: 0; font-size: 22px; line-height: 1; background: transparent; color: var(--text-dark); border-radius: 8px; }
.dlg .dlg-x:hover { background: var(--blush); }
.dlg .dlg-body { padding: 18px 22px; overflow-y: auto; }
.dlg .dlg-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); }
.dlg .dlg-foot button { margin: 0; width: auto; padding: 9px 20px; }
.file-drop {
  border: 2px dashed var(--border); border-radius: 12px; text-align: center; color: var(--text-gray); cursor: pointer; background: #FDFAFB;
}
.file-drop:hover, .file-drop.over { background: var(--blush); border-color: var(--maroon); }
.file-drop.big { padding: 46px 20px; }
.file-drop.big .drop-ic { width: 52px; height: 52px; border-radius: 50%; background: #F0E5E7; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--maroon); }
.file-drop.big .t1 { color: var(--text-dark); font-weight: 600; font-size: 14.5px; }
.file-drop.big .t2 { font-size: 12.5px; margin-top: 4px; }
.file-drop.compact { padding: 16px; font-size: 14px; }
.file-list { margin-top: 12px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--border); }
.file-row:first-child { border-top: none; }
.file-row .ficon { width: 40px; height: 40px; border-radius: 9px; background: #F0E5E7; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.file-row .finfo { flex: 1; min-width: 0; }
.file-row .fname { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fmime { font-size: 12px; color: var(--text-gray); }
.file-row .fname-input { padding: 6px 8px; font-size: 14px; }
.file-row .facts { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.file-row .facts a, .file-row .facts button {
  margin: 0; padding: 6px 9px; background: transparent; color: var(--text-dark); border: none; border-radius: 7px;
  font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; width: auto;
}
.file-row .facts a:hover, .file-row .facts button:hover { background: var(--blush); }
.file-row .facts .del { color: #C02727; }
.info-green { background: #EAF8EF; color: #1F6B3F; border-radius: 10px; padding: 16px 18px; font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: #F7F3F4; }
.copy-row button { margin: 0; width: 44px; padding: 0; font-size: 16px; }
.btn-block { display: block; width: 100%; margin-top: 14px; padding: 12px; text-align: center; background: var(--maroon); color: white; border-radius: 9px; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.btn-block:hover { background: var(--maroon-dark); }
.reset-link { text-align: center; margin-top: 14px; font-size: 13px; }
.reset-link a { color: var(--text-gray); text-decoration: none; }
.reset-link a:hover { color: var(--maroon); }

/* ---- Form & tabel PPAT ---- */
.sec-title { font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-gray); margin: 4px 0 2px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 10px; }
.sec-head .sec-title { margin: 0; }
.card-box { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: #FFFCFD; }
.card-box h4 { margin: 0 0 4px; font-size: 15px; color: var(--maroon-dark); }
.pihak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.pihak-grid .sec-head { margin: 0 0 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-btn { width: auto; margin: 0; padding: 6px 12px; font-size: 12.5px; background: white; color: var(--text-dark); border: 1px solid var(--border); border-radius: 8px; font-weight: 600; }
.mini-btn:hover { background: var(--blush); }
.empty-note { text-align: center; font-style: italic; color: var(--text-gray); font-size: 13px; padding: 14px 6px; }
.setoran-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 8px; }
.setoran-row label { margin-top: 4px; }
.obj-card { margin-bottom: 12px; }
.obj-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; font-size: 13px; }
.readonly-gray { background: #F3EEF0; }
.sisa-val { color: #15803D; font-weight: 800; }
@media (max-width: 760px) { .pihak-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
table.pekerjaan-table.ppat { min-width: 3400px; }
table.pekerjaan-table th.grp { text-align: center; }
table.pekerjaan-table thead th { border-right: 1px solid var(--border); }
table.pekerjaan-table thead th:last-child { border-right: none; }
table.pekerjaan-table td.num { text-align: right; }
table.pekerjaan-table td.pihak-cell { min-width: 230px; }
.pihak b { display: block; }
.pihak small { display: block; color: var(--text-gray); margin-top: 2px; }

/* Kotak "Cari" di halaman daftar (Kwitansi, Tanda Terima, Surat, Laporan Bulanan) */
.cari-box { position: relative; max-width: 440px; margin-top: 14px; }
.cari-box .cari-ikon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: .55; pointer-events: none; }
.cari-box input { padding-left: 34px; }

