:root {
  --baznas: #1b5e20;
  --baznas-2: #2e7d32;
  --lte-font: "Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
html, body,
.wrapper, .content-wrapper, .main-header, .main-sidebar, .main-footer, .navbar,
.btn, .form-control, .custom-select, .dropdown-menu, .nav-sidebar .nav-link,
.select2-container, .select2-selection, .select2-results, .select2-search__field,
.dataTables_wrapper, table, .card, .modal, .breadcrumb, .alert {
  font-family: var(--lte-font);
}
body {
  background: #f4f6f9;
}
.brand-mark {
  background: #2e7d32;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  font-weight: 700;
  float: left;
  margin-left: 8px;
  margin-right: 8px;
  line-height: 33px;
}
.user-avatar {
  width: 34px; height: 34px; background: #2e7d32; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.sidebar-dark-primary { background: #1e282c; }
.layout-fixed .main-sidebar { background: #343a40; }

.sidebar-elegant {
  background: #1b2420 !important;
}
.layout-fixed .sidebar-elegant.main-sidebar { background: #1b2420 !important; }
.sidebar-elegant .brand-link {
  background: #15201a;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .85rem .8rem;
  display: flex;
  align-items: center;
}
.sidebar-elegant .brand-link .brand-text {
  font-weight: 600;
  letter-spacing: .02em;
  color: #f4faf4 !important;
}
.sidebar-elegant .brand-mark {
  background: #2e7d32;
  box-shadow: none;
  border-radius: 10px;
  float: none;
  margin: 0 10px 0 2px;
}
.brand-mark-lg {
  float: none;
  display: inline-flex;
  margin: 0 auto 8px;
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  border-radius: 14px;
}
.brand-logo {
  width: 33px;
  height: 33px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  margin: 0 10px 0 2px;
  vertical-align: middle;
}
.brand-logo-lg {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 14px;
}
.brand-upload {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.brand-preview {
  width: 72px;
  height: 72px;
  border: 1px solid #e4eee4;
  border-radius: 12px;
  background: #f7faf7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-preview img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark-preview {
  float: none;
  margin: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.sidebar-elegant .user-panel {
  margin: .85rem .75rem .65rem;
  padding: .7rem .75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-elegant .user-panel .info { padding-left: 8px; line-height: 1.25; }
.sidebar-elegant .user-panel .info a {
  color: #eef6ee !important;
  font-size: 13.5px;
  font-weight: 600;
}
.sidebar-elegant .user-panel .info small {
  color: #8aa08a;
  font-size: 11.5px;
}
.sidebar-elegant .user-avatar { box-shadow: none; }
.sidebar { padding-left: 7px; }
.sidebar-elegant .nav-sidebar { padding: 0 .55rem .8rem; }
.sidebar-elegant .nav-header {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #6e8670 !important;
  padding: .9rem .7rem .35rem;
}
.sidebar-elegant .nav-sidebar .nav-link {
  margin-bottom: 2px;
  border-radius: 8px;
  color: #c5d4c5;
  padding: .75rem .75rem;
  transition: background .15s ease, color .15s ease;
}
.sidebar-elegant .nav-sidebar .nav-link .nav-icon {
  color: #8aa58a;
  font-size: .95rem;
  width: 1.6rem;
  margin-right: .15rem;
}
.sidebar-elegant .nav-sidebar .nav-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.sidebar-elegant .nav-sidebar .nav-link:hover .nav-icon { color: #b7e0b7; }
.sidebar-elegant .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-elegant .nav-sidebar > .nav-item.menu-open > .nav-link {
  background: #2e7d32 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(27, 94, 32, .28);
  width: 100%;
  margin-right: 0;
}
.sidebar-elegant .nav-sidebar > .nav-item > .nav-link.active .nav-icon,
.sidebar-elegant .nav-sidebar > .nav-item.menu-open > .nav-link .nav-icon {
  color: #fff !important;
}
.sidebar-elegant .nav-treeview {
  padding: .15rem 0 0 .2rem;
  margin: 0;
  overflow: hidden;
}
.sidebar-elegant .nav-treeview > .nav-item {
  margin: 0;
}
.sidebar-elegant .nav-treeview > .nav-item > .nav-link {
  color: #a8bda8;
  padding: .45rem .75rem .45rem 2.15rem;
  margin-bottom: 0;
  background: transparent !important;
}
.sidebar-elegant .nav-treeview > .nav-item:last-child > .nav-link {
  margin-bottom: 0;
}
.sidebar-elegant .nav-treeview > .nav-item > .nav-link .nav-icon {
  font-size: .55rem;
  color: #6e8670;
}
.sidebar-elegant .nav-treeview > .nav-item > .nav-link:hover {
  background: rgba(255,255,255,.05) !important;
  color: #fff;
}
.sidebar-elegant .nav-treeview > .nav-item > .nav-link.active {
  background: rgba(46, 125, 50, .22) !important;
  color: #c8f0c8 !important;
  box-shadow: none;
}
.sidebar-elegant .nav-treeview > .nav-item > .nav-link.active .nav-icon {
  color: #81c784 !important;
}
.sidebar-elegant .nav-sidebar > .nav-item.menu-open {
  margin-bottom: 2px;
}
.sidebar-mini .main-sidebar .nav-flat .nav-link,
.sidebar-mini-md .main-sidebar .nav-flat .nav-link,
.sidebar-mini-xs .main-sidebar .nav-flat .nav-link {
  width: 100%;
  padding: 10px 0;
}
.sidebar-mini .main-sidebar .nav-flat.nav-child-indent .nav-treeview .nav-link,
.sidebar-mini-md .main-sidebar .nav-flat.nav-child-indent .nav-treeview .nav-link,
.sidebar-mini-xs .main-sidebar .nav-flat.nav-child-indent .nav-treeview .nav-link {
  width: auto;
  margin-right: 8px;
  padding: 8px 0;
}
.nav-flat.nav-sidebar > .nav-item .nav-treeview,
.nav-flat.nav-sidebar > .nav-item > .nav-treeview {
  padding-left: 10px;
  padding-bottom: 0;
  margin-bottom: 0;
  width: auto;
}
.nav-sidebar .nav-link .fa-angle-left {
  margin-top: 5px;
}
.small-box p { font-size: 14px; }
.col-lg-3 .small-box h3,
.col-md-3 .small-box h3,
.col-xl-3 .small-box h3 {
  font-size: 2.0rem;
}
.distribusi-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.distribusi-map-item {
  border: 1px solid #e3eee3;
  border-radius: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f7fbf7 0%, #fff calc(100% - var(--intensity, 8%)), #e8f5e9 100%);
}
.distribusi-map-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .92rem;
}
.distribusi-map-head span {
  font-size: .8rem;
  color: #2e7d32;
  font-weight: 600;
}
.distribusi-map-bar {
  height: 7px;
  background: #e8eee8;
  border-radius: 99px;
  overflow: hidden;
}
.distribusi-map-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #66bb6a, #2e7d32);
  border-radius: 99px;
}
.distribusi-map-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .78rem;
  color: #6b7c6b;
}
.distribusi-stat {
  background: #f6faf6;
  border: 1px solid #e3eee3;
  border-radius: 10px;
  padding: .65rem .5rem;
}
.distribusi-stat strong {
  display: block;
  font-size: 1.25rem;
  color: #1b5e20;
  line-height: 1.2;
}
.distribusi-stat span {
  font-size: .75rem;
  color: #6b7c6b;
}
.distribusi-bidang {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.distribusi-bidang-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dashboard-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.dashboard-side-stack > .card {
  margin-bottom: 0 !important;
}
.dashboard-tren-card > .card-body.d-flex {
  flex: 1 1 auto;
}
.dashboard-tren-body {
  position: relative;
  height: 320px;
}
.dashboard-tren-body canvas {
  width: 100% !important;
  height: 100% !important;
}
@media (min-width: 992px) {
  .dashboard-tren-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
  .dashboard-tren-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
    height: 100%;
  }
  .dashboard-tren-body {
    flex: 1 1 auto;
    height: auto;
    min-height: 220px;
  }
}
.chart-wilayah-wrap {
  position: relative;
  height: 360px;
}
@media (max-width: 767.98px) {
  .chart-wilayah-wrap { height: 280px; }
}
.distribusi-kecamatan-scroll {
  max-height: 240px;
  overflow-y: auto;
}
.distribusi-kecamatan-scroll thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  box-shadow: 0 1px 0 #e8eee8;
}
.distribusi-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.distribusi-side-stack > .card {
  margin-bottom: 0 !important;
}
.distribusi-wilayah-row {
  margin-bottom: 0;
}
.distribusi-wilayah-row > [class*="col-"] {
  margin-bottom: 1rem;
}
.distribusi-charts-row > [class*="col-"] > .card {
  margin-bottom: 1rem !important;
}
.distribusi-mitra-tren-row {
  margin-bottom: 0.25rem;
}
.distribusi-mitra-tren-row > [class*="col-"] {
  margin-bottom: 1rem;
}
.distribusi-mitra-tren-row .chart-mitra-wrap {
  max-width: 180px;
  margin-top: 0.35rem;
}
@media (min-width: 992px) {
  .distribusi-mitra-tren-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.15rem;
  }
  .distribusi-mitra-tren-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.1rem;
  }
  .distribusi-mitra-tren-row > .col-lg-5 {
    flex: 0 0 calc(40% - 0.5rem);
    max-width: calc(40% - 0.5rem);
  }
  .distribusi-mitra-tren-row > .col-lg-7 {
    flex: 0 0 calc(60% - 0.5rem);
    max-width: calc(60% - 0.5rem);
  }
  .distribusi-mitra-tren-row > [class*="col-"] > .card {
    flex: 1 1 auto;
    margin-bottom: 0 !important;
    height: 100%;
  }
}
@media (min-width: 992px) {
  .distribusi-wilayah-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
  .distribusi-map-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
    height: 100%;
  }
  .distribusi-map-card > .card-body {
    flex: 1 1 auto;
  }
  .distribusi-side-stack {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }
  .distribusi-kecamatan-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .distribusi-kecamatan-scroll {
    flex: 1 1 auto;
    max-height: none;
    min-height: 180px;
    overflow-y: auto;
  }
  .distribusi-profil-card {
    flex: 0 0 auto;
  }
}
.footer-elegant {
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%) !important;
  border-top: 1px solid #e8eee8 !important;
  padding: .85rem 1.25rem !important;
  margin-left: 0 !important;
  color: #6b7c6b !important;
  font-size: 12.5px;
}
.footer-elegant-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  text-align: center;
}
.footer-copy {
  color: #455a45;
  font-weight: 600;
  letter-spacing: .01em;
}
.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a5c0a5;
  display: inline-block;
}
.footer-brand {
  color: #2e7d32;
  font-weight: 500;
}
.login-page { background: linear-gradient(135deg, #1b5e20 0%, #0d3b14 60%, #1e282c 100%); }
.login-box .card-outline { border-top-color: #2e7d32; }
.badge-status { font-size: 85%; }
.content-header.page-head {
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%);
  border-bottom: 1px solid #e8eee8;
  padding: 1.5rem .5rem 1.15rem;
  margin-bottom: 0;
}
.layout-navbar-fixed .wrapper .content-wrapper .content-header.page-head {
  padding-top: 1.5rem;
}
.content-wrapper > .content {
  margin-top: 10px;
}
.content > .container-fluid {
  padding-top: .25rem;
}
.content-header .page-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: #1b5e20;
  letter-spacing: .01em;
  line-height: 1.3;
  padding-left: 12px;
  border-left: 3px solid #2e7d32;
}
.content-header .page-breadcrumb {
  background: transparent;
  font-size: 13px;
  padding: 0;
}
.content-header .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #b7c2b7;
  padding-right: .45rem;
}
.content-header .page-breadcrumb .breadcrumb-item a {
  color: #2e7d32;
  font-weight: 600;
}
.content-header .page-breadcrumb .breadcrumb-item a:hover { color: #1b5e20; }
.content-header .page-breadcrumb .breadcrumb-item.active {
  color: #7a8a7a;
  font-weight: 500;
}
@media print {
  .main-sidebar, .main-header, .main-footer, .content-header, .no-print { display: none !important; }
  .content-wrapper { margin: 0 !important; }
}
.surat-kop { border-bottom: 3px double #1b5e20; text-align: center; padding-bottom: 8px; margin-bottom: 16px; }
.surat-kop h2 { margin: 0; color: #1b5e20; font-size: 20px; }
.table-hover tbody tr { cursor: pointer; }

.user-table-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 10px; flex-shrink: 0;
}
.modal-user {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(27, 94, 32, .18);
}
.modal-user-header {
  border-bottom: 1px solid #eef2ee;
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%);
  padding: 1.1rem 1.25rem;
  align-items: center;
}
.modal-user-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #e8f5e9; color: #2e7d32;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 12px; font-size: 18px;
}
.modal-user .modal-title { font-weight: 600; color: #1b5e20; font-size: 1.1rem; }
.modal-section-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: .75rem;
  background: #eee;
  padding: 5px;
  border-bottom: 1px solid #ccc;
}
.modal-user .form-group label { font-size: 13px; font-weight: 600; color: #455a45; }
.modal-user .form-control, .modal-user .input-group-text {
  border-color: #dce6dc;
}
.modal-user .input-group-text {
  background: #f4f8f4; color: #2e7d32; min-width: 42px; justify-content: center;
}
.modal-user .form-control:focus {
  border-color: #81c784;
  box-shadow: 0 0 0 .15rem rgba(46, 125, 50, .15);
}
.status-toggle {
  display: flex; align-items: center; justify-content: space-between;
  background: #f6faf6; border: 1px solid #e3eee3; border-radius: 10px;
  padding: .85rem 1rem;
}
.modal-user-footer {
  background: #fafcfa; border-top: 1px solid #eef2ee;
}
.modal-user .btn-success { background: #2e7d32; border-color: #2e7d32; border-radius: 6px; }
.modal-user .btn-light { border-radius: 6px; }

.page-toolbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
}
.page-toolbar > form { flex: 0 0 auto; }
.toolbar-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.toolbar-filter .filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7c6b;
  white-space: nowrap;
}
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.page-toolbar .select2-container {
  min-width: 220px;
}
.page-toolbar .select2-container .select2-selection--single {
  height: 31px !important;
  min-height: 31px !important;
  padding: 0 28px 0 12px !important;
  margin: 0 !important;
  border: 1px solid #dce6dc !important;
  border-radius: 8px !important;
  background: #f7fbf7 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.page-toolbar .select2-container .select2-selection--single .select2-selection__rendered,
.page-toolbar .select2-container .select2-selection--single .select2-selection__placeholder {
  display: block !important;
  line-height: 1.4 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #2c3e2c;
  font-size: 13px;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-toolbar .select2-container .select2-selection--single .select2-selection__arrow {
  height: 31px !important;
  top: 0 !important;
  right: 4px !important;
  width: 20px;
}
.select2-container--bootstrap4 .select2-dropdown {
  border-color: #dce6dc;
  border-radius: 8px;
  overflow: hidden;
}
.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
  border-radius: 6px;
  border-color: #c5d8c5;
}
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
  background-color: #2e7d32;
}

.elegant-card {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(27, 94, 32, .08);
  overflow: hidden;
}
.elegant-card-header {
  display: flex !important;
  align-items: center;
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%);
  border-bottom: 1px solid #eef2ee;
  padding: 1.15rem 1.35rem;
}
.elegant-card-header .card-title { font-weight: 600; color: #1b5e20; font-size: 1.15rem; float: none; }
.elegant-form .form-group label { font-size: 13px; font-weight: 600; color: #455a45; }
.elegant-form .form-control, .elegant-form .input-group-text, .elegant-form .custom-file-label {
  border-color: #dce6dc;
}
.elegant-form .input-group-text {
  background: #f4f8f4; color: #2e7d32; min-width: 42px; justify-content: center;
}
.elegant-form .form-control:focus {
  border-color: #81c784;
  box-shadow: 0 0 0 .15rem rgba(46, 125, 50, .15);
}
.elegant-form > .select2-container,
.elegant-form .form-group > .select2-container {
  width: 100% !important;
}
.elegant-form .form-group > .select2-container .select2-selection--single {
  height: calc(1.5em + .75rem + 2px) !important;
  min-height: calc(1.5em + .75rem + 2px) !important;
  border: 1px solid #dce6dc !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 28px 0 12px !important;
  overflow: hidden !important;
  background: #fff;
}
.elegant-form .form-group > .select2-container .select2-selection__rendered,
.elegant-form .form-group > .select2-container .select2-selection__placeholder {
  display: block !important;
  line-height: 1.5 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.elegant-form .form-group > .select2-container .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
}
.elegant-form .input-group > .select2-container {
  flex: 1 1 auto;
  width: 1% !important;
}
.input-group > .select2-container {
  flex: 1 1 auto;
  width: 1% !important;
}
.input-group > select.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.elegant-form .input-group .select2-selection--single {
  height: calc(1.5em + .75rem + 2px) !important;
  min-height: calc(1.5em + .75rem + 2px) !important;
  border: 1px solid #dce6dc !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 28px 0 12px !important;
  overflow: hidden !important;
  background: #fff;
}
.elegant-form .input-group .select2-selection--single .select2-selection__rendered,
.elegant-form .input-group .select2-selection--single .select2-selection__placeholder {
  display: block !important;
  line-height: 1.5 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.elegant-form .input-group .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
}
.elegant-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  background: #fafcfa;
  border-top: 1px solid #eef2ee;
}
.jenis-toggle { display: flex; gap: 12px; }
.jenis-option { flex: 1; margin: 0; cursor: pointer; }
.jenis-option input { display: none; }
.jenis-option span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #dce6dc; border-radius: 10px; padding: .85rem 1rem;
  background: #fff; color: #455a45; font-weight: 600;
  transition: all .15s ease;
}
.jenis-option input:checked + span {
  background: #e8f5e9; border-color: #2e7d32; color: #1b5e20;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .12);
}
.pencairan-summary {
  background: #f6faf6;
  border: 1px solid #e3eee3;
  border-radius: 10px;
  padding: 1rem 1.15rem;
}
.empty-pick { background: #fafcfa; border: 1px dashed #dce6dc; border-radius: 10px; }

.card-table { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(27,94,32,.08); }
.card-table .card-header { background: #fff; border-bottom: 1px solid #eef2ee; }
.dt-elegant { width: 100% !important; }
.dt-elegant thead th {
  background: #f4f8f4; color: #1b5e20; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; border-bottom: 0; white-space: nowrap;
  vertical-align: middle;
}
.dt-elegant tbody td { vertical-align: middle; font-size: 13.5px; border-color: #f0f3f0; }
.dt-elegant tbody tr:hover { background: #f7fbf7; }
.dt-check { width: 40px; }
.dt-check-wrap { margin: 0; cursor: pointer; }

/* Checklist UI (users + tabel admin) */
.ui-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  line-height: 0;
  vertical-align: middle;
}
.ui-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.ui-check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid #c9d6c9;
  background: #fff;
  color: transparent;
  box-shadow: 0 1px 2px rgba(27, 94, 32, 0.04);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ui-check-box i {
  font-size: 0.65rem;
  line-height: 1;
}
.ui-check:hover .ui-check-box {
  border-color: #2e7d32;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.12);
}
.ui-check input[type="checkbox"]:focus-visible + .ui-check-box {
  outline: 2px solid rgba(46, 125, 50, 0.35);
  outline-offset: 2px;
}
.ui-check input[type="checkbox"]:checked + .ui-check-box {
  background: linear-gradient(145deg, #43a047, #2e7d32);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.28);
  transform: scale(1.04);
}
.dt-elegant thead th .ui-check {
  vertical-align: middle;
}
.dataTables_wrapper { padding: 1rem; }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1px solid #dce6dc; border-radius: 6px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 6px !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #2e7d32 !important; border-color: #2e7d32 !important; color: #fff !important;
}
.cell-title { font-weight: 600; color: #2c3e2c; }
.cell-sub { font-size: 12px; color: #6c757d; }
.table-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 6px;
  justify-content: flex-end;
}
.btn-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.btn-act i { font-size: 12px; }
.btn-act-print {
  width: 30px;
  padding: 0;
  color: #5a6b5a;
  background: #f4f7f4;
  border-color: #e0e8e0;
}
.btn-act-print:hover { background: #e8f0e8; color: #1b5e20; border-color: #c5d4c5; }
.btn-act-ok {
  color: #fff;
  background: #2e7d32;
  border-color: #2e7d32;
  box-shadow: 0 2px 6px rgba(46, 125, 50, .22);
}
.btn-act-ok:hover { background: #256b29; color: #fff; }
.btn-act-cash {
  color: #1b5e20;
  background: #eef7ee;
  border-color: #b7d8b7;
}
.btn-act-cash:hover { background: #e0f0e0; color: #145218; }
.btn-act-edit {
  color: #455a45;
  background: #f4f7f4;
  border-color: #e0e8e0;
}
.btn-act-edit:hover { background: #e8f0e8; color: #1b5e20; border-color: #c5d4c5; }
.btn-act-soft {
  color: #455a45;
  background: #fff;
  border-color: #d5e0d5;
}
.btn-act-soft:hover { background: #f4f8f4; color: #1b5e20; border-color: #b7d8b7; }
.btn-act-primary {
  color: #fff;
  background: #2e7d32;
  border-color: #2e7d32;
  box-shadow: 0 2px 6px rgba(46, 125, 50, .22);
}
.btn-act-primary:hover { background: #256b29; color: #fff; }
.btn-act:disabled,
.btn-act[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}
.dt-elegant td.text-right .table-actions { width: 100%; }

.bidang-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.bidang-card {
  --bidang: #2e7d32;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 1.35rem 1.35rem 1.2rem;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--bidang) 5%, #fff) 0%, #fff 42%);
  border: 1px solid rgba(27, 94, 32, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(20, 36, 26, 0.05);
  color: inherit;
  text-decoration: none !important;
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bidang-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--bidang);
  opacity: 0.9;
}
.bidang-card-glow {
  position: absolute;
  right: -18%;
  top: -28%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--bidang) 22%, transparent), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.bidang-card > *:not(.bidang-card-glow) {
  position: relative;
  z-index: 1;
}
.bidang-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--bidang) 28%, #e8eee8);
  box-shadow: 0 18px 40px rgba(20, 36, 26, 0.1);
  color: inherit;
}
.bidang-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.bidang-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--bidang);
  background: color-mix(in srgb, var(--bidang) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--bidang) 16%, #fff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.bidang-card-count {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bidang);
  background: color-mix(in srgb, var(--bidang) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--bidang) 18%, #fff);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  white-space: nowrap;
}
.bidang-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #14241a;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}
.bidang-card-desc {
  font-size: 0.86rem;
  color: #5a6b60;
  line-height: 1.55;
  margin: 0 0 1.15rem;
  flex: 1;
}
.bidang-card-action {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(27, 94, 32, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bidang);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}
.bidang-card-action i {
  font-size: 0.72rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bidang) 12%, #fff);
  transition: transform .18s ease, background .18s ease;
}
.bidang-card:hover .bidang-card-action i {
  transform: translateX(3px);
  background: color-mix(in srgb, var(--bidang) 18%, #fff);
}
.bidang-note {
  margin-top: 1.35rem;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: #5a6b60;
  background: #f7faf7;
  border: 1px solid rgba(27, 94, 32, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  line-height: 1.5;
}
.bidang-note i {
  color: #2e7d32;
  margin-top: 0.15rem;
}
@media (max-width: 991.98px) {
  .bidang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .bidang-grid { grid-template-columns: 1fr; }
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.role-card {
  background: #fff;
  border: 1px solid #e8eee8;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(27, 94, 32, .07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.role-card.is-locked { background: linear-gradient(180deg, #fbfdfb 0%, #fff 40%); }
.role-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.15rem 1.2rem 0.85rem;
  border-bottom: 1px solid #eef2ee;
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%);
}
.role-card-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8f5e9; color: #2e7d32; font-size: 18px;
}
.role-card.is-locked .role-card-icon { background: #eceff1; color: #546e7a; }
.role-card-id { flex: 1; min-width: 0; }
.role-card-id h3 {
  margin: 0; font-size: 1.15rem; font-weight: 700; color: #1e2e1e; line-height: 1.3;
}
.role-card-id p { margin: .2rem 0 0; font-size: 13px; color: #6b7a6b; }
.role-slug {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: #2c3e2c; color: #fff; border-radius: 999px;
  padding: .22rem .65rem; align-self: flex-start;
}
.role-stat {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: .65rem 1.2rem; font-size: 12.5px; color: #6b7a6b;
  background: #fafcfa; border-bottom: 1px solid #eef2ee;
}
.role-stat strong { color: #1b5e20; font-size: 14px; }
.role-lock {
  margin-left: auto; font-size: 11px; font-weight: 700;
  color: #78909c; text-transform: uppercase; letter-spacing: .04em;
}
.role-groups { padding: .85rem 1.1rem 1.1rem; }
.role-group { margin-bottom: .85rem; }
.role-group:last-child { margin-bottom: 0; }
.role-group header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #5a6b5a; margin-bottom: .45rem;
}
.role-group header i { color: #2e7d32; margin-right: 6px; width: 14px; text-align: center; }
.role-group header em { font-style: normal; color: #90a090; font-weight: 600; }
.role-perms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.role-perm {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  margin: 0; cursor: pointer; user-select: none;
  border: 1px solid #e3eee3; border-radius: 8px;
  padding: .42rem .6rem; background: #fff;
  font-size: 12.5px; color: #3d4d3d; font-weight: 500;
  transition: border-color .12s ease, background .12s ease;
}
.role-perm input {
  position: absolute;
  left: 10px; top: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0;
  opacity: 0;
}
.role-perm-tick {
  width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid #c5d4c5; background: #fff; color: transparent;
  font-size: 9px; display: inline-flex; align-items: center; justify-content: center;
}
.role-perm.is-on { background: #f3faf3; border-color: #b7d8b7; color: #1b5e20; }
.role-perm.is-on .role-perm-tick {
  background: #2e7d32; border-color: #2e7d32; color: #fff;
}
.role-perm.is-disabled { cursor: default; opacity: .78; }
.role-card-foot {
  margin-top: auto;
  padding: .85rem 1.2rem;
  border-top: 1px solid #eef2ee;
  background: #fafcfa;
  display: flex; justify-content: flex-end;
}
.settings-tabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  margin-top: 10px;
  background: #fff;
  border-bottom: 3px solid #ddd;
}
.settings-tabs .nav-link {
  border-radius: 9px;
  color: #4a5c4a;
  font-weight: 600;
  font-size: 13.5px;
  padding: .5rem 1rem;
}
.settings-tabs .nav-link i { margin-right: .35rem; opacity: .85; }
.settings-tabs .nav-link:hover { background: #f1f7f1; color: #1b5e20; }
.settings-tabs .nav-link.active {
  background: #2e7d32;
  color: #fff;
}
.settings-tabs .nav-link.active:hover { background: #2e7d32; color: #fff; }
.settings-card { border: 1px solid #e4eee4; box-shadow: none; border-radius: 12px; margin-bottom: 1rem; }

.settings-block {
  background: #fff;
  border: 1px solid #e6efe6;
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.settings-block-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, #fafdfa 0%, #fff 100%);
  border-bottom: 1px solid #eef4ee;
}
.settings-block-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #e8f5e9;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.settings-block-icon.is-wa { background: #e3f7e8; color: #1faa53; }
.settings-block-icon.is-warn { background: #fff5e0; color: #d38b00; }
.settings-block-icon.is-google { background: #eef2fd; color: #4285f4; }
.settings-block-title { flex: 1 1 auto; min-width: 0; }
.settings-block-title h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1b3d1f;
  margin: 0 0 2px;
}
.settings-block-title p {
  font-size: 12.5px;
  color: #7e8d7e;
  margin: 0;
  line-height: 1.5;
}
.settings-block-title p a { color: #2e7d32; font-weight: 600; }
.settings-state {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 20px;
  background: #f0f2f0;
  color: #8a938a;
}
.settings-state.is-on { background: #e6f5e8; color: #1f7a35; }
.settings-block-body { padding: 1.25rem; }
.settings-block-body > .form-group,
.settings-block-body > .form-row { margin-bottom: 1rem; }
.settings-block-body > .form-group:last-child,
.settings-block-body > .form-row:last-child { margin-bottom: 0; }
.settings-block-body label {
  font-size: 12.5px;
  font-weight: 600;
  color: #46584a;
  margin-bottom: .35rem;
}
.settings-block-body .form-control {
  border-color: #dfe8df;
  border-radius: 8px;
  font-size: 13.5px;
  color: #33413a;
}
.settings-block-body .form-control:focus {
  border-color: #8dc98f;
  box-shadow: 0 0 0 .18rem rgba(46, 125, 50, .12);
}
.settings-block-body .form-control[readonly] { background: #f7faf7; color: #5b6b5b; }
.settings-block-body .input-group-text {
  background: #f4f8f4;
  border-color: #dfe8df;
  color: #2e7d32;
  min-width: 42px;
  justify-content: center;
  font-size: 13px;
}
.settings-block-body .input-group > .input-group-prepend > .input-group-text { border-radius: 8px 0 0 8px; }
.settings-block-body .input-group > .input-group-append > .input-group-text,
.settings-block-body .input-group > .input-group-append > .btn { border-radius: 0 8px 8px 0; }
.settings-block-body textarea.form-control { line-height: 1.6; }
.settings-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px !important;
}
.settings-hint {
  display: block;
  margin-top: .35rem;
  font-size: 11.5px;
  color: #8b998b;
  line-height: 1.5;
}
.settings-hint code, .settings-block-title code {
  background: #f2f7f2;
  color: #2e7d32;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11.5px;
}
.settings-optional {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #a3ada3;
  background: #f3f5f3;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
}
.settings-narrow { max-width: 320px; }
.settings-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f7faf7;
  border: 1px solid #e4eee4;
  border-radius: 10px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
}
.settings-switch-text strong {
  display: block;
  font-size: 13.5px;
  color: #2d3f2f;
  font-weight: 600;
}
.settings-switch-text span {
  display: block;
  font-size: 11.5px;
  color: #8b998b;
  margin-top: 1px;
}
.settings-switch .custom-switch { flex-shrink: 0; padding-left: 2.4rem; }
.settings-switch .custom-control-input:checked ~ .custom-control-label::before {
  background: #2e7d32;
  border-color: #2e7d32;
}
.settings-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f2f7fd;
  border: 1px solid #dbe7f7;
  border-radius: 10px;
  padding: .7rem .9rem;
  margin-bottom: 1rem;
  font-size: 12.5px;
  color: #4a5a6b;
  line-height: 1.55;
}
.settings-note i { color: #4285f4; margin-top: 2px; }
.settings-tokens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: .6rem;
}
.settings-token-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #9aa79a;
  margin-right: 2px;
}
.settings-tokens code {
  background: #f2f7f2;
  border: 1px solid #e2ece2;
  color: #2e7d32;
  font-size: 11.5px;
  padding: 1px 6px;
  border-radius: 5px;
}
.settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e6efe6;
  border-radius: 14px;
  padding: .85rem 1.25rem;
  margin-bottom: 1rem;
}
.settings-actions-note { font-size: 12px; color: #8b998b; }
.settings-actions .btn-success {
  background: #2e7d32;
  border-color: #2e7d32;
  border-radius: 8px;
  font-weight: 600;
}
.settings-actions .btn-success:hover { background: #256a29; border-color: #256a29; }
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.settings-grid .settings-block { margin-bottom: 0; display: flex; flex-direction: column; }
.settings-grid .settings-block-body { flex: 1 1 auto; }
.settings-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.settings-btn-row .btn { border-radius: 8px; font-weight: 600; }
.settings-table thead th {
  border-top: 0;
  border-bottom: 1px solid #eef4ee;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8b998b;
  padding: .6rem 1.25rem;
}
.settings-table tbody td {
  font-size: 13px;
  color: #43524a;
  border-top: 1px solid #f2f6f2;
  padding: .6rem 1.25rem;
  vertical-align: middle;
}
.settings-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  color: #4a5c4a;
  background: #f2f6f2;
  border-radius: 20px;
  padding: 2px 10px;
}
.settings-empty { text-align: center; color: #9aa79a; padding: 1.5rem !important; }
.brand-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.brand-upload-action .settings-hint { margin-top: .45rem; word-break: break-all; }
.settings-file { display: inline-block; cursor: pointer; }
.settings-file input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
}
.settings-file-btn {
  display: inline-flex;
  align-items: center;
  border: 1px dashed #b7d8b7;
  background: #f5faf5;
  color: #2e7d32;
  border-radius: 8px;
  padding: .45rem .85rem;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.settings-file:hover .settings-file-btn { background: #eaf5ea; border-color: #8dc98f; }
@media (max-width: 767.98px) {
  .settings-grid { grid-template-columns: 1fr; }
  .brand-layout { grid-template-columns: 1fr; }
  .settings-tabs { flex-wrap: wrap; }
}
.login-or {
  text-align: center;
  color: #888;
  font-size: 12px;
  margin: 14px 0 10px;
  position: relative;
}
.login-or::before, .login-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #e4e4e4;
}
.login-or::before { left: 0; }
.login-or::after { right: 0; }
.btn-google {
  background: #fff;
  color: #444;
  border: 1px solid #dadce0;
  font-weight: 600;
}
.btn-google:hover { background: #f7f7f7; color: #222; }
@media (max-width: 1199.98px) {
  .role-perms { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .role-grid { grid-template-columns: 1fr; }
}

.card-timeline { border: 0; border-radius: 12px; box-shadow: 0 10px 30px rgba(27,94,32,.08); }
.card-timeline .card-header {
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%);
  border-bottom: 1px solid #eef2ee;
}
.card-timeline .card-title { font-weight: 600; color: #1b5e20; }
.timeline-proposal { margin: 0 0 0 8px; padding: 0; }
.timeline-proposal > div > .timeline-item {
  background: #fff;
  border: 1px solid #e8eee8;
  border-radius: 10px;
  box-shadow: none;
  margin-right: 0;
}
.timeline-proposal .timeline-header {
  font-size: 14px;
  color: #4a5c4a;
  border-bottom: 1px solid #f0f4f0;
  padding: .75rem 1rem;
}
.timeline-proposal .timeline-header a {
  color: #2e7d32;
  font-weight: 700;
}
.timeline-proposal .timeline-header a:hover { color: #1b5e20; }
.timeline-proposal .timeline-body {
  color: #5a6b5a;
  font-size: 13.5px;
  padding: .85rem 1rem;
}
.timeline-proposal .timeline-footer {
  background: transparent;
  border-top: 0;
  padding: 0 1rem .85rem;
}
.timeline-proposal .time {
  color: #8b998b;
  font-size: 12px;
  padding-top: .85rem;
  padding-right: 1rem;
}
.timeline-proposal > .time-label > span {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .35rem .75rem;
}
.timeline-proposal > div > i {
  width: 32px;
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  left: 3px;
  top: 0;
  box-shadow: 0 0 0 4px #fff;
}

.proposal-detail {
  --pd-ink: #14241a;
  --pd-muted: #6a7b6c;
  --pd-line: rgba(27, 94, 32, 0.1);
  --pd-soft: #f3f7f3;
  margin: -0.25rem -0.15rem 1.25rem;
  padding: 0.15rem;
}
.pd-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(67, 160, 71, 0.12), transparent 60%),
    linear-gradient(135deg, #0f2a14 0%, #1b5e20 48%, #245c2a 100%);
  border: 0;
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
  box-shadow: 0 16px 36px rgba(20, 36, 26, 0.18);
}
.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  pointer-events: none;
}
.pd-hero-main,
.pd-hero-actions {
  position: relative;
  z-index: 1;
}
.pd-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}
.pd-kode {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}
.pd-hero .badge {
  border: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.pd-nama {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}
.pd-sub {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 46rem;
}
.pd-hero-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.pd-hero-actions .btn-act {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.pd-hero-actions .btn-act:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.pd-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.pd-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  min-width: 0;
  box-shadow: 0 8px 22px rgba(27, 94, 32, 0.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pd-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 94, 32, 0.09);
}
.pd-stat-ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eef5ee;
  color: #2e7d32;
  font-size: 0.9rem;
}
.pd-stat.is-ok .pd-stat-ico {
  background: linear-gradient(145deg, #43a047, #1b5e20);
  color: #fff;
}
.pd-stat-body {
  min-width: 0;
  flex: 1;
}
.pd-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
  margin-bottom: 0.2rem;
}
.pd-stat strong {
  display: block;
  color: var(--pd-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-stat small {
  display: block;
  margin-top: 0.15rem;
  color: #8b998b;
  font-size: 0.72rem;
}
.pd-block,
.pd-side {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(27, 94, 32, 0.055);
}
.pd-block-head,
.pd-side-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(27, 94, 32, 0.07);
  background: linear-gradient(180deg, #f7fbf7 0%, #fff 100%);
}
.pd-block-icon,
.pd-side-icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
  color: #1b5e20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(46, 125, 50, 0.12);
}
.pd-side-icon.warn {
  background: linear-gradient(145deg, #fff8e1, #ffe082);
  color: #f57f17;
  box-shadow: 0 6px 14px rgba(245, 127, 23, 0.14);
}
.pd-side-icon.info {
  background: linear-gradient(145deg, #e3f2fd, #90caf9);
  color: #1565c0;
  box-shadow: 0 6px 14px rgba(21, 101, 192, 0.12);
}
.pd-side-icon.ok {
  background: linear-gradient(145deg, #e8f5e9, #a5d6a7);
  color: #1b5e20;
}
.pd-block-head h3,
.pd-side-head h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1b5e20;
}
.pd-block-head p,
.pd-side-head p {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
  color: var(--pd-muted);
}
.pd-block-body,
.pd-side-body {
  padding: 1.15rem 1.25rem 1.3rem;
}
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.35rem;
  padding: 1.15rem 1.25rem 1.3rem;
}
.pd-field {
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--pd-soft);
  border: 1px solid transparent;
}
.pd-field-full {
  grid-column: 1 / -1;
}
.pd-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pd-muted);
  margin-bottom: 0.28rem;
}
.pd-value {
  display: block;
  color: var(--pd-ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.pd-uraian {
  white-space: pre-wrap;
  font-weight: 500;
}
.pd-side .form-group {
  margin-bottom: 0.9rem;
}
.pd-side .form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #455a45;
  margin-bottom: 0.35rem;
}
.pd-side .form-control,
.pd-side .input-group-text {
  border-color: #d5e2d6;
  border-radius: 10px;
  min-height: 2.45rem;
  font-size: 0.9rem;
}
.pd-side .form-control:focus {
  border-color: #81c784;
  box-shadow: 0 0 0 0.18rem rgba(46, 125, 50, 0.15);
}
.pd-side .input-group-text {
  background: #eef5ee;
  color: #2e7d32;
  font-weight: 700;
}
.pd-side .btn-block {
  border-radius: 10px;
  font-weight: 700;
  padding: 0.65rem 1rem;
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.2);
}
.pd-note {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: #f6faf6;
  border: 1px solid #e3eee3;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.85rem;
}
.pd-note.ok {
  background: #f1f8f1;
  border-color: #c8e6c9;
}
.pd-note strong {
  color: #1b5e20;
  font-size: 0.88rem;
}
.pd-note span {
  color: #6b7c6b;
  font-size: 0.78rem;
}
.pd-block.card-timeline .pd-block-body {
  padding-top: 0.65rem;
}
.btn-act.btn-block {
  width: 100%;
}
@media (min-width: 992px) {
  .proposal-detail > .row > .col-lg-4 {
    position: sticky;
    top: 4.5rem;
    align-self: flex-start;
  }
}
@media (max-width: 1199.98px) {
  .pd-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .pd-stats {
    grid-template-columns: 1fr 1fr;
  }
  .pd-hero {
    flex-direction: column;
  }
  .pd-hero-actions {
    width: 100%;
  }
  .pd-hero-actions .btn-act {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .pd-stats,
  .pd-grid {
    grid-template-columns: 1fr;
  }
  .pd-hero {
    padding: 1.1rem 1.15rem;
    border-radius: 14px;
  }
}

/* Users — contact cards (AdminLTE style) */
.user-card-col { margin-bottom: 1rem; }
.user-contact-card {
  position: relative;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.07);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.user-contact-card:has(.row-check:checked) {
  box-shadow: 0 10px 28px rgba(46, 125, 50, 0.16);
  outline: 1.5px solid rgba(46, 125, 50, 0.35);
}
.user-contact-card > .card-header {
  background: #fff;
  font-size: 0.9rem;
  padding: 0.85rem 2.75rem 0.35rem 1.1rem;
  border-radius: 12px 12px 0 0;
}
.user-contact-card > .card-body {
  padding: 0.5rem 1.1rem 1rem;
}
.user-contact-card .lead {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #1f2d1f;
}
.user-contact-card .text-sm {
  font-size: 0.85rem;
  line-height: 1.45;
}
.user-contact-card .fa-ul {
  margin-left: 1.6rem !important;
}
.user-contact-card .fa-ul li {
  margin-bottom: 0.35rem;
}
.user-contact-card .fa-li {
  color: #6c757d;
}
.user-contact-avatar {
  width: 96px;
  height: 96px;
  margin: 0.25rem auto 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #2e7d32, #1b5e20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(27, 94, 32, 0.22);
}
.user-contact-card.is-inactive .user-contact-avatar {
  background: linear-gradient(145deg, #9e9e9e, #616161);
  box-shadow: none;
}
.user-contact-card > .card-footer {
  background: #fafcfa;
  border-top: 1px solid #eef2ee;
  padding: 0.65rem 1rem;
}
.user-contact-card > .card-footer .btn {
  margin-left: 0.25rem;
  margin-top: 0.2rem;
}
.user-contact-card .btn.bg-teal {
  background-color: #20c997 !important;
  border-color: #20c997;
  color: #fff;
}
.user-contact-card .btn.bg-teal:hover:not(:disabled) {
  background-color: #1aa87e !important;
  border-color: #1aa87e;
  color: #fff;
}

/* Kinerja user detail */
.ku-hero {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.07);
  border: 1px solid #eef2ee;
  flex-wrap: wrap;
}
.ku-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2e7d32, #1b5e20);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 700;
  flex-shrink: 0;
}
.ku-hero-body { flex: 1 1 220px; min-width: 0; }
.ku-hero-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.35rem; }
.ku-hero-name {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2d1f;
}
.ku-hero-sub { color: #6b7c6b; font-size: 0.88rem; }
.ku-hero-capaian {
  text-align: center;
  min-width: 88px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: #e8f5e9;
  color: #1b5e20;
}
.ku-hero-capaian strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}
.ku-hero-capaian span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ku-hero-capaian small {
  display: block;
  color: #5a6b60;
  font-size: 0.72rem;
}
.user-card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  margin: 0;
  cursor: pointer;
  line-height: 0;
}
.user-card-check input.row-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.user-card-check .ui-check-box,
.user-card-check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid #c9d6c9;
  background: #fff;
  color: transparent;
  box-shadow: 0 1px 2px rgba(27, 94, 32, 0.04);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.user-card-check .ui-check-box i,
.user-card-check-box i {
  font-size: 0.65rem;
  line-height: 1;
}
.user-card-check:hover .ui-check-box,
.user-card-check:hover .user-card-check-box {
  border-color: #2e7d32;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.12);
}
.user-card-check input.row-check:focus-visible + .ui-check-box,
.user-card-check input.row-check:focus-visible + .user-card-check-box {
  outline: 2px solid rgba(46, 125, 50, 0.35);
  outline-offset: 2px;
}
.user-card-check input.row-check:checked + .ui-check-box,
.user-card-check input.row-check:checked + .user-card-check-box {
  background: linear-gradient(145deg, #43a047, #2e7d32);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.28);
  transform: scale(1.04);
}

/* Panduan admin */
.panduan-page { max-width: 960px; margin: 0 auto 1.5rem; }
.panduan-hero {
  background: linear-gradient(135deg, #0f2a14 0%, #1b5e20 55%, #2e7d32 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 14px 32px rgba(20, 36, 26, 0.16);
}
.panduan-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.panduan-hero h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panduan-lead {
  margin: 0.45rem 0 0;
  max-width: 40rem;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.5;
}
.panduan-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  opacity: 0.8;
}
.panduan-hero-meta i { margin-right: 0.35rem; }
.panduan-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.panduan-toc a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(27, 94, 32, 0.12);
  color: #1b5e20;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.panduan-toc a:hover { background: #e8f5e9; }
.panduan-card {
  background: #fff;
  border: 1px solid rgba(27, 94, 32, 0.1);
  border-radius: 14px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(27, 94, 32, 0.05);
}
.panduan-card > header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid #eef2ee;
  background: linear-gradient(180deg, #f7fbf7, #fff);
}
.panduan-ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f5e9;
  color: #2e7d32;
  flex-shrink: 0;
}
.panduan-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1b5e20;
}
.panduan-card header p {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: #6b7c6b;
}
.panduan-body {
  padding: 1.05rem 1.2rem 1.2rem;
  color: #2c3e2c;
  font-size: 0.92rem;
  line-height: 1.55;
}
.panduan-body h4 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1b5e20;
}
.panduan-body h4:first-child { margin-top: 0; }
.panduan-body ol,
.panduan-body ul { padding-left: 1.2rem; margin-bottom: 0.65rem; }
.panduan-body li { margin-bottom: 0.35rem; }
.panduan-body code {
  background: #eef5ee;
  color: #1b5e20;
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  font-size: 0.84em;
}
.panduan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}
.panduan-grid h4 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}
.panduan-grid p,
.panduan-grid ul { margin: 0; font-size: 0.88rem; color: #5a6b60; }
.panduan-tip {
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  background: #f3f8f3;
  border: 1px solid #d7e8d7;
  font-size: 0.88rem;
  color: #455a45;
}
.panduan-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.panduan-steps > li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #f6faf6;
}
.panduan-step-num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #43a047, #1b5e20);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panduan-steps strong { display: block; color: #1b5e20; }
.panduan-steps em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: #8b998b;
  font-family: Consolas, monospace;
}
.panduan-steps p { margin: 0.2rem 0 0; color: #5a6b60; font-size: 0.86rem; }
.panduan-table thead th {
  background: #f3f7f3;
  color: #1b5e20;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e0ebe0;
}
.panduan-foot-note {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: #6b7c6b;
}
@media print {
  .main-sidebar, .main-header, .panduan-toc { display: none !important; }
  .content-wrapper { margin: 0 !important; }
  .panduan-card { break-inside: avoid; box-shadow: none; }
}
