/* CSS Variables */
:root {
  --xl4fdr-n73: #4f46e5;
  --nr4oc1-l9: #ffffff;
  --vcbox-nu: #f9fafb;
  --gzxuc-sva: #0f172a;
  --zkip-uivl: #6b7280;
  --obx8e-tz: #e5e7eb;
  --sw3lqe-kqc4: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --x9jiq-l15: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --ljy56i-sz6i: 16px;
  --geis7-zdh: 56px;
  --yj7gb-nhi: 12px;
  --ixx-srlc: 999999;
}

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

/* Main Container */
.cv5Muv {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--ixx-srlc);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--gzxuc-sva);
}
.cv5Muv.ynsmVgej { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.k59D95 { display: flex; flex-direction: column-reverse; gap: var(--yj7gb-nhi); align-items: center; }
.wyUdm {
  width: var(--geis7-zdh); height: var(--geis7-zdh); min-width: var(--geis7-zdh); min-height: var(--geis7-zdh);
  border-radius: 50%; border: none; background: var(--xl4fdr-n73); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sw3lqe-kqc4);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.wyUdm:hover { transform: scale(1.05); box-shadow: var(--x9jiq-l15); }
.wyUdm:active { transform: scale(0.95); }
.wyUdm:focus { outline: 2px solid var(--xl4fdr-n73); outline-offset: 2px; }
.wyUdm svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .wyUdm.yr8Cz1{ animation:none; }
  .wyUdm,.rpvZjbi,.bmPnq{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.rpvZjbi{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--nr4oc1-l9); border-radius: var(--ljy56i-sz6i); box-shadow: var(--x9jiq-l15);
  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;
}
.cv5Muv.ynsmVgej .rpvZjbi{ right:auto; left:24px; }
.rpvZjbi.r4sYne{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.o8Ow2{
  padding:16px 20px; background:var(--nr4oc1-l9); border-bottom:1px solid var(--obx8e-tz);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.qvldNqq6{ width:10px; height:10px; border-radius:50%; background:var(--xl4fdr-n73); flex-shrink:0; }
.xuroQmts{ flex:1; min-width:0; }
.y4kGv0e{ font-size:16px; font-weight:600; color:var(--gzxuc-sva); margin:0 0 2px 0; }
.cacsIf56{ font-size:13px; color:var(--zkip-uivl); margin:0; }
.az1Uxnb{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--zkip-uivl);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.az1Uxnb:hover{ background:var(--vcbox-nu); color:var(--gzxuc-sva); }
.az1Uxnb:focus{ outline:2px solid var(--xl4fdr-n73); outline-offset:2px; }
.az1Uxnb svg{ width:20px; height:20px; }

/* Body */
.q2sF4d0{
  flex:1; overflow-y:auto; padding:16px; background:var(--vcbox-nu);
  display:flex; flex-direction:column; gap:12px;
}
.q2sF4d0::-webkit-scrollbar{ width:6px; }
.q2sF4d0::-webkit-scrollbar-track{ background:transparent; }
.q2sF4d0::-webkit-scrollbar-thumb{ background:var(--obx8e-tz); border-radius:3px; }
.q2sF4d0::-webkit-scrollbar-thumb:hover{ background:var(--zkip-uivl); }

/* Messages */
.bmPnq{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.bmPnq.dmqnQ8h9{ flex-direction:row-reverse; }
.cc1oLkro{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.cc1oLkro a{ color:inherit; }
.bmPnq.jbYyq .cc1oLkro{ background:var(--nr4oc1-l9); color:var(--gzxuc-sva); border-bottom-left-radius:4px; }
.bmPnq.dmqnQ8h9 .cc1oLkro{ background:var(--xl4fdr-n73); color:#fff; border-bottom-right-radius:4px; }
.nsowLp89{ font-size:11px; color:var(--zkip-uivl); margin-top:4px; display:block; }

/* Typing Indicator */
.ztuYtkb{
  display:flex; gap:8px; padding:10px 14px; background:var(--nr4oc1-l9);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.kgixVq91{ width:8px; height:8px; border-radius:50%; background:var(--zkip-uivl); animation:typingDot 1.4s infinite; }
.kgixVq91:nth-child(2){ animation-delay:.2s; }
.kgixVq91: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) */
.odYg1{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.eezQbj{
  border:0; border-radius:999px; padding:8px 12px; background:var(--xl4fdr-n73); 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(--sw3lqe-kqc4);
}
.eezQbj:is(:hover,:focus){ transform:translateY(-1px); }
a.eezQbj{ text-decoration:none; display:inline-block; }
a.eezQbj:link, a.eezQbj:visited{ color:#fff; }
a.eezQbj:hover, a.eezQbj:focus{ color:#fff; }

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

/* Footer */
.izgyVy28{
  padding:16px; background:var(--nr4oc1-l9); border-top:1px solid var(--obx8e-tz);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.plxDoga{
  flex:1; padding:10px 14px; border:1px solid var(--obx8e-tz); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--gzxuc-sva);
  background:var(--vcbox-nu); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.plxDoga:focus{ border-color:var(--xl4fdr-n73); }
.plxDoga::placeholder{ color:var(--zkip-uivl); }
.plxDoga.y78I0z{ border-color:#c00; }
.j0gTvx{
  width:40px; height:40px; min-width:40px; border:none; background:var(--xl4fdr-n73); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.j0gTvx:disabled{ opacity:.5; cursor:not-allowed; }
.j0gTvx:not(:disabled):hover{ transform:scale(1.05); }
.j0gTvx:not(:disabled):active{ transform:scale(0.95); }
.j0gTvx:focus{ outline:2px solid var(--xl4fdr-n73); outline-offset:2px; }
.j0gTvx svg{ width:20px; height:20px; }

/* Character Counter */
.hreAaiv{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--zkip-uivl); }
.hreAaiv.zwFyn{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.zknH2t{
  align-self:flex-start;
  max-width:75%;
  background: var(--nr4oc1-l9);
  color: var(--gzxuc-sva);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--sw3lqe-kqc4);
}
.r0Bwp{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.n1r7Wad7.neZz1{
  background: transparent; color: var(--gzxuc-sva); border-color: var(--obx8e-tz);
}
.n1r7Wad7.neZz1:hover{
  background: var(--xl4fdr-n73); color:#fff; border-color: var(--xl4fdr-n73);
}

/* Mobile */
@media (max-width: 768px){
  .cv5Muv{ bottom:16px; right:16px; }
  .cv5Muv.ynsmVgej{ left:16px; }
  .wyUdm{ --geis7-zdh:60px; }
  .rpvZjbi{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--ljy56i-sz6i) var(--ljy56i-sz6i) 0 0; transform: translateY(100%);
  }
  .rpvZjbi.r4sYne{ transform: translateY(0); }
  .o8Ow2{ padding:20px; }
  .izgyVy28{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.cv5Muv :focus-visible{ outline:2px solid var(--xl4fdr-n73); outline-offset:2px; }

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