/* CSS Variables */
:root {
  --lar-okj: #4f46e5;
  --ziigp-s7o: #ffffff;
  --dmlnu-ud1: #f9fafb;
  --slsq5b-o4: #0f172a;
  --evnh-tmua: #6b7280;
  --s5cnxd-jgyq: #e5e7eb;
  --f1zbv5-px: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --cmt4a6-ymu: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --cfk-n9s: 16px;
  --oqnyl-uz: 56px;
  --s552-foo: 12px;
  --d6a0x-mrd: 999999;
}

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

/* Main Container */
.anz-hzr4sd1k8d9r {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--d6a0x-mrd);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--slsq5b-o4);
}
.anz-hzr4sd1k8d9r.anz-ahne5mk85j3 { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.anz-bqxij39hnvtt { display: flex; flex-direction: column-reverse; gap: var(--s552-foo); align-items: center; }
.anz-dxu7ikmn0fe {
  width: var(--oqnyl-uz); height: var(--oqnyl-uz); min-width: var(--oqnyl-uz); min-height: var(--oqnyl-uz);
  border-radius: 50%; border: none; background: var(--lar-okj); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--f1zbv5-px);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.anz-dxu7ikmn0fe:hover { transform: scale(1.05); box-shadow: var(--cmt4a6-ymu); }
.anz-dxu7ikmn0fe:active { transform: scale(0.95); }
.anz-dxu7ikmn0fe:focus { outline: 2px solid var(--lar-okj); outline-offset: 2px; }
.anz-dxu7ikmn0fe svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .anz-dxu7ikmn0fe.anz-t7239jbq{ animation:none; }
  .anz-dxu7ikmn0fe,.anz-orm4wpmf,.anz-po6f9b8wju{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.anz-orm4wpmf{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--ziigp-s7o); border-radius: var(--cfk-n9s); box-shadow: var(--cmt4a6-ymu);
  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;
}
.anz-hzr4sd1k8d9r.anz-ahne5mk85j3 .anz-orm4wpmf{ right:auto; left:24px; }
.anz-orm4wpmf.anz-vdh2mwrc{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.anz-nl4486kb355{
  padding:16px 20px; background:var(--ziigp-s7o); border-bottom:1px solid var(--s5cnxd-jgyq);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.anz-w04e1hqqeu{ width:10px; height:10px; border-radius:50%; background:var(--lar-okj); flex-shrink:0; }
.anz-itktk4hdz2{ flex:1; min-width:0; }
.anz-syc3fjkskzs{ font-size:16px; font-weight:600; color:var(--slsq5b-o4); margin:0 0 2px 0; }
.anz-a1p0mur9{ font-size:13px; color:var(--evnh-tmua); margin:0; }
.anz-uwnc85sc5j3{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--evnh-tmua);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.anz-uwnc85sc5j3:hover{ background:var(--dmlnu-ud1); color:var(--slsq5b-o4); }
.anz-uwnc85sc5j3:focus{ outline:2px solid var(--lar-okj); outline-offset:2px; }
.anz-uwnc85sc5j3 svg{ width:20px; height:20px; }

/* Body */
.anz-h79s3sbocl{
  flex:1; overflow-y:auto; padding:16px; background:var(--dmlnu-ud1);
  display:flex; flex-direction:column; gap:12px;
}
.anz-h79s3sbocl::-webkit-scrollbar{ width:6px; }
.anz-h79s3sbocl::-webkit-scrollbar-track{ background:transparent; }
.anz-h79s3sbocl::-webkit-scrollbar-thumb{ background:var(--s5cnxd-jgyq); border-radius:3px; }
.anz-h79s3sbocl::-webkit-scrollbar-thumb:hover{ background:var(--evnh-tmua); }

/* Messages */
.anz-po6f9b8wju{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.anz-po6f9b8wju.anz-p4yrtv5aj{ flex-direction:row-reverse; }
.anz-fd52o92wwyqv{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.anz-fd52o92wwyqv a{ color:inherit; }
.anz-po6f9b8wju.anz-ah0gh9od .anz-fd52o92wwyqv{ background:var(--ziigp-s7o); color:var(--slsq5b-o4); border-bottom-left-radius:4px; }
.anz-po6f9b8wju.anz-p4yrtv5aj .anz-fd52o92wwyqv{ background:var(--lar-okj); color:#fff; border-bottom-right-radius:4px; }
.anz-osns3ytl5rrs{ font-size:11px; color:var(--evnh-tmua); margin-top:4px; display:block; }

/* Typing Indicator */
.anz-gkybbou1tss4{
  display:flex; gap:8px; padding:10px 14px; background:var(--ziigp-s7o);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.anz-mq08d2i220{ width:8px; height:8px; border-radius:50%; background:var(--evnh-tmua); animation:typingDot 1.4s infinite; }
.anz-mq08d2i220:nth-child(2){ animation-delay:.2s; }
.anz-mq08d2i220: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) */
.anz-y9rj1dgx5e1{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.anz-bj18ahvofq{
  border:0; border-radius:999px; padding:8px 12px; background:var(--lar-okj); 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(--f1zbv5-px);
}
.anz-bj18ahvofq:is(:hover,:focus){ transform:translateY(-1px); }
a.anz-bj18ahvofq{ text-decoration:none; display:inline-block; }
a.anz-bj18ahvofq:link, a.anz-bj18ahvofq:visited{ color:#fff; }
a.anz-bj18ahvofq:hover, a.anz-bj18ahvofq:focus{ color:#fff; }

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

/* Footer */
.anz-piq2t2z8jb{
  padding:16px; background:var(--ziigp-s7o); border-top:1px solid var(--s5cnxd-jgyq);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.anz-powiocgn4oq1{
  flex:1; padding:10px 14px; border:1px solid var(--s5cnxd-jgyq); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--slsq5b-o4);
  background:var(--dmlnu-ud1); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.anz-powiocgn4oq1:focus{ border-color:var(--lar-okj); }
.anz-powiocgn4oq1::placeholder{ color:var(--evnh-tmua); }
.anz-powiocgn4oq1.anz-zpidy8dlf{ border-color:#c00; }
.anz-yf509eykpvq{
  width:40px; height:40px; min-width:40px; border:none; background:var(--lar-okj); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.anz-yf509eykpvq:disabled{ opacity:.5; cursor:not-allowed; }
.anz-yf509eykpvq:not(:disabled):hover{ transform:scale(1.05); }
.anz-yf509eykpvq:not(:disabled):active{ transform:scale(0.95); }
.anz-yf509eykpvq:focus{ outline:2px solid var(--lar-okj); outline-offset:2px; }
.anz-yf509eykpvq svg{ width:20px; height:20px; }

/* Character Counter */
.anz-izbl2ix26f{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--evnh-tmua); }
.anz-izbl2ix26f.anz-uwatkp782{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.anz-ozmughech{
  align-self:flex-start;
  max-width:75%;
  background: var(--ziigp-s7o);
  color: var(--slsq5b-o4);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--f1zbv5-px);
}
.anz-mm8ctmkou{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.anz-ke7rco9jukz.anz-hv3mjdmj0vgd{
  background: transparent; color: var(--slsq5b-o4); border-color: var(--s5cnxd-jgyq);
}
.anz-ke7rco9jukz.anz-hv3mjdmj0vgd:hover{
  background: var(--lar-okj); color:#fff; border-color: var(--lar-okj);
}

/* Mobile */
@media (max-width: 768px){
  .anz-hzr4sd1k8d9r{ bottom:16px; right:16px; }
  .anz-hzr4sd1k8d9r.anz-ahne5mk85j3{ left:16px; }
  .anz-dxu7ikmn0fe{ --oqnyl-uz:60px; }
  .anz-orm4wpmf{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--cfk-n9s) var(--cfk-n9s) 0 0; transform: translateY(100%);
  }
  .anz-orm4wpmf.anz-vdh2mwrc{ transform: translateY(0); }
  .anz-nl4486kb355{ padding:20px; }
  .anz-piq2t2z8jb{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.anz-hzr4sd1k8d9r :focus-visible{ outline:2px solid var(--lar-okj); outline-offset:2px; }

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