/* Dasbor jastiper bergaya PPOB modern. Mode terang, ES5-aman: tanpa CSS grid, tanpa gap. */
/* Kartu izin lokasi: hanya di dalam tab Antar. */
.jd-loc-gate { display: none; margin: 0 0 14px; }
.jd-loc-gate.is-on { display: block; }
.jd-loc-gate[hidden] { display: none !important; }
.jd-loc-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 22px;
  padding: 22px 20px 20px;
  box-shadow: 0 16px 36px rgba(39, 65, 48, .08);
}
.jd-loc-pin {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background: #eaf4ed;
  color: #24734f;
  font-size: 32px;
  line-height: 64px;
  text-align: center;
}
.jd-loc-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  color: #18583b;
  text-align: center;
}
.jd-loc-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #4d5c52;
  text-align: center;
}
.jd-loc-steps {
  margin: 0 0 16px;
  padding: 0 0 0 20px;
  color: #24332b;
  font-size: 14px;
  line-height: 1.55;
}
.jd-loc-steps li { margin: 0 0 8px; }
.jd-loc-retry {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #24734f;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.jd-loc-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #69776e;
  text-align: center;
  line-height: 1.45;
}

/* Header + beranda PPOB */
#view-beranda > .jd-h,
#view-beranda > .jd-sub { display: none; }
.jd-ppob-hero {
  margin: 0 0 12px;
}
.jd-ppob-hello {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #69776e;
}
.jd-ppob-name {
  margin: 2px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #18583b;
}
.jd-ppob-date {
  margin: 4px 0 0;
  font-size: 12px;
  color: #69776e;
}
.jd-ppob-sum {
  background: linear-gradient(135deg, #1e7a54 0%, #24734f 55%, #1a5c40 100%);
  color: #fff;
  border-radius: 20px;
  padding: 16px 16px 14px;
  margin: 0 0 14px;
  box-shadow: 0 10px 24px rgba(24, 88, 59, .22);
}
.jd-ppob-sum-k {
  display: block;
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
  margin: 0 0 4px;
}
.jd-ppob-sum-v {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.jd-ppob-sum-row { overflow: hidden; }
.jd-ppob-sum-col {
  float: left;
  width: 50%;
  box-sizing: border-box;
  padding-right: 8px;
}
.jd-ppob-sum-col + .jd-ppob-sum-col { padding-right: 0; padding-left: 8px; }
.jd-ppob-sum-col span { display: block; font-size: 11px; opacity: .85; }
.jd-ppob-sum-col b { display: block; font-size: 16px; margin-top: 2px; }

.jd-ppob-tiles {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -6px 8px;
}
.jd-ppob-tile {
  width: 25%;
  box-sizing: border-box;
  padding: 0 6px 12px;
  border: 0;
  background: transparent;
  color: #24332b;
  text-align: center;
  font: inherit;
  cursor: pointer;
}
.jd-ppob-ico {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 6px;
  border-radius: 16px;
  font-size: 24px;
  line-height: 52px;
  box-shadow: 0 6px 14px rgba(39, 65, 48, .08);
}
.jd-ppob-tile b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.jd-ppob-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #e35b3b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  box-shadow: 0 0 0 2px #fff;
}
.jd-ppob-c1 { background: #ffe8cc; }
.jd-ppob-c2 { background: #d9f0e4; }
.jd-ppob-c3 { background: #dce8ff; }
.jd-ppob-c4 { background: #f3e0ff; }
.jd-ppob-c5 { background: #ffe0e8; }
.jd-ppob-c6 { background: #e0f6fb; }
.jd-ppob-c7 { background: #fff3b8; }
.jd-ppob-c8 { background: #e8efe3; }

/* Kartu lama di beranda: rapikan */
#view-beranda .jd-cards { margin-top: 4px; }
#view-beranda .jd-cards .jd-card { display: none; }

/* Tabbar PPOB */
.jd-tabbar {
  background: #fff !important;
  box-shadow: 0 -8px 24px rgba(39, 65, 48, .06);
  border-top: 1px solid #eadfcb;
}
.jd-tabbar button {
  gap: 0;
  color: #7a877f;
}
.jd-tabbar button svg { margin-bottom: 3px; }
.jd-tabbar button.is-on {
  color: #18583b;
  background: #f3f7ee;
}

/* Daftar pesanan lebih bersih */
#view-pesanan .og-summary {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
#view-pesanan .og-chip {
  width: 50%;
  box-sizing: border-box;
  border-radius: 14px;
  margin: 0;
}
#view-pesanan .order-group {
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(39, 65, 48, .05);
}
.jd-og-tambahan {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff3b8;
  color: #7a5b00;
  font-size: 11px;
  font-weight: 800;
}
.jd-og-fromchat {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf4ed;
  color: #18583b;
  font-size: 11px;
  font-weight: 800;
}
