/* CSS Variables */
:root {
  --jre-gufg: #4f46e5;
  --jrpgy-apqo: #ffffff;
  --it5-jc: #f9fafb;
  --wiaxlx-xn: #0f172a;
  --t785-y6ij: #6b7280;
  --wswsk-xh6e: #e5e7eb;
  --unq-ub: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --jkhd-f95: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --y7e6m-gdwr: 16px;
  --m78gb-c2: 56px;
  --stli9-zmtn: 12px;
  --cyeh-y1: 999999;
}

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

/* Main Container */
.o2jmjv {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--cyeh-y1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--wiaxlx-xn);
}
.o2jmjv.ol5n7v { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.wclie9 { display: flex; flex-direction: column-reverse; gap: var(--stli9-zmtn); align-items: center; }
.f0bynuw {
  width: var(--m78gb-c2); height: var(--m78gb-c2); min-width: var(--m78gb-c2); min-height: var(--m78gb-c2);
  border-radius: 50%; border: none; background: var(--jre-gufg); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--unq-ub);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.f0bynuw:hover { transform: scale(1.05); box-shadow: var(--jkhd-f95); }
.f0bynuw:active { transform: scale(0.95); }
.f0bynuw:focus { outline: 2px solid var(--jre-gufg); outline-offset: 2px; }
.f0bynuw svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .f0bynuw.xog2z23q{ animation:none; }
  .f0bynuw,.jx2ub40_r,.notsdkf{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.jx2ub40_r{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--jrpgy-apqo); border-radius: var(--y7e6m-gdwr); box-shadow: var(--jkhd-f95);
  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;
}
.o2jmjv.ol5n7v .jx2ub40_r{ right:auto; left:24px; }
.jx2ub40_r.a_vlyhlr0{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.y4py0qem{
  padding:16px 20px; background:var(--jrpgy-apqo); border-bottom:1px solid var(--wswsk-xh6e);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.ivd2038{ width:10px; height:10px; border-radius:50%; background:var(--jre-gufg); flex-shrink:0; }
.uaids2occ{ flex:1; min-width:0; }
.hxgh0hwl{ font-size:16px; font-weight:600; color:var(--wiaxlx-xn); margin:0 0 2px 0; }
.t3e7azl4{ font-size:13px; color:var(--t785-y6ij); margin:0; }
.eftdy4ldv{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--t785-y6ij);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.eftdy4ldv:hover{ background:var(--it5-jc); color:var(--wiaxlx-xn); }
.eftdy4ldv:focus{ outline:2px solid var(--jre-gufg); outline-offset:2px; }
.eftdy4ldv svg{ width:20px; height:20px; }

/* Body */
.rvmbku41aw{
  flex:1; overflow-y:auto; padding:16px; background:var(--it5-jc);
  display:flex; flex-direction:column; gap:12px;
}
.rvmbku41aw::-webkit-scrollbar{ width:6px; }
.rvmbku41aw::-webkit-scrollbar-track{ background:transparent; }
.rvmbku41aw::-webkit-scrollbar-thumb{ background:var(--wswsk-xh6e); border-radius:3px; }
.rvmbku41aw::-webkit-scrollbar-thumb:hover{ background:var(--t785-y6ij); }

/* Messages */
.notsdkf{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.notsdkf.rt1wq7{ flex-direction:row-reverse; }
.jij__4ork{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.jij__4ork a{ color:inherit; }
.notsdkf.btlgc6t4qw .jij__4ork{ background:var(--jrpgy-apqo); color:var(--wiaxlx-xn); border-bottom-left-radius:4px; }
.notsdkf.rt1wq7 .jij__4ork{ background:var(--jre-gufg); color:#fff; border-bottom-right-radius:4px; }
.bqvozjr{ font-size:11px; color:var(--t785-y6ij); margin-top:4px; display:block; }

/* Typing Indicator */
.jpicmqfknt{
  display:flex; gap:8px; padding:10px 14px; background:var(--jrpgy-apqo);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.odw4_g3dz7{ width:8px; height:8px; border-radius:50%; background:var(--t785-y6ij); animation:typingDot 1.4s infinite; }
.odw4_g3dz7:nth-child(2){ animation-delay:.2s; }
.odw4_g3dz7: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) */
.f2ns99{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.k5oeyvg{
  border:0; border-radius:999px; padding:8px 12px; background:var(--jre-gufg); 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(--unq-ub);
}
.k5oeyvg:is(:hover,:focus){ transform:translateY(-1px); }
a.k5oeyvg{ text-decoration:none; display:inline-block; }
a.k5oeyvg:link, a.k5oeyvg:visited{ color:#fff; }
a.k5oeyvg:hover, a.k5oeyvg:focus{ color:#fff; }

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

/* Footer */
.cg3ghy{
  padding:16px; background:var(--jrpgy-apqo); border-top:1px solid var(--wswsk-xh6e);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.wk4x_zr{
  flex:1; padding:10px 14px; border:1px solid var(--wswsk-xh6e); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--wiaxlx-xn);
  background:var(--it5-jc); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.wk4x_zr:focus{ border-color:var(--jre-gufg); }
.wk4x_zr::placeholder{ color:var(--t785-y6ij); }
.wk4x_zr.gi3ru0{ border-color:#c00; }
.duq64c7{
  width:40px; height:40px; min-width:40px; border:none; background:var(--jre-gufg); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.duq64c7:disabled{ opacity:.5; cursor:not-allowed; }
.duq64c7:not(:disabled):hover{ transform:scale(1.05); }
.duq64c7:not(:disabled):active{ transform:scale(0.95); }
.duq64c7:focus{ outline:2px solid var(--jre-gufg); outline-offset:2px; }
.duq64c7 svg{ width:20px; height:20px; }

/* Character Counter */
.o6vq20{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--t785-y6ij); }
.o6vq20.r6juye4a{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.gvqkrn0{
  align-self:flex-start;
  max-width:75%;
  background: var(--jrpgy-apqo);
  color: var(--wiaxlx-xn);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--unq-ub);
}
.q728mla1{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.wizj2ps.e07db10onm{
  background: transparent; color: var(--wiaxlx-xn); border-color: var(--wswsk-xh6e);
}
.wizj2ps.e07db10onm:hover{
  background: var(--jre-gufg); color:#fff; border-color: var(--jre-gufg);
}

/* Mobile */
@media (max-width: 768px){
  .o2jmjv{ bottom:16px; right:16px; }
  .o2jmjv.ol5n7v{ left:16px; }
  .f0bynuw{ --m78gb-c2:60px; }
  .jx2ub40_r{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--y7e6m-gdwr) var(--y7e6m-gdwr) 0 0; transform: translateY(100%);
  }
  .jx2ub40_r.a_vlyhlr0{ transform: translateY(0); }
  .y4py0qem{ padding:20px; }
  .cg3ghy{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.o2jmjv :focus-visible{ outline:2px solid var(--jre-gufg); outline-offset:2px; }

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