/* CSS Variables */
:root {
  --op73-scuo: #4f46e5;
  --u0la-c63: #ffffff;
  --wzqp-nm: #f9fafb;
  --r4xmds-yhig: #0f172a;
  --mxnhhk-uj: #6b7280;
  --okk0o-ior: #e5e7eb;
  --pzhp-mlr7: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --imawx-fj: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --ocsa-om: 16px;
  --c6i-q1g: 56px;
  --aai2n-cu8: 12px;
  --veg0l-nhs7: 999999;
}

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

/* Main Container */
.gjpS03 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--veg0l-nhs7);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--r4xmds-yhig);
}
.gjpS03.i5X92 { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.joO2m { display: flex; flex-direction: column-reverse; gap: var(--aai2n-cu8); align-items: center; }
.umz9L4od {
  width: var(--c6i-q1g); height: var(--c6i-q1g); min-width: var(--c6i-q1g); min-height: var(--c6i-q1g);
  border-radius: 50%; border: none; background: var(--op73-scuo); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--pzhp-mlr7);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.umz9L4od:hover { transform: scale(1.05); box-shadow: var(--imawx-fj); }
.umz9L4od:active { transform: scale(0.95); }
.umz9L4od:focus { outline: 2px solid var(--op73-scuo); outline-offset: 2px; }
.umz9L4od svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .umz9L4od.nxMdl{ animation:none; }
  .umz9L4od,.wh5uOtmr,.puEk4{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.wh5uOtmr{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--u0la-c63); border-radius: var(--ocsa-om); box-shadow: var(--imawx-fj);
  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;
}
.gjpS03.i5X92 .wh5uOtmr{ right:auto; left:24px; }
.wh5uOtmr.hdgUtn{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.k9t9Wrix{
  padding:16px 20px; background:var(--u0la-c63); border-bottom:1px solid var(--okk0o-ior);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.eycPcg4{ width:10px; height:10px; border-radius:50%; background:var(--op73-scuo); flex-shrink:0; }
.vga1V5wv{ flex:1; min-width:0; }
.aoyvUz7t{ font-size:16px; font-weight:600; color:var(--r4xmds-yhig); margin:0 0 2px 0; }
.ss0T5w{ font-size:13px; color:var(--mxnhhk-uj); margin:0; }
.hg27G3eq{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--mxnhhk-uj);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.hg27G3eq:hover{ background:var(--wzqp-nm); color:var(--r4xmds-yhig); }
.hg27G3eq:focus{ outline:2px solid var(--op73-scuo); outline-offset:2px; }
.hg27G3eq svg{ width:20px; height:20px; }

/* Body */
.gkL82{
  flex:1; overflow-y:auto; padding:16px; background:var(--wzqp-nm);
  display:flex; flex-direction:column; gap:12px;
}
.gkL82::-webkit-scrollbar{ width:6px; }
.gkL82::-webkit-scrollbar-track{ background:transparent; }
.gkL82::-webkit-scrollbar-thumb{ background:var(--okk0o-ior); border-radius:3px; }
.gkL82::-webkit-scrollbar-thumb:hover{ background:var(--mxnhhk-uj); }

/* Messages */
.puEk4{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.puEk4.b8Art{ flex-direction:row-reverse; }
.ntthPb4w{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.ntthPb4w a{ color:inherit; }
.puEk4.trb6Sno9 .ntthPb4w{ background:var(--u0la-c63); color:var(--r4xmds-yhig); border-bottom-left-radius:4px; }
.puEk4.b8Art .ntthPb4w{ background:var(--op73-scuo); color:#fff; border-bottom-right-radius:4px; }
.ikntRgt8{ font-size:11px; color:var(--mxnhhk-uj); margin-top:4px; display:block; }

/* Typing Indicator */
.wfeC5r{
  display:flex; gap:8px; padding:10px 14px; background:var(--u0la-c63);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.a2gD2jz{ width:8px; height:8px; border-radius:50%; background:var(--mxnhhk-uj); animation:typingDot 1.4s infinite; }
.a2gD2jz:nth-child(2){ animation-delay:.2s; }
.a2gD2jz: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) */
.eg1mPe98{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.y8Hsk{
  border:0; border-radius:999px; padding:8px 12px; background:var(--op73-scuo); 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(--pzhp-mlr7);
}
.y8Hsk:is(:hover,:focus){ transform:translateY(-1px); }
a.y8Hsk{ text-decoration:none; display:inline-block; }
a.y8Hsk:link, a.y8Hsk:visited{ color:#fff; }
a.y8Hsk:hover, a.y8Hsk:focus{ color:#fff; }

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

/* Footer */
.jlQa2{
  padding:16px; background:var(--u0la-c63); border-top:1px solid var(--okk0o-ior);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.bkybHu26{
  flex:1; padding:10px 14px; border:1px solid var(--okk0o-ior); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--r4xmds-yhig);
  background:var(--wzqp-nm); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.bkybHu26:focus{ border-color:var(--op73-scuo); }
.bkybHu26::placeholder{ color:var(--mxnhhk-uj); }
.bkybHu26.zlXn8{ border-color:#c00; }
.s073Wegi{
  width:40px; height:40px; min-width:40px; border:none; background:var(--op73-scuo); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.s073Wegi:disabled{ opacity:.5; cursor:not-allowed; }
.s073Wegi:not(:disabled):hover{ transform:scale(1.05); }
.s073Wegi:not(:disabled):active{ transform:scale(0.95); }
.s073Wegi:focus{ outline:2px solid var(--op73-scuo); outline-offset:2px; }
.s073Wegi svg{ width:20px; height:20px; }

/* Character Counter */
.isfyQg5e{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--mxnhhk-uj); }
.isfyQg5e.z50Gyb{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.bhxCaui{
  align-self:flex-start;
  max-width:75%;
  background: var(--u0la-c63);
  color: var(--r4xmds-yhig);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--pzhp-mlr7);
}
.w6bAvjl{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.kx5S6d.tcD5u{
  background: transparent; color: var(--r4xmds-yhig); border-color: var(--okk0o-ior);
}
.kx5S6d.tcD5u:hover{
  background: var(--op73-scuo); color:#fff; border-color: var(--op73-scuo);
}

/* Mobile */
@media (max-width: 768px){
  .gjpS03{ bottom:16px; right:16px; }
  .gjpS03.i5X92{ left:16px; }
  .umz9L4od{ --c6i-q1g:60px; }
  .wh5uOtmr{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--ocsa-om) var(--ocsa-om) 0 0; transform: translateY(100%);
  }
  .wh5uOtmr.hdgUtn{ transform: translateY(0); }
  .k9t9Wrix{ padding:20px; }
  .jlQa2{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.gjpS03 :focus-visible{ outline:2px solid var(--op73-scuo); outline-offset:2px; }

/* SR-only */
.d5Tsx{
  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 */
.n7kC2ko{ display:none !important; }
