/* CSS Variables */
:root {
  --z4s2ho-v96t: #4f46e5;
  --xb0sm-cjdh: #ffffff;
  --h31-cw: #f9fafb;
  --qw2t2-vf7: #0f172a;
  --m8guv1-lsp: #6b7280;
  --ods8-nqj: #e5e7eb;
  --afewlz-u9: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --smn27v-pr3p: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --ih6k-xuc: 16px;
  --yazqr-xx: 56px;
  --ygi-bc: 12px;
  --kasp29-riq: 999999;
}

/* Base Reset */
.pok-iqgg9aw4pwkt,
.pok-iqgg9aw4pwkt * { box-sizing: border-box; margin: 0; padding: 0; }

/* Main Container */
.pok-iqgg9aw4pwkt {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--kasp29-riq);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--qw2t2-vf7);
}
.pok-iqgg9aw4pwkt.pok-asifan3ez { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.pok-v9c6nwzbw4fk { display: flex; flex-direction: column-reverse; gap: var(--ygi-bc); align-items: center; }
.pok-gnwpcj94g5t {
  width: var(--yazqr-xx); height: var(--yazqr-xx); min-width: var(--yazqr-xx); min-height: var(--yazqr-xx);
  border-radius: 50%; border: none; background: var(--z4s2ho-v96t); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--afewlz-u9);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.pok-gnwpcj94g5t:hover { transform: scale(1.05); box-shadow: var(--smn27v-pr3p); }
.pok-gnwpcj94g5t:active { transform: scale(0.95); }
.pok-gnwpcj94g5t:focus { outline: 2px solid var(--z4s2ho-v96t); outline-offset: 2px; }
.pok-gnwpcj94g5t svg { width: 24px; height: 24px; fill: currentColor; }

/* Messenger Buttons - Specific Colors */
.pok-gnwpcj94g5t[data-lv69="telegram"]{ background:#0088cc; }
.pok-gnwpcj94g5t[data-lv69="whatsapp"]{ background:#25d366; }
.pok-gnwpcj94g5t[data-lv69="viber"]{ background:#7360f2; }
.pok-gnwpcj94g5t[data-lv69="messenger"]{ background:#0084ff; }

/* Pulse Animation */
@keyframes pulse { 0%,100%{ transform:scale(1); opacity:1;} 50%{ transform:scale(1.05); opacity:.9;} }
.pok-gnwpcj94g5t.pok-t54jfbynsab{ animation:pulse 2s ease-in-out infinite; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .pok-gnwpcj94g5t.pok-t54jfbynsab{ animation:none; }
  .pok-gnwpcj94g5t,.pok-t1j3bom8wk,.pok-yxmzbfh00g{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.pok-t1j3bom8wk{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--xb0sm-cjdh); border-radius: var(--ih6k-xuc); box-shadow: var(--smn27v-pr3p);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity .2s ease, transform .2s ease;
  visibility: hidden; pointer-events: none;
}
.pok-iqgg9aw4pwkt.pok-asifan3ez .pok-t1j3bom8wk{ right:auto; left:24px; }
.pok-t1j3bom8wk.pok-vvsj6g0e000w{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.pok-hyodahh1r607{
  padding:16px 20px; background:var(--xb0sm-cjdh); border-bottom:1px solid var(--ods8-nqj);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.pok-vrhtcbqledh{ width:10px; height:10px; border-radius:50%; background:var(--z4s2ho-v96t); flex-shrink:0; }
.pok-icvex4hiazib{ flex:1; min-width:0; }
.pok-vfc3qrck5{ font-size:16px; font-weight:600; color:var(--qw2t2-vf7); margin:0 0 2px 0; }
.pok-kt836hon{ font-size:13px; color:var(--m8guv1-lsp); margin:0; }
.pok-l1j075awrfo{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--m8guv1-lsp);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.pok-l1j075awrfo:hover{ background:var(--h31-cw); color:var(--qw2t2-vf7); }
.pok-l1j075awrfo:focus{ outline:2px solid var(--z4s2ho-v96t); outline-offset:2px; }
.pok-l1j075awrfo svg{ width:20px; height:20px; }

/* Body */
.pok-xfizllt2y{
  flex:1; overflow-y:auto; padding:16px; background:var(--h31-cw);
  display:flex; flex-direction:column; gap:12px;
}
.pok-xfizllt2y::-webkit-scrollbar{ width:6px; }
.pok-xfizllt2y::-webkit-scrollbar-track{ background:transparent; }
.pok-xfizllt2y::-webkit-scrollbar-thumb{ background:var(--ods8-nqj); border-radius:3px; }
.pok-xfizllt2y::-webkit-scrollbar-thumb:hover{ background:var(--m8guv1-lsp); }

/* Messages */
.pok-yxmzbfh00g{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.pok-yxmzbfh00g.pok-kcesgee1{ flex-direction:row-reverse; }
.pok-abbb5qu8s51{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.pok-abbb5qu8s51 a{ color:inherit; }
.pok-yxmzbfh00g.pok-sqjgtuinrl .pok-abbb5qu8s51{ background:var(--xb0sm-cjdh); color:var(--qw2t2-vf7); border-bottom-left-radius:4px; }
.pok-yxmzbfh00g.pok-kcesgee1 .pok-abbb5qu8s51{ background:var(--z4s2ho-v96t); color:#fff; border-bottom-right-radius:4px; }
.pok-s5q3nk9gdpbp{ font-size:11px; color:var(--m8guv1-lsp); margin-top:4px; display:block; }

/* Typing Indicator */
.pok-bno43cds0js4{
  display:flex; gap:8px; padding:10px 14px; background:var(--xb0sm-cjdh);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.pok-y6ai7ze3{ width:8px; height:8px; border-radius:50%; background:var(--m8guv1-lsp); animation:typingDot 1.4s infinite; }
.pok-y6ai7ze3:nth-child(2){ animation-delay:.2s; }
.pok-y6ai7ze3:nth-child(3){ animation-delay:.4s; }
@keyframes typingDot{ 0%,60%,100%{ transform:translateY(0); opacity:.5;} 30%{ transform:translateY(-8px); opacity:1;} }

/* Quick Replies (chips) */
.pok-o55yjn1cwb{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.pok-jop5entdk9{
  border:0; border-radius:999px; padding:8px 12px; background:var(--z4s2ho-v96t); color:#fff; cursor:pointer;
  font:inherit; line-height:1; transition:transform .08s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: var(--afewlz-u9);
}
.pok-jop5entdk9:is(:hover,:focus){ transform:translateY(-1px); }
a.pok-jop5entdk9{ text-decoration:none; display:inline-block; }
a.pok-jop5entdk9:link, a.pok-jop5entdk9:visited{ color:#fff; }
a.pok-jop5entdk9:hover, a.pok-jop5entdk9:focus{ color:#fff; }

/* Error Banner */
.pok-f8lfwejlp717{
  padding:12px 16px; background:#fee; color:#c00; border-radius:8px; font-size:13px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.pok-x38r4hkq{
  padding:6px 12px; background:#c00; color:#fff; border:none; border-radius:6px; font-size:12px; cursor:pointer; white-space:nowrap;
}

/* Footer */
.pok-ufce7joa0{
  padding:16px; background:var(--xb0sm-cjdh); border-top:1px solid var(--ods8-nqj);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.pok-z88c4e6d{
  flex:1; padding:10px 14px; border:1px solid var(--ods8-nqj); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--qw2t2-vf7);
  background:var(--h31-cw); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.pok-z88c4e6d:focus{ border-color:var(--z4s2ho-v96t); }
.pok-z88c4e6d::placeholder{ color:var(--m8guv1-lsp); }
.pok-z88c4e6d.pok-rmbwamvznfg6{ border-color:#c00; }
.pok-jn562xem5{
  width:40px; height:40px; min-width:40px; border:none; background:var(--z4s2ho-v96t); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.pok-jn562xem5:disabled{ opacity:.5; cursor:not-allowed; }
.pok-jn562xem5:not(:disabled):hover{ transform:scale(1.05); }
.pok-jn562xem5:not(:disabled):active{ transform:scale(0.95); }
.pok-jn562xem5:focus{ outline:2px solid var(--z4s2ho-v96t); outline-offset:2px; }
.pok-jn562xem5 svg{ width:20px; height:20px; }

/* Character Counter */
.pok-k00rfu9d{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--m8guv1-lsp); }
.pok-k00rfu9d.pok-n208l234v{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.pok-y8xlea53{
  align-self:flex-start;
  max-width:75%;
  background: var(--xb0sm-cjdh);
  color: var(--qw2t2-vf7);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--afewlz-u9);
}
.pok-usviwpprd{ display:flex; flex-wrap:wrap; gap:8px; }

/* Solid pill buttons */
.pok-n80eitqmzl{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background: var(--z4s2ho-v96t); color:#fff; border:1px solid transparent;
  font-size:13px; line-height:1; text-decoration:none;
  box-shadow: var(--afewlz-u9);
  transition: transform .08s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.pok-n80eitqmzl:link, .pok-n80eitqmzl:visited{ color:#fff; }
.pok-n80eitqmzl:hover{ transform:translateY(-1px); box-shadow: var(--smn27v-pr3p); }
.pok-n80eitqmzl:active{ transform:translateY(0); }
.pok-n80eitqmzl:focus-visible{ outline:2px solid var(--z4s2ho-v96t); outline-offset:2px; }

/* Optional outline variant */
.pok-n80eitqmzl.pok-hok5ad0zcd2{
  background: transparent; color: var(--qw2t2-vf7); border-color: var(--ods8-nqj);
}
.pok-n80eitqmzl.pok-hok5ad0zcd2:hover{
  background: var(--z4s2ho-v96t); color:#fff; border-color: var(--z4s2ho-v96t);
}

/* Mobile */
@media (max-width: 768px){
  .pok-iqgg9aw4pwkt{ bottom:16px; right:16px; }
  .pok-iqgg9aw4pwkt.pok-asifan3ez{ left:16px; }
  .pok-gnwpcj94g5t{ --yazqr-xx:60px; }
  .pok-t1j3bom8wk{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--ih6k-xuc) var(--ih6k-xuc) 0 0; transform: translateY(100%);
  }
  .pok-t1j3bom8wk.pok-vvsj6g0e000w{ transform: translateY(0); }
  .pok-hyodahh1r607{ padding:20px; }
  .pok-ufce7joa0{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

/* High Contrast */
@media (prefers-contrast: high){ .pok-gnwpcj94g5t, .pok-t1j3bom8wk{ border:2px solid currentColor; } }

/* Focus Visible */
.pok-iqgg9aw4pwkt :focus-visible{ outline:2px solid var(--z4s2ho-v96t); outline-offset:2px; }

/* SR-only */
.pok-p5et85enyfh{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0;
}

/* Hidden */
.pok-v0g68ggws3{ display:none !important; }
