/* CSS Variables */
:root {
  --ocjcex-nk: #4f46e5;
  --ulvdcw-ko9h: #ffffff;
  --q5iu7-yrm: #f9fafb;
  --n7cbju-vo4: #0f172a;
  --in2qx-q5jd: #6b7280;
  --pnvd8l-xlsf: #e5e7eb;
  --cb0k-po: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --w5z-fd: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --c6y-gh4: 16px;
  --ldrf-lw: 56px;
  --ybc-dfx: 12px;
  --et3kr-q6: 999999;
}

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

/* Main Container */
.asC7e {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--et3kr-q6);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--n7cbju-vo4);
}
.asC7e.niIfc { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.wofIpl { display: flex; flex-direction: column-reverse; gap: var(--ybc-dfx); align-items: center; }
.vfjAh0w {
  width: var(--ldrf-lw); height: var(--ldrf-lw); min-width: var(--ldrf-lw); min-height: var(--ldrf-lw);
  border-radius: 50%; border: none; background: var(--ocjcex-nk); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--cb0k-po);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.vfjAh0w:hover { transform: scale(1.05); box-shadow: var(--w5z-fd); }
.vfjAh0w:active { transform: scale(0.95); }
.vfjAh0w:focus { outline: 2px solid var(--ocjcex-nk); outline-offset: 2px; }
.vfjAh0w svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .vfjAh0w.l68sOekc{ animation:none; }
  .vfjAh0w,.erkNl5,.uevSvht{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.erkNl5{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--ulvdcw-ko9h); border-radius: var(--c6y-gh4); box-shadow: var(--w5z-fd);
  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;
}
.asC7e.niIfc .erkNl5{ right:auto; left:24px; }
.erkNl5.jjtHqic{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.znKpm{
  padding:16px 20px; background:var(--ulvdcw-ko9h); border-bottom:1px solid var(--pnvd8l-xlsf);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.z8Gl7{ width:10px; height:10px; border-radius:50%; background:var(--ocjcex-nk); flex-shrink:0; }
.omzbPxg4{ flex:1; min-width:0; }
.xzqYcwg{ font-size:16px; font-weight:600; color:var(--n7cbju-vo4); margin:0 0 2px 0; }
.mjxA0ae{ font-size:13px; color:var(--in2qx-q5jd); margin:0; }
.ukL2t{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--in2qx-q5jd);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.ukL2t:hover{ background:var(--q5iu7-yrm); color:var(--n7cbju-vo4); }
.ukL2t:focus{ outline:2px solid var(--ocjcex-nk); outline-offset:2px; }
.ukL2t svg{ width:20px; height:20px; }

/* Body */
.v5lTz8i{
  flex:1; overflow-y:auto; padding:16px; background:var(--q5iu7-yrm);
  display:flex; flex-direction:column; gap:12px;
}
.v5lTz8i::-webkit-scrollbar{ width:6px; }
.v5lTz8i::-webkit-scrollbar-track{ background:transparent; }
.v5lTz8i::-webkit-scrollbar-thumb{ background:var(--pnvd8l-xlsf); border-radius:3px; }
.v5lTz8i::-webkit-scrollbar-thumb:hover{ background:var(--in2qx-q5jd); }

/* Messages */
.uevSvht{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.uevSvht.qdtZm7{ flex-direction:row-reverse; }
.kfuQaf{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.kfuQaf a{ color:inherit; }
.uevSvht.nl4Lxw .kfuQaf{ background:var(--ulvdcw-ko9h); color:var(--n7cbju-vo4); border-bottom-left-radius:4px; }
.uevSvht.qdtZm7 .kfuQaf{ background:var(--ocjcex-nk); color:#fff; border-bottom-right-radius:4px; }
.i8kgGm52{ font-size:11px; color:var(--in2qx-q5jd); margin-top:4px; display:block; }

/* Typing Indicator */
.nl5hGqwk{
  display:flex; gap:8px; padding:10px 14px; background:var(--ulvdcw-ko9h);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.ioN5d{ width:8px; height:8px; border-radius:50%; background:var(--in2qx-q5jd); animation:typingDot 1.4s infinite; }
.ioN5d:nth-child(2){ animation-delay:.2s; }
.ioN5d: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) */
.xpd2Sahn{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.gtsIzf{
  border:0; border-radius:999px; padding:8px 12px; background:var(--ocjcex-nk); 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(--cb0k-po);
}
.gtsIzf:is(:hover,:focus){ transform:translateY(-1px); }
a.gtsIzf{ text-decoration:none; display:inline-block; }
a.gtsIzf:link, a.gtsIzf:visited{ color:#fff; }
a.gtsIzf:hover, a.gtsIzf:focus{ color:#fff; }

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

/* Footer */
.pzhdFx81{
  padding:16px; background:var(--ulvdcw-ko9h); border-top:1px solid var(--pnvd8l-xlsf);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.m6nJ69e{
  flex:1; padding:10px 14px; border:1px solid var(--pnvd8l-xlsf); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--n7cbju-vo4);
  background:var(--q5iu7-yrm); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.m6nJ69e:focus{ border-color:var(--ocjcex-nk); }
.m6nJ69e::placeholder{ color:var(--in2qx-q5jd); }
.m6nJ69e.ttFo7{ border-color:#c00; }
.i3jFa9{
  width:40px; height:40px; min-width:40px; border:none; background:var(--ocjcex-nk); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.i3jFa9:disabled{ opacity:.5; cursor:not-allowed; }
.i3jFa9:not(:disabled):hover{ transform:scale(1.05); }
.i3jFa9:not(:disabled):active{ transform:scale(0.95); }
.i3jFa9:focus{ outline:2px solid var(--ocjcex-nk); outline-offset:2px; }
.i3jFa9 svg{ width:20px; height:20px; }

/* Character Counter */
.lqyK36{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--in2qx-q5jd); }
.lqyK36.gbbIw6{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.mc80N4z7{
  align-self:flex-start;
  max-width:75%;
  background: var(--ulvdcw-ko9h);
  color: var(--n7cbju-vo4);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--cb0k-po);
}
.gog3G01p{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.wf0jL22e.ob9Udgf{
  background: transparent; color: var(--n7cbju-vo4); border-color: var(--pnvd8l-xlsf);
}
.wf0jL22e.ob9Udgf:hover{
  background: var(--ocjcex-nk); color:#fff; border-color: var(--ocjcex-nk);
}

/* Mobile */
@media (max-width: 768px){
  .asC7e{ bottom:16px; right:16px; }
  .asC7e.niIfc{ left:16px; }
  .vfjAh0w{ --ldrf-lw:60px; }
  .erkNl5{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--c6y-gh4) var(--c6y-gh4) 0 0; transform: translateY(100%);
  }
  .erkNl5.jjtHqic{ transform: translateY(0); }
  .znKpm{ padding:20px; }
  .pzhdFx81{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.asC7e :focus-visible{ outline:2px solid var(--ocjcex-nk); outline-offset:2px; }

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