/* assets/chat-widget.css — Live Chat PremiumGo (4 Okt 2026). Semua kelas ber-prefix .pgc- (tidak bentrok dengan halaman). */
.pgc{--pgc-bg:#0d0f1c;--pgc-card:#151a2e;--pgc-line:rgba(160,180,255,.16);--pgc-ink:#eef1ff;--pgc-mut:#9aa3c7;--pgc-me1:#22d3ee;--pgc-me2:#8b7bff;--pgc-ok:#34d399;--pgc-warn:#fbbf24;
  position:fixed;right:18px;bottom:18px;z-index:9990;font:14px/1.45 system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--pgc-ink)}
.pgc *{box-sizing:border-box}
.pgc-bubble{display:flex;align-items:center;gap:8px;height:52px;padding:0 18px 0 16px;border:0;border-radius:999px;cursor:pointer;color:#071018;font-weight:800;font-size:14.5px;
  background:linear-gradient(110deg,var(--pgc-me1),var(--pgc-me2));box-shadow:0 12px 30px -10px rgba(34,211,238,.6);position:relative}
.pgc-bubble svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.pgc-bubble:focus-visible,.pgc button:focus-visible,.pgc textarea:focus-visible,.pgc input:focus-visible{outline:2px solid #fff;outline-offset:2px}
.pgc-badge{position:absolute;top:-6px;right:-4px;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#ff4f6d;color:#fff;font-size:11.5px;display:grid;place-items:center;border:2px solid var(--pgc-bg)}
.pgc-badge[hidden]{display:none}
.pgc.is-open .pgc-bubble{display:none}
.pgc-panel{position:absolute;right:0;bottom:0;width:370px;height:min(600px,calc(100vh - 36px));display:flex;flex-direction:column;overflow:hidden;
  background:var(--pgc-bg);border:1px solid var(--pgc-line);border-radius:20px;box-shadow:0 30px 70px -20px rgba(0,0,0,.7)}
.pgc-panel[hidden]{display:none}
.pgc-hd{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;border-bottom:1px solid var(--pgc-line);background:linear-gradient(180deg,rgba(139,123,255,.16),transparent)}
.pgc-av{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-weight:800;color:#071018;background:linear-gradient(135deg,var(--pgc-me1),var(--pgc-me2))}
.pgc-ht{flex:1;min-width:0;display:flex;flex-direction:column}
.pgc-ht b{font-size:14.5px}
.pgc-on{font-size:12px;color:var(--pgc-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgc-x{width:36px;height:36px;border-radius:10px;border:1px solid var(--pgc-line);background:transparent;color:var(--pgc-ink);cursor:pointer;font-size:15px}
.pgc-list{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.pgc-m{display:flex}
.pgc-me{justify-content:flex-end}
.pgc-b{max-width:82%;padding:8px 11px 6px;border-radius:16px;position:relative;overflow-wrap:anywhere}
.pgc-me .pgc-b{background:linear-gradient(110deg,#1fb8d3,#7a6cf0);color:#fff;border-bottom-right-radius:6px}
.pgc-adm .pgc-b{background:var(--pgc-card);border:1px solid var(--pgc-line);border-bottom-left-radius:6px}
.pgc-tx{white-space:pre-wrap}
.pgc-b img{display:block;max-width:100%;max-height:260px;border-radius:10px;margin-bottom:6px;cursor:zoom-in;background:#222}
.pgc-tm{display:block;text-align:right;font-size:10.5px;opacity:.75;margin-top:2px}
.pgc-pend .pgc-b{opacity:.7}
.pgc-err .pgc-b{outline:1px solid #ff4f6d}
.pgc-sys{justify-content:center}
.pgc-sysb{max-width:92%;text-align:center;font-size:12px;color:var(--pgc-mut);background:rgba(255,255,255,.04);border:1px dashed var(--pgc-line);border-radius:12px;padding:6px 10px}
.pgc-strip{padding:8px 12px;font-size:12.5px;color:#fde68a;background:rgba(251,191,36,.08);border-top:1px solid var(--pgc-line)}
.pgc-off .pgc-strip{color:#fecaca;background:rgba(255,79,109,.1)}
.pgc-form{border-top:1px solid var(--pgc-line);padding:10px 10px calc(10px + env(safe-area-inset-bottom))}
.pgc-intro{display:flex;gap:6px;margin-bottom:8px}
.pgc-intro[hidden]{display:none}
.pgc-in{flex:1;min-width:0;height:36px;padding:0 10px;border-radius:10px;border:1px solid var(--pgc-line);background:var(--pgc-card);color:var(--pgc-ink);font:inherit;font-size:13px}
.pgc-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.pgc-prev{position:relative;display:inline-block;margin-bottom:8px}
.pgc-prev[hidden]{display:none}
.pgc-prev img{height:64px;border-radius:10px;border:1px solid var(--pgc-line)}
.pgc-rm{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;border:0;background:#ff4f6d;color:#fff;cursor:pointer;font-size:11px}
.pgc-row{display:flex;align-items:flex-end;gap:6px}
.pgc-att{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;border:1px solid var(--pgc-line);cursor:pointer;color:var(--pgc-mut)}
.pgc-att svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.pgc-ta{flex:1;min-width:0;min-height:40px;max-height:120px;resize:none;padding:9px 12px;border-radius:12px;border:1px solid var(--pgc-line);background:var(--pgc-card);color:var(--pgc-ink);font:inherit;font-size:16px;line-height:1.35}
.pgc-send{width:42px;height:40px;flex-shrink:0;border:0;border-radius:12px;cursor:pointer;color:#071018;background:linear-gradient(110deg,var(--pgc-me1),var(--pgc-me2))}
.pgc-send svg{width:20px;height:20px;fill:currentColor}
.pgc-ft{font-size:11px;color:var(--pgc-mut);text-align:center;margin-top:7px}
.pgc-disabled .pgc-bubble{filter:grayscale(.6);opacity:.85}
@media (max-width:640px){
  .pgc{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .pgc-bl{display:none}
  .pgc-bubble{width:56px;height:56px;padding:0;justify-content:center}
  .pgc.is-open{inset:0;right:0;bottom:0}
  .pgc-panel{position:fixed;inset:0;width:auto;height:auto;border-radius:0;border:0}
  .pgc-hd{padding-top:calc(12px + env(safe-area-inset-top))}
}
@media (prefers-reduced-motion:reduce){.pgc *{transition:none!important;animation:none!important}}
.pgc-tips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;border-top:1px solid var(--pgc-line)}
.pgc-tips[hidden]{display:none}
.pgc-tip{border:1px solid rgba(34,211,238,.45);background:rgba(34,211,238,.1);color:#cffafe;border-radius:999px;padding:6px 11px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.pgc-tipt{font-size:12px;color:var(--pgc-mut);line-height:1.4}
