/* CSS Variables */
:root {
  --y1ins-gv: #4f46e5;
  --iadj-j8: #ffffff;
  --oja0-ix: #f9fafb;
  --lnz-ap: #0f172a;
  --jlb-slt: #6b7280;
  --e9j-ye6s: #e5e7eb;
  --jhuvlh-hfcv: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --txush5-yg74: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --v19-sr: 16px;
  --o4y-b0f: 56px;
  --xna4r1-biqz: 12px;
  --ohwk4b-a1: 999999;
}

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

/* Main Container */
.gol-b5nk1h0endpf {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--ohwk4b-a1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--lnz-ap);
}
.gol-b5nk1h0endpf.gol-jth0k6eh6 { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.gol-wol4kpkuwg8m { display: flex; flex-direction: column-reverse; gap: var(--xna4r1-biqz); align-items: center; }
.gol-qgu0b86o {
  width: var(--o4y-b0f); height: var(--o4y-b0f); min-width: var(--o4y-b0f); min-height: var(--o4y-b0f);
  border-radius: 50%; border: none; background: var(--y1ins-gv); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--jhuvlh-hfcv);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.gol-qgu0b86o:hover { transform: scale(1.05); box-shadow: var(--txush5-yg74); }
.gol-qgu0b86o:active { transform: scale(0.95); }
.gol-qgu0b86o:focus { outline: 2px solid var(--y1ins-gv); outline-offset: 2px; }
.gol-qgu0b86o svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .gol-qgu0b86o.gol-yij06e5qs2d{ animation:none; }
  .gol-qgu0b86o,.gol-dws5kcflzs,.gol-s4nxzjda4pz{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.gol-dws5kcflzs{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--iadj-j8); border-radius: var(--v19-sr); box-shadow: var(--txush5-yg74);
  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;
}
.gol-b5nk1h0endpf.gol-jth0k6eh6 .gol-dws5kcflzs{ right:auto; left:24px; }
.gol-dws5kcflzs.gol-pvrlfrvwka{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.gol-wl9n91o17{
  padding:16px 20px; background:var(--iadj-j8); border-bottom:1px solid var(--e9j-ye6s);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.gol-i1mbwv4toj8q{ width:10px; height:10px; border-radius:50%; background:var(--y1ins-gv); flex-shrink:0; }
.gol-kqeudhno{ flex:1; min-width:0; }
.gol-ulvs9gxk7{ font-size:16px; font-weight:600; color:var(--lnz-ap); margin:0 0 2px 0; }
.gol-m0jzypiq{ font-size:13px; color:var(--jlb-slt); margin:0; }
.gol-juh9bz9tw{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--jlb-slt);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.gol-juh9bz9tw:hover{ background:var(--oja0-ix); color:var(--lnz-ap); }
.gol-juh9bz9tw:focus{ outline:2px solid var(--y1ins-gv); outline-offset:2px; }
.gol-juh9bz9tw svg{ width:20px; height:20px; }

/* Body */
.gol-kf9nj36yv{
  flex:1; overflow-y:auto; padding:16px; background:var(--oja0-ix);
  display:flex; flex-direction:column; gap:12px;
}
.gol-kf9nj36yv::-webkit-scrollbar{ width:6px; }
.gol-kf9nj36yv::-webkit-scrollbar-track{ background:transparent; }
.gol-kf9nj36yv::-webkit-scrollbar-thumb{ background:var(--e9j-ye6s); border-radius:3px; }
.gol-kf9nj36yv::-webkit-scrollbar-thumb:hover{ background:var(--jlb-slt); }

/* Messages */
.gol-s4nxzjda4pz{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.gol-s4nxzjda4pz.gol-ltxwkbmqp2g{ flex-direction:row-reverse; }
.gol-hhq90nd0f{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.gol-hhq90nd0f a{ color:inherit; }
.gol-s4nxzjda4pz.gol-ih6q5xzn .gol-hhq90nd0f{ background:var(--iadj-j8); color:var(--lnz-ap); border-bottom-left-radius:4px; }
.gol-s4nxzjda4pz.gol-ltxwkbmqp2g .gol-hhq90nd0f{ background:var(--y1ins-gv); color:#fff; border-bottom-right-radius:4px; }
.gol-n5057jg7tsd1{ font-size:11px; color:var(--jlb-slt); margin-top:4px; display:block; }

/* Typing Indicator */
.gol-oyqpcajoaa{
  display:flex; gap:8px; padding:10px 14px; background:var(--iadj-j8);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.gol-qwhcjboif6i8{ width:8px; height:8px; border-radius:50%; background:var(--jlb-slt); animation:typingDot 1.4s infinite; }
.gol-qwhcjboif6i8:nth-child(2){ animation-delay:.2s; }
.gol-qwhcjboif6i8: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) */
.gol-prwpnz5r6{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.gol-kxkq6tcad{
  border:0; border-radius:999px; padding:8px 12px; background:var(--y1ins-gv); 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(--jhuvlh-hfcv);
}
.gol-kxkq6tcad:is(:hover,:focus){ transform:translateY(-1px); }
a.gol-kxkq6tcad{ text-decoration:none; display:inline-block; }
a.gol-kxkq6tcad:link, a.gol-kxkq6tcad:visited{ color:#fff; }
a.gol-kxkq6tcad:hover, a.gol-kxkq6tcad:focus{ color:#fff; }

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

/* Footer */
.gol-k20sw4n9b{
  padding:16px; background:var(--iadj-j8); border-top:1px solid var(--e9j-ye6s);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.gol-a09kbmyz{
  flex:1; padding:10px 14px; border:1px solid var(--e9j-ye6s); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--lnz-ap);
  background:var(--oja0-ix); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.gol-a09kbmyz:focus{ border-color:var(--y1ins-gv); }
.gol-a09kbmyz::placeholder{ color:var(--jlb-slt); }
.gol-a09kbmyz.gol-rjaxx0xkkfv{ border-color:#c00; }
.gol-w0x6s348owg{
  width:40px; height:40px; min-width:40px; border:none; background:var(--y1ins-gv); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.gol-w0x6s348owg:disabled{ opacity:.5; cursor:not-allowed; }
.gol-w0x6s348owg:not(:disabled):hover{ transform:scale(1.05); }
.gol-w0x6s348owg:not(:disabled):active{ transform:scale(0.95); }
.gol-w0x6s348owg:focus{ outline:2px solid var(--y1ins-gv); outline-offset:2px; }
.gol-w0x6s348owg svg{ width:20px; height:20px; }

/* Character Counter */
.gol-cemhaf07w{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--jlb-slt); }
.gol-cemhaf07w.gol-o5y7giiru{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.gol-fm9yz9pr324{
  align-self:flex-start;
  max-width:75%;
  background: var(--iadj-j8);
  color: var(--lnz-ap);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--jhuvlh-hfcv);
}
.gol-yvftznrs{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.gol-egnwf5jb6.gol-uadgrt909{
  background: transparent; color: var(--lnz-ap); border-color: var(--e9j-ye6s);
}
.gol-egnwf5jb6.gol-uadgrt909:hover{
  background: var(--y1ins-gv); color:#fff; border-color: var(--y1ins-gv);
}

/* Mobile */
@media (max-width: 768px){
  .gol-b5nk1h0endpf{ bottom:16px; right:16px; }
  .gol-b5nk1h0endpf.gol-jth0k6eh6{ left:16px; }
  .gol-qgu0b86o{ --o4y-b0f:60px; }
  .gol-dws5kcflzs{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--v19-sr) var(--v19-sr) 0 0; transform: translateY(100%);
  }
  .gol-dws5kcflzs.gol-pvrlfrvwka{ transform: translateY(0); }
  .gol-wl9n91o17{ padding:20px; }
  .gol-k20sw4n9b{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.gol-b5nk1h0endpf :focus-visible{ outline:2px solid var(--y1ins-gv); outline-offset:2px; }

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