/* ═══ Ikon khas Peace Infinite — dimuat di SEMUA halaman (2026-12-02) ═══
   Gaya C pilihan Haiqal: ubin bentuk huruf P dari logo (sudut kanan atas
   membulat besar, kanan bawah lancip), biru lembut, centang indigo, dan titik
   biru di kiri atas seperti titik huruf "i".
   .pi-tick  → ceklis daftar, dibuat dengan piTick() (app/helpers/icons.php)
   .pi-mark  → tanda besar (mis. "Pesan terkirim"), isi dengan icon('check')
   Lingkar titik mengikuti latar lewat --pi-ring.                           */

.pi-tick, span.pi-mark {
  position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 30% 50% 16% 30%;
  background: linear-gradient(150deg, #E8F6FD 0%, #EDF2FA 70%);
  box-shadow: inset 0 0 0 1.5px rgba(74,112,182,.24);
  color: #3A5C9C;
}
.pi-tick { width: 22px; height: 22px; margin-top: 1px; vertical-align: middle; }
.pi-tick svg { width: 13px; height: 13px; stroke-width: 3; }
.pi-tick::before, span.pi-mark::before {
  content: ''; position: absolute; border-radius: 50%; background: #4CB9EA;
  box-shadow: 0 0 0 2px var(--pi-ring, #fff);
}
.pi-tick::before { left: -3px; top: -3px; width: 7px; height: 7px; }

span.pi-mark { width: 56px; height: 56px; color: #3A5C9C; background: linear-gradient(150deg, #E8F6FD 0%, #EDF2FA 70%); }
span.pi-mark svg { width: 46%; height: 46%; stroke-width: 2.75; }
span.pi-mark::before { left: -5%; top: -5%; width: 22%; height: 22%; box-shadow: 0 0 0 3px var(--pi-ring, #fff); }
span.pi-mark--lg { width: 72px; height: 72px; }

/* Latar muda / navy / gelap */
.pi-section--muted, .lv-hero, .hp-standard-item, .kt-body { --pi-ring: #F4F8FC; }
.pi-card, .lv-jcard, .lv-detailrow, .kt-formcard, .kt-card, .es-opt, .pi-lm-card { --pi-ring: #fff; }
.pi-section--navy .pi-tick, .lv-support .pi-tick, .cta-section .pi-tick, .footer .pi-tick {
  --pi-ring: #1E2F55; background: rgba(76,185,234,.16); box-shadow: inset 0 0 0 1.5px rgba(164,222,248,.35); color: #A4DEF8;
}
body:not(.theme-light) .pi-tick { --pi-ring: #0B1424; background: rgba(76,185,234,.14); box-shadow: inset 0 0 0 1.5px rgba(164,222,248,.3); color: #A4DEF8; }
/* Popup audit selalu berlatar terang, juga di halaman tema lama */
body .pi-lm .pi-tick { --pi-ring: #fff; background: linear-gradient(150deg, #E8F6FD 0%, #EDF2FA 70%); box-shadow: inset 0 0 0 1.5px rgba(74,112,182,.24); color: #3A5C9C; }
.pi-lm-list li { align-items: center; }

/* Tempat khusus */
.es-sent .pi-tick { margin-top: 0; }
.ig-step-check:has(.pi-tick) { background: none; border: 0; width: auto; height: auto; }
.btn .pi-tick, button .pi-tick { width: 18px; height: 18px; margin: 0; }
.btn .pi-tick svg, button .pi-tick svg { width: 11px; height: 11px; }
.btn .pi-tick::before, button .pi-tick::before { width: 6px; height: 6px; }

/* Kotak centang di kalkulator estimasi (pilihan tambahan) */
.theme-light .es-opt-check { border-radius: 30% 50% 16% 30%; }
.theme-light .es-opt:has(input:checked) .es-opt-check {
  position: relative; background: linear-gradient(150deg, #E8F6FD, #EDF2FA); border-color: rgba(74,112,182,.45); color: #3A5C9C;
}
.theme-light .es-opt:has(input:checked) .es-opt-check::before {
  content: ''; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #4CB9EA; box-shadow: 0 0 0 2px var(--brand-blue-soft, #EDF2FA);
}
.theme-light .es-opt:has(input:checked) .es-opt-check svg { stroke-width: 3; }
.theme-light .es-opt input[type=radio] + .es-opt-check { border-radius: 50%; }

/* Ubin P berisi ikon sesuai isi butir (piTick(piItemIcon(...))) */
.pi-tick--ic { width: 26px; height: 26px; margin-top: -1px; }
.pi-tick--ic svg { width: 15px; height: 15px; stroke-width: 2; }
.pi-tick--ic::before { width: 8px; height: 8px; }
.hp-line-list .pi-tick--ic, .pi-lm-list .pi-tick--ic { width: 24px; height: 24px; margin-top: 0; }
.hp-line-list .pi-tick--ic svg, .pi-lm-list .pi-tick--ic svg { width: 14px; height: 14px; }
