html, body {
  margin:0;
  height:100%;
}

#map {
  position:absolute;
  inset:0;
}

/* ================= FLOATING BUTTONS ================= */


.rightbar { right:22px; }

.leftbar i, .rightbar i {
  width:60px;
  height:60px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:20px;
  color:white;

  background:rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);

  border-radius:12px;
  cursor:pointer;

  transition:.25s;
  box-shadow:0 5px 14px rgba(0,0,0,.25);
}

.leftbar i:hover, .rightbar i:hover {
  background:rgba(20,30,38,.9);
}

/* ================= BOTTOM BAR ================= */

.bottombar {
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);

  display:flex;
  gap:18px;

  padding:10px 20px;
  background:rgba(36,54,64,.85);
  backdrop-filter: blur(8px);

  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

.bottombar i {
  font-size:18px;
  color:white;
  cursor:pointer;
}

.corner-logo {
  position: absolute;
  top: 14px;
  left: 27px;
  height: 50px;
  width: auto;
  z-index: 10;
}


.tooltip-inner {
  background: rgba(20,30,38,.95);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.tooltip.bs-tooltip-right .tooltip-arrow::before,
.tooltip.bs-tooltip-left .tooltip-arrow::before {
  border-right-color: rgba(20,30,38,.95);
  border-left-color: rgba(20,30,38,.95);
}


.layer-panel {
  position: relative;

  width: 300px;
  height: calc(100vh - 120px);

  background: linear-gradient(#1b1b1b, #111);
  color: #fff;

  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);

  display: none;
  flex-direction: column;
  z-index: 20;
}


.layer-panel-header {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.layer-panel-filter {
  position: relative;
  padding: 12px 16px;
}

.layer-panel-filter input {
  width: 100%;
  padding: 8px 34px 8px 10px;
  background: #333;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
}

.layer-panel-filter i {
  position: absolute;
  right: 26px;
  top: 20px;
  color: #aaa;
  font-size: 13px;
}

.layer-panel-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer-empty {
  text-align: center;
  max-width: 220px;
}

.layer-empty .title {
  font-weight: 600;
  margin-bottom: 6px;
}

.layer-empty .desc {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 14px;
}

.btn-download {
  background: #ff7a1a;
  border: none;
  padding: 8px 14px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.layer-panel-footer {
  padding: 12px;
}

.btn-catalogue {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #ff7a1a;
  color: #ff7a1a;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leftbar {
  position: absolute;
  top: 90px;
  left: 22px;

  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.left-icons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ========== LEFT BAR CONTAINER ========== */

.leftbar {
  position: absolute;
  top: 90px;
  left: 22px;

  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* ========== ICON COLUMN ========== */

.left-icons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ========== RIGHT BAR ========== */

.rightbar {
  position: absolute;
  top: 90px;
  right: 22px;

  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* ========== COMMON ICON STYLE ========== */

.leftbar i, .rightbar i {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  color: white;

  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);

  border-radius: 12px;
  cursor: pointer;

  transition: .25s;
  box-shadow: 0 5px 14px rgba(0,0,0,.25);
}

.leftbar i:hover, .rightbar i:hover {
  background: rgba(20,30,38,.9);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.filter-group label {
  font-size: 12px;
  color: #ccc;
}

.filter-group select {
  background: #222;
  border: 1px solid #444;
  color: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
}

.custom-tabs {
  margin-top: 10px;
  border-bottom: 1px solid #333;
}

.custom-tabs .nav-link {
  background: transparent;
  color: #bbb;
  font-size: 12px;
  border: none;
}

.custom-tabs .nav-link.active {
  color: #ff7a1a;
  border-bottom: 2px solid #ff7a1a;
}

.checklist {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.checklist input {
  margin-right: 6px;
}

.btn-search {
  margin-top: 12px;
  width: 100%;
  padding: 8px;
  border: none;
  background: #ff7a1a;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}


.layer-panel {
  display: none;
  flex-direction: column;
  width: 300px;
  height: calc(100vh - 120px);
  background: linear-gradient(#1b1b1b, #111);
  border-radius: 12px;
  overflow: hidden;
}

.layer-panel-header {
  padding: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.layer-panel-filters {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.layer-panel-filters label {
  font-size: 12px;
  color: #ccc;
}

.layer-panel-filters select {
  background: #222;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
  padding: 6px;
}

.layer-panel-tabs {
  padding: 0 12px;
}

.layer-panel-content {
  flex: 1;
  padding: 10px 12px;
  overflow-y: auto;
}

.layer-panel-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.custom-tabs {
  margin-top: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.custom-tabs .nav-link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;

  color: #bbb;
  background: rgba(255,255,255,.04);
  border-radius: 6px 6px 0 0;
  border: none;

  margin-right: 6px;
  transition: .2s ease;
}

.custom-tabs .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.custom-tabs .nav-link.active {
  color: #ff7a1a;
  background: rgba(255,255,255,.08);
  border-bottom: 2px solid #ff7a1a;
}

.check-group {
  margin-bottom: 14px;
}

.group-title {
  font-size: 13px;
  font-weight: 600;
  color: #ff7a1a;
  margin-bottom: 6px;
}

.form-check {
  margin-left: 6px;
  margin-bottom: 6px;
}

.form-check-input {
  width: 18px;
  height: 18px;
}

.form-check-label {
  font-size: 13px;
}

.layer-panel-content::-webkit-scrollbar {
  width: 6px;
}

.layer-panel-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 10px;
}


.basemap-panel {
  display: none;
  flex-direction: column;
  width: 300px;
  height: 320px;

  background: linear-gradient(#1b1b1b, #111);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  color: white;
}

.basemap-panel-header {
  padding: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.basemap-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.basemap-item {
  cursor: pointer;
  text-align: center;
}

.basemap-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 4px;
}

.basemap-item span {
  font-size: 12px;
}

.basemap-item {
  cursor: pointer;
  text-align: center;
}

.basemap-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,.1);
}

.basemap-item span {
  font-size: 12px;
  color: #ddd;
}


#mapLoader {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  z-index: 999;
}

.basemap-item {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.basemap-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}

.basemap-item img {
  transition: filter .2s ease;
}

.basemap-item:hover img {
  filter: brightness(1.1) contrast(1.1);
}

.basemap-panel {
  max-height: calc(100vh - 140px);
  overflow: hidden;
}

.basemap-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;

  overflow-y: auto;
  max-height: calc(100vh - 220px);
}

/* scrollbar cantik */
.basemap-grid::-webkit-scrollbar {
  width: 6px;
}

.basemap-grid::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 10px;
}

.map-control {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(36,54,64,.85);
  backdrop-filter: blur(8px);

  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.map-control button {
  transition: all .15s ease;
}

.map-control button:hover {
  transform: translateY(-1px);
}


.map-control button {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: white;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.map-control button:hover {
  background: rgba(255,255,255,.12);
}

.zoom-level {
  min-width: 48px;
  text-align: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 6px;
  background: rgba(0,0,0,.3);
  border-radius: 6px;
}

.hud-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  cursor: pointer;

  transition: .2s ease;
}

.hud-btn:hover {
  background: rgba(0,0,0,.6);
}


.hud-btn::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(15,15,15,.9);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: .15s ease;
}

.hud-btn:hover::after {
  opacity: 1;
}

.zoom-level {
  position: relative;
}

/* Tooltip */
.zoom-level::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(15,15,15,.9);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: .15s ease;
}

.zoom-level:hover::after {
  opacity: 1;
}


.legend-panel-content {
  padding: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 10px;
}

.legend-panel {
  display: none;
  flex-direction: column;
  width: 260px;
  max-height: calc(100vh - 140px);

  background: linear-gradient(#1b1b1b, #111);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  color: white;
}

.legend-panel-header {
  padding: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.legend-panel-content {
  padding: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 10px;
}

.legend-item {
  display: flex;
  align-items: center;

  font-size: 14px;         /* sebelumnya 13px */
  font-weight: 500;       /* lebih tegas */
  margin-bottom: 12px;
  letter-spacing: .2px;   /* biar bersih */
}

.legend-panel-header {
  font-size: 15px;        /* header lebih dominan */
  font-weight: 600;
}

.legend-color {
  width: 16px;           /* ikon warna lebih jelas */
  height: 16px;
  border-radius: 5px;
  margin-right: 12px;
}

.legend-item:hover {
  color: #fff;
}

.map-status {
  position: absolute;
  left: 20px;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 6px 12px;
  background: rgba(36,54,64,.85);
  backdrop-filter: blur(6px);
  border-radius: 8px;

  font-size: 12px;
  color: #e8f0f5;
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}

.map-status .divider {
  opacity: .5;
}

.rightbar {
  position: absolute;
  top: 90px;
  right: 22px;

  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.right-icons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-panel,
.chart-panel {
  display: none;
  flex-direction: column;

  width: 280px;
  max-height: calc(100vh - 140px);

  background: linear-gradient(#1b1b1b, #111);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  color: white;
}

.info-panel-header, .chart-panel-header {
  padding: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.info-panel-content, .chart-panel-content {
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.info-panel, .chart-panel {
  max-height: calc(100vh - 140px);
}

.info-panel-content, .chart-panel-content {
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}

.info-panel-content::-webkit-scrollbar {
  width: 6px;
}

.info-panel-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.25);
  border-radius: 6px;
}

.info-panel-content::-webkit-scrollbar-track {
  background: transparent;
}

.chart-panel-content::-webkit-scrollbar {
  width: 6px;
}

.chart-panel-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.25);
  border-radius: 6px;
}

.chart-panel-content::-webkit-scrollbar-track {
  background: transparent;
}
@media print {

  body {
    margin: 0;
  }

  #printHeader {
    display: block;
    position: relative;
    z-index: 9999;
    padding: 10px 0;
  }

  .leftbar,
  .rightbar,
  .map-control,
  .map-status,
  .corner-logo {
    display: none !important;
  }

  #map {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
  }
}

#map canvas {
  will-change: transform;
}

.info-panel,
.search-panel,
.chart-panel {
  position: relative;   /* penting */
  width: 300px;

  max-height: calc(100vh - 140px);
  overflow-y: auto;

  background: linear-gradient(#1b1b1b, #111);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  color: white;

  display: none;
  flex-direction: column;
  z-index: 50;
}


.search-panel-header {
  padding: 14px 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.search-panel-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-panel-content label {
  font-size: 12px;
  color: #bbb;
}

.search-panel-content input {
  background: #222;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
}

.btn-search-location {
  margin-top: 10px;
  background: #ff7a1a;
  border: none;
  color: white;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

/* ===== ACTIVE ICON PREMIUM ===== */

.leftbar i.active,
.rightbar i.active {
  background: #ff7a1a;
  color: #111;
  box-shadow: 
    0 6px 18px rgba(255,122,26,.45),
    inset 0 1px 0 rgba(255,255,255,.4);
  transform: scale(1.05);
}



/* ===== USER ICON (TOP RIGHT) ===== */

.topbar-user {
  position: absolute;
  top: 14px;
  right: 27px;
  z-index: 99;
}

.topbar-user i {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  color: #111;

  background: linear-gradient(135deg, #ff7a1a, #ffb347);
  border-radius: 50%;
  cursor: pointer;

  box-shadow: 0 8px 22px rgba(255,122,26,.45);
  transition: .2s ease;
}

.topbar-user i:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 10px 28px rgba(255,122,26,.6);
}

.map-label-popup .maplibregl-popup-content {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
}

.map-label-popup .maplibregl-popup-tip {
  display: none;
}

.map-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

.map-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-label-text {
  line-height: 1.2;
}


.detail-popup-wrapper .maplibregl-popup-content {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.detail-popup {
  width: 320px;
  background: #1e1e1e;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
  z-index: 1000 !important;
}

.detail-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-weight: 600;
  background: #2a2a2a;
}

.detail-popup-close {
  cursor: pointer;
  opacity: 0.6;
}

.detail-popup-body {
  padding: 12px 14px;
}

.detail-popup-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.detail-popup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.detail-popup-table td {
  padding: 6px 0;
  vertical-align: top;
}

.detail-popup-table td:first-child {
  width: 42%;
  color: #b0b0b0;
}

.detail-popup-footer {
  padding: 12px;
  background: #2a2a2a;
  text-align: center;
}

.detail-popup-btn {
  background: #ff7a1a;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* ============================= */
/* MAPLIBRE POPUP RESET TOTAL */
/* ============================= */



/* popup container kita */
.detail-popup-container {
  padding: 0 !important;
}

/* ============================= */
/* DETAIL POPUP UI */
/* ============================= */
/* ============================= */
/* DETAIL POPUP RESET (AMAN) */
/* ============================= */

.detail-popup-wrapper .maplibregl-popup-content {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.detail-popup-wrapper .maplibregl-popup-tip {
  display: none !important;
}


.detail-popup {
  width: 360px;
  background: linear-gradient(180deg, #2b2b2b, #1f1f1f);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.detail-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  font-weight: 600;
  font-size: 14px;
}

.detail-popup-close {
  cursor: pointer;
  font-size: 18px;
  opacity: .7;
}

.detail-popup-close:hover {
  opacity: 1;
}

.detail-popup-body {
  padding: 14px 16px;
}

.detail-popup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.detail-popup-table td {
  padding: 6px 0;
  vertical-align: top;
}

.detail-popup-table td:first-child {
  color: #b5b5b5;
  width: 38%;
}

.detail-popup-footer {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.detail-popup-btn {
  background: #ff7a1a;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.map-label-popup .maplibregl-popup-content {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.08);
}

.map-label-popup .maplibregl-popup-tip {
  display: none;
}

.map-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #222;
}

.detail-popup-wrapper .maplibregl-popup-content {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.detail-popup-wrapper .maplibregl-popup-tip {
  display: none !important;
}


.map-label-popup {
  pointer-events: none;
  z-index: 10;
}

/* DETAIL POPUP = PALING ATAS */
.maplibregl-popup.detail-popup-wrapper {
  z-index: 9999 !important;
  pointer-events: auto;
}

/* ============================= */
/* CHART DETAIL PANEL */
/* ============================= */

.chart-detail-wrapper {
  color: #fff;
}

/* IMAGE */
.chart-detail-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
}

.chart-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TITLE */
.chart-detail-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* TABLE DARK */
.chart-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 14px;
}

.chart-detail-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chart-detail-table td {
  padding: 6px 4px;
  vertical-align: top;
}

.chart-detail-table td:first-child {
  color: #b5b5b5;
  width: 40%;
}

/* CHART */
.chart-wrapper {
  margin-top: 10px;
}

.chart-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.summary-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.summary-label {
  font-size: 12px;
  color: #bdbdbd;
  margin-bottom: 6px;
}

.summary-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .5px;
}

/* Accent warna */
.summary-card.total .summary-value {
  color: #ffffff;
  cursor: pointer;
}

.summary-card.pelatih .summary-value {
  color: #ffffff;
  cursor: pointer;
}

.summary-card.nondifable .summary-value {
  color: #2196f3;
}

.summary-card.difable .summary-value {
  color: #ff7a1a;
}

.summary-card.pelatih_sertifikat .summary-value {
  color: #00c853;
}

.summary-card.pelatih_non_sertifikat .summary-value {
  color: #ff5252;
}

/* hover subtle */
.summary-card:hover {
  transform: translateY(-2px);
  transition: .2s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}


@media print {

  body * {
    visibility: hidden;
  }

  #map, #map * {
    visibility: visible;
  }

  #map {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

}

.sarpras-fasilitas-list {
  padding-left: 18px;
  margin-bottom: 15px;
}

.sarpras-fasilitas-list li {
  margin-bottom: 5px;
  font-size: 14px;
}

.cabor-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.badge-cabor{
  background:#0d6efd;
  color:#fff;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
}

.sarpras-fasilitas-list{
  padding-left:18px;
}

.sarpras-fasilitas-list li{
  margin-bottom:4px;
}


/* modal animation */
.modal-atlet-modern .modal-dialog{
  transform: scale(.9);
  transition: all .25s ease;
}

.modal-atlet-modern.show .modal-dialog{
  transform: scale(1);
}

/* modal body */
.modal-atlet-modern .modal-content{
  border-radius:12px;
  border:none;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}

/* table style */
.table-modern{
  font-size:14px;
}

.table-modern thead{
  background:#f8f9fa;
}

.table-modern th{
  font-weight:600;
  color:#555;
}

.table-modern tbody tr{
  transition:all .15s ease;
}

.table-modern tbody tr:hover{
  background:#f1f3f5;
}

/* kategori badge */
.badge-kategori{
  background:#ffc107;
  color:#222;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

/* level badge */
.badge-level{
  padding:3px 8px;
  border-radius:6px;
  font-size:12px;
}

.level-junior{
  background:#e3f2fd;
  color:#1976d2;
}

.level-senior{
  background:#e8f5e9;
  color:#2e7d32;
}