/* CSS Variables */
:root {
  --c4x-ob: #4f46e5;
  --vu0-ce: #ffffff;
  --ogk-yfd: #f9fafb;
  --akm7-guls: #0f172a;
  --nvxz-ww: #6b7280;
  --kn6-dj4i: #e5e7eb;
  --mnc-ca3i: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --r085u-aqu: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --hur-enr: 16px;
  --hgsy-yhcl: 56px;
  --jjtu-dgs8: 12px;
  --ydobl-b2r8: 999999;
}

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

/* Main Container */
.ebb_z9 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--ydobl-b2r8);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--akm7-guls);
}
.ebb_z9.n5zi4s { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.ueg1v7d { display: flex; flex-direction: column-reverse; gap: var(--jjtu-dgs8); align-items: center; }
.cole43 {
  width: var(--hgsy-yhcl); height: var(--hgsy-yhcl); min-width: var(--hgsy-yhcl); min-height: var(--hgsy-yhcl);
  border-radius: 50%; border: none; background: var(--c4x-ob); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--mnc-ca3i);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.cole43:hover { transform: scale(1.05); box-shadow: var(--r085u-aqu); }
.cole43:active { transform: scale(0.95); }
.cole43:focus { outline: 2px solid var(--c4x-ob); outline-offset: 2px; }
.cole43 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .cole43.h9beavf0{ animation:none; }
  .cole43,.znj771mgh,.g3d3svweuj{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.znj771mgh{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--vu0-ce); border-radius: var(--hur-enr); box-shadow: var(--r085u-aqu);
  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;
}
.ebb_z9.n5zi4s .znj771mgh{ right:auto; left:24px; }
.znj771mgh.jubjirv{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.h1o5pfv0uj{
  padding:16px 20px; background:var(--vu0-ce); border-bottom:1px solid var(--kn6-dj4i);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.ny759g82ny{ width:10px; height:10px; border-radius:50%; background:var(--c4x-ob); flex-shrink:0; }
.dbg0hsxjnw{ flex:1; min-width:0; }
.rhp39lesq{ font-size:16px; font-weight:600; color:var(--akm7-guls); margin:0 0 2px 0; }
.fg4kr9twib{ font-size:13px; color:var(--nvxz-ww); margin:0; }
.q_4i63{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--nvxz-ww);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.q_4i63:hover{ background:var(--ogk-yfd); color:var(--akm7-guls); }
.q_4i63:focus{ outline:2px solid var(--c4x-ob); outline-offset:2px; }
.q_4i63 svg{ width:20px; height:20px; }

/* Body */
.wq3y2c{
  flex:1; overflow-y:auto; padding:16px; background:var(--ogk-yfd);
  display:flex; flex-direction:column; gap:12px;
}
.wq3y2c::-webkit-scrollbar{ width:6px; }
.wq3y2c::-webkit-scrollbar-track{ background:transparent; }
.wq3y2c::-webkit-scrollbar-thumb{ background:var(--kn6-dj4i); border-radius:3px; }
.wq3y2c::-webkit-scrollbar-thumb:hover{ background:var(--nvxz-ww); }

/* Messages */
.g3d3svweuj{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.g3d3svweuj.vdwsvjvnp8{ flex-direction:row-reverse; }
.ccoe52b{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.ccoe52b a{ color:inherit; }
.g3d3svweuj.b989kbxxd .ccoe52b{ background:var(--vu0-ce); color:var(--akm7-guls); border-bottom-left-radius:4px; }
.g3d3svweuj.vdwsvjvnp8 .ccoe52b{ background:var(--c4x-ob); color:#fff; border-bottom-right-radius:4px; }
.h9hmhzn_3{ font-size:11px; color:var(--nvxz-ww); margin-top:4px; display:block; }

/* Typing Indicator */
.bulf60ral{
  display:flex; gap:8px; padding:10px 14px; background:var(--vu0-ce);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.ndqgbka{ width:8px; height:8px; border-radius:50%; background:var(--nvxz-ww); animation:typingDot 1.4s infinite; }
.ndqgbka:nth-child(2){ animation-delay:.2s; }
.ndqgbka: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) */
.aqintuci8{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.xa5tuox8ks{
  border:0; border-radius:999px; padding:8px 12px; background:var(--c4x-ob); 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(--mnc-ca3i);
}
.xa5tuox8ks:is(:hover,:focus){ transform:translateY(-1px); }
a.xa5tuox8ks{ text-decoration:none; display:inline-block; }
a.xa5tuox8ks:link, a.xa5tuox8ks:visited{ color:#fff; }
a.xa5tuox8ks:hover, a.xa5tuox8ks:focus{ color:#fff; }

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

/* Footer */
.ebwftps{
  padding:16px; background:var(--vu0-ce); border-top:1px solid var(--kn6-dj4i);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.zdy2on{
  flex:1; padding:10px 14px; border:1px solid var(--kn6-dj4i); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--akm7-guls);
  background:var(--ogk-yfd); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.zdy2on:focus{ border-color:var(--c4x-ob); }
.zdy2on::placeholder{ color:var(--nvxz-ww); }
.zdy2on.n7vc0wnzn{ border-color:#c00; }
.fu94f4q11i{
  width:40px; height:40px; min-width:40px; border:none; background:var(--c4x-ob); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.fu94f4q11i:disabled{ opacity:.5; cursor:not-allowed; }
.fu94f4q11i:not(:disabled):hover{ transform:scale(1.05); }
.fu94f4q11i:not(:disabled):active{ transform:scale(0.95); }
.fu94f4q11i:focus{ outline:2px solid var(--c4x-ob); outline-offset:2px; }
.fu94f4q11i svg{ width:20px; height:20px; }

/* Character Counter */
.b9qxbnj476{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--nvxz-ww); }
.b9qxbnj476.ss3lsstkxb{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.drrf5y45{
  align-self:flex-start;
  max-width:75%;
  background: var(--vu0-ce);
  color: var(--akm7-guls);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--mnc-ca3i);
}
.kh2k4xq__g{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.v83lbztmfi.cgtccisg{
  background: transparent; color: var(--akm7-guls); border-color: var(--kn6-dj4i);
}
.v83lbztmfi.cgtccisg:hover{
  background: var(--c4x-ob); color:#fff; border-color: var(--c4x-ob);
}

/* Mobile */
@media (max-width: 768px){
  .ebb_z9{ bottom:16px; right:16px; }
  .ebb_z9.n5zi4s{ left:16px; }
  .cole43{ --hgsy-yhcl:60px; }
  .znj771mgh{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--hur-enr) var(--hur-enr) 0 0; transform: translateY(100%);
  }
  .znj771mgh.jubjirv{ transform: translateY(0); }
  .h1o5pfv0uj{ padding:20px; }
  .ebwftps{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.ebb_z9 :focus-visible{ outline:2px solid var(--c4x-ob); outline-offset:2px; }

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