 body { margin:0; font-family:Arial,sans-serif; background:#f4f6f9; color:#333; width:100%; height:100%; padding-top:70px; }
    header { position:fixed; top:0; left:0; right:0; z-index:1000; background:#00695c; color:white; padding:15px;
      display:flex; justify-content:space-between; align-items:center; box-shadow:0 2px 6px rgba(0,0,0,0.3);}
    header h2 { margin:0; font-size:22px; }
    .sidebar { position:fixed; top:0; left:-250px; width:250px; height:100%; background:#004d40; padding-top:60px;
      transition:0.3s; z-index:1000; }
    .sidebar a { display:block; padding:12px; color:white; text-decoration:none; }
    .sidebar a:hover { background:#00796b; }
    .open-btn { font-size:22px; cursor:pointer; }
    .content { margin:0; padding:20px; width:100%; box-sizing:border-box; }
    .section-title { text-align:center; font-size:20px; font-weight:bold; margin:30px 0 15px; color:#004d40; text-transform:uppercase; }
    .pimpinan-slider { display:grid; grid-template-columns:1fr 2fr; gap:20px; width:100%; padding:0 20px; box-sizing:border-box; }
    @media(max-width:768px){ .pimpinan-slider { grid-template-columns:1fr; } }
    .fade-scroll { opacity:0; transform:translateY(30px); transition:all 0.8s ease-in-out; }
    .fade-scroll.show { opacity:1; transform:translateY(0); }
    .card-pimpinan { background:white; padding:15px; border-radius:15px; box-shadow:0 4px 12px rgba(0,0,0,0.2); text-align:center; }
    .foto-grid { display:flex; justify-content:space-around; gap:15px; }
    .foto-grid img { width:150px; height:200px; object-fit:cover; border-radius:10px; border:4px solid #c0a060; margin-bottom:10px; }
    .slider { position:relative; border-radius:15px; box-shadow:0 4px 12px rgba(0,0,0,0.2); overflow:hidden; background:white; }
 
    .prev:hover,.next:hover { background:#00695c; color:#fff; }
    .prev { left:10px; } .next { right:10px; }
    .indicators { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
    .indicators span { width:12px; height:12px; background:rgba(0,0,0,0.2); border-radius:50%; cursor:pointer; }
    .indicators .active { background:#00695c; }
    .filter-box { text-align:center; margin:20px auto; padding:15px; background:white; border-radius:10px; box-shadow:0 3px 8px rgba(0,0,0,0.15); max-width:400px; }
    .chart-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:20px; width:100%; margin:30px auto; padding:0 20px; box-sizing:border-box; }
    .chart-box { background:white; border-radius:15px; padding:20px; box-shadow:0 3px 8px rgba(0,0,0,0.15); }
    .chart-box canvas { width:100% !important; height:300px !important; display:block; }
    table { width:100%; border-collapse:collapse; }
    th,td { border:1px solid #ccc; padding:8px; text-align:center; }
    th { background:#00695c; color:white; } 
.serapan-card {  background: white;  padding: 20px;  border-radius: 15px;  text-align: center;  box-shadow: 0 3px 8px rgba(0,0,0,0.15);  transition: transform 0.2s;}
.serapan-card:hover {  transform: translateY(-5px);}
.serapan-card h4 {  margin: 0 0 10px;  color: #00695c;  font-size: 18px;}
.serapan-card p {  margin: 0;  font-size: 20px;  font-weight: bold;  color: #333;}
#slider { position:relative; border-radius:15px; box-shadow:0 4px 12px rgba(0,0,0,0.2); overflow:hidden; background:white; }
.slides {  position: relative;  overflow: hidden;}
.card-slide {  display: none;  text-align: center;}
.card-slide.active {  display: block;}
.prev, .next {  position: absolute;  top: 50%;  transform: translateY(-50%);  font-size: 24px;  font-weight: bold;  background: rgba(0,0,0,0.4);  color: white;  padding: 8px 12px;  border-radius: 50%;  cursor: pointer;  user-select: none;}
.prev { left: 10px; }
.next { right: 10px; }
.indicators {  text-align: center;  margin-top: 10px;}
.indicators span {  height: 12px;  width: 12px;  margin: 0 5px;  display: inline-block;  border-radius: 50%;  background: #bbb;  cursor: pointer;}
.indicators span.active {  background: #333;}
.serapan-grida {  /* ?? beda ukuran tiap kolom */  gap: 20px;  margin: 10px;}
.serapan-grid {  display: grid;  grid-template-columns: 1fr 1.5fr 2fr; /* ?? beda ukuran tiap kolom */  gap: 20px;  margin: 20px;}
.serapan-card1, .serapan-card2, .serapan-card3 {  background: white;  padding: 20px;  border-radius: 15px;  box-shadow: 0 3px 8px rgba(0,0,0,0.15);  text-align: center;  transition: transform 0.2s;}
.serapan-card1:hover,
.serapan-card2:hover,
.serapan-card3:hover {  transform: translateY(-5px);}
.serapan-card1 h4, .serapan-card2 h4, .serapan-card3 h4 {  margin: 0 0 10px;  color: #00695c;  font-size: 18px;}
.serapan-card1 p, .serapan-card2 p, .serapan-card3 p {  margin: 0;  font-size: 20px;  font-weight: bold;  color: #333;}
/* ?? biar rapi di HP */
@media (max-width: 768px) {  .serapan-grid {    grid-template-columns: 1fr;  }}
#chart-container {      width: 95%;      max-width: 1200px;      height: 500px;      margin: 40px auto;    }
    #myChart {      width: 100% !important;      height: 100% !important;    }
	#myChartPBB {      width: 100% !important;      height: 100% !important;    }
	#myChartBelanja {      width: 100% !important;      height: 100% !important;    }
	table.dataTable tfoot th {      font-weight: bold;      background: #f1f1f1;    }
	.custom-tooltip {  position: absolute;  z-index: 9999;  max-width: 400px;  padding: 8px 12px;  background: rgba(0,0,0,0.85);  color: #fff;  border-radius: 6px;  font-size: 13px;  line-height: 1.4em;  display: none;  pointer-events: none;  white-space: normal;
}
#sppTable {  font-size: 12px;  /* atur sesuai kebutuhan, misal 11px */}
/* kecilkan juga header & footer tabel */
#sppTable thead th,
#sppTable tfoot th {  font-size: 12px;  white-space: nowrap; /* biar rapih, teks tidak pecah */}
/* tooltip biar tetap terbaca */
.custom-tooltip {  font-size: 12px;}
.cardafwa {  }
  .cardafwa h4 {    margin: 0;    font-size: 14px;    opacity: 0.9;  }
  .cardafwa .balance {    font-size: 28px;    font-weight: bold;    margin: 10px 0 20px;  }
  .cardafwa .icon {    position: absolute;    top: 20px;    right: 20px;    font-size: 40px;    opacity: 0.7;  }
  .cardafwa .footer {    display: flex;    align-items: center;    font-size: 13px;  }
  .cardafwa .badge {    background: rgba(255,255,255,0.25);    border-radius: 12px;    padding: 4px 10px;    margin-right: 8px;    font-size: 12px;    font-weight: bold;  }
  .verifikasi-box {    margin-top: 20px;    text-align: center;  }
  .btn-verifikasi {    display: inline-block;    padding: 12px 20px;    border-radius: 8px;    border: 1px solid #ddd;    text-decoration: none;    font-weight: bold;    font-size: 16px;    background: #fff;    color: #0d1b2a;    box-shadow: 0 2px 5px rgba(0,0,0,0.1);    animation: blink 1.5s infinite; /* Blink default */    transition: all 0.3s ease;  }
  /* Efek hover */
  .btn-verifikasi:hover {    background: #0d6efd;  /* biru */    color: #fff;    border-color: #0d6efd;    animation: none; /* stop blink saat hover */  }
  /* Animasi blink */
  @keyframes blink {    0%, 100% { opacity: 1; }    50% { opacity: 0.6; }  }
  .realisasi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 kolom */
  gap: 20px;
  margin-top: 20px;
}

.realisasi-card {
  padding: 20px;
  border-radius: 15px;
}

.chart-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

 .apbd-grid {
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap:20px;
      margin-bottom:30px;
    }
    .apbd-card {
      background:white;
      padding:20px;
      border-radius:12px;
      box-shadow:0 4px 10px rgba(0,0,0,0.1);
      text-align:center;
    }
    .apbd-card h3 { margin:0; font-size:16px; color:#666; }
    .apbd-card .value { font-size:22px; font-weight:bold; margin-top:10px; }

    .positive { color:#28a745; }
    .negative { color:#dc3545; }

    .tables-grid {
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:20px;
    }

    table {
      width:100%;
      border-collapse:collapse;
      background:white;
      border-radius:8px;
      overflow:hidden;
      box-shadow:0 4px 10px rgba(0,0,0,0.1);
    }
    th, td {
      padding:10px;
      border-bottom:1px solid #ddd;
      font-size:14px;
    }
    th { background:#007bff; color:white; text-align:left; }
    tr:hover { background:#f1f1f1; }
    h3 { margin-bottom:10px; }
	.table-wrapper {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 8px;
}

/* Sticky header */
.table-wrapper table thead th {
  position: sticky;
  top: 0;
  background: #007bff; /* warna header */
  color: white;
  z-index: 2;
}
.tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.table-wrapper {
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  position: sticky;
  top: 0;
  background: #007bff;
  color: white;
  padding: 8px;
}

td, th {
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 14px;
}
.apbd-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  text-align: left; /* default */
}

.apbd-card table th,
.apbd-card table td {
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
}

.apbd-card table th {
  background: #007bff;
  color: white;
  text-align: center;
}

/* Kolom pertama (Uraian) rata kiri */
.apbd-card table td:first-child {
  text-align: left;
}

/* Kolom Anggaran & Realisasi rata kanan */
.apbd-card table td:nth-child(2),
.apbd-card table td:nth-child(3) {
  text-align: right;
}

/* Baris total */
.apbd-card table tfoot td {
  font-weight: bold;
  background: #f8f9fa;
}

