/* W3 Arvion chat support widget – colours come from CSS variables set in Chatbot settings */
#w3chat-bubble,#w3chat-tooltip,#w3chat-win,#w3chat-badge{font-family:var(--sans,'Segoe UI',Arial,sans-serif)}
#w3chat-bubble{position:fixed;bottom:20px;right:20px;width:62px;height:62px;border-radius:50%;background:var(--w3chat-bubble,#25D366);border:3px solid var(--w3chat-bubble-border,#128C7E);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:99999;box-shadow:0 4px 20px rgba(0,0,0,.25);padding:0}
#w3chat-bubble svg{width:36px;height:36px}
#w3chat-bubble:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px var(--w3chat-primary,#1B3A6B)}
#w3chat-tooltip{position:fixed;bottom:92px;right:16px;background:var(--w3chat-primary,#1B3A6B);color:#fff;padding:10px 14px;border-radius:10px;font-size:12.5px;box-shadow:0 4px 16px rgba(0,0,0,.15);z-index:99997;display:none;max-width:210px;line-height:1.5}
#w3chat-tooltip::after{content:'';position:absolute;bottom:-7px;right:18px;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid var(--w3chat-primary,#1B3A6B)}
#w3chat-win{position:fixed;bottom:90px;right:16px;width:380px;height:540px;max-height:calc(100vh - 100px);background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.18);z-index:99998;display:none;flex-direction:column;overflow:hidden;border:1.5px solid #dde4f0;font-size:16px;line-height:normal}
#w3chat-win.open{display:flex;animation:w3chatUp .3s ease}
@keyframes w3chatUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes w3chatPulse{0%{box-shadow:0 0 0 0 var(--w3chat-pulse,rgba(37,211,102,.7))}70%{box-shadow:0 0 0 14px var(--w3chat-pulse0,rgba(37,211,102,0))}100%{box-shadow:0 0 0 0 var(--w3chat-pulse0,rgba(37,211,102,0))}}
#w3chat-bubble.pulse{animation:w3chatPulse 1.2s ease infinite}
#w3chat-hdr{background:var(--w3chat-primary,#1B3A6B);padding:12px 14px;display:flex;align-items:center;gap:10px;border-bottom:3px solid var(--w3chat-accent,#CC1818);flex-shrink:0}
#w3chat-hdr img.w3chat-av{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#dde6f5}
.w3chat-hn{color:#fff;font-weight:700;font-size:13px}.w3chat-hs{color:#a0b8e0;font-size:10px;margin-top:1px}
#w3chat-close{margin-left:auto;background:none;border:none;color:#a0b8e0;font-size:20px;cursor:pointer;line-height:1;padding:0}
#w3chat-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#f5f7fc}
.w3chat-br{display:flex;align-items:flex-end;gap:6px}.w3chat-ur{display:flex;justify-content:flex-end}
.w3chat-bb{max-width:78%;font-size:12.5px;line-height:1.65;padding:9px 13px;border-radius:16px 16px 16px 4px;background:#fff;color:#1e293b;border:1px solid #dde4f0;white-space:pre-wrap;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.w3chat-ub{max-width:78%;font-size:12.5px;line-height:1.65;padding:9px 13px;border-radius:16px 16px 4px 16px;background:var(--w3chat-primary,#1B3A6B);color:#fff;white-space:pre-wrap}
.w3chat-ty{display:flex;gap:4px;padding:10px 14px;background:#fff;border:1px solid #dde4f0;border-radius:16px 16px 16px 4px}
.w3chat-dt{width:6px;height:6px;border-radius:50%;background:var(--w3chat-accent,#CC1818);animation:w3chatBounce 1s infinite}
.w3chat-dt:nth-child(2){animation-delay:.2s}.w3chat-dt:nth-child(3){animation-delay:.4s}
@keyframes w3chatBounce{0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-5px)}}
#w3chat-cho{display:flex;gap:7px;justify-content:center;padding:6px 4px;flex-wrap:wrap;background:#f5f7fc}
#w3chat-cho button{padding:9px 16px;border-radius:24px;font:600 12px var(--sans,'Segoe UI',Arial,sans-serif);cursor:pointer}
.w3chat-bp{background:var(--w3chat-primary,#1B3A6B);color:#fff;border:none}.w3chat-bs{background:#fff;color:var(--w3chat-accent-text,#CC1818);border:2px solid var(--w3chat-accent,#CC1818)}
#w3chat-svc{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0 4px 30px}
#w3chat-svc button{padding:8px 13px;border-radius:20px;border:1.5px solid var(--w3chat-primary,#1B3A6B);background:#fff;color:var(--w3chat-primary,#1B3A6B);font:600 12px var(--sans,'Segoe UI',Arial,sans-serif);cursor:pointer;transition:background-color .15s,color .15s}
#w3chat-svc button:hover,#w3chat-svc button:focus-visible{background:var(--w3chat-primary,#1B3A6B);color:#fff}
.w3chat-wa{align-self:flex-start;margin-left:30px;display:inline-block;padding:9px 16px;border-radius:24px;background:var(--w3chat-accent,#CC1818);color:#fff;font:600 12px var(--sans,'Segoe UI',Arial,sans-serif);text-decoration:none}
.w3chat-wa:hover{filter:brightness(1.08);color:#fff}
#w3chat-ibar{padding:10px 14px;border-top:1px solid #dde4f0;display:flex;gap:8px;align-items:center;background:#fff;flex-shrink:0;box-sizing:border-box;width:100%}
#w3chat-inp{flex:1;min-width:0;font-size:16px;padding:10px 16px;border-radius:24px;border:1.5px solid #dde4f0;outline:none;font-family:inherit;box-sizing:border-box;background:#fff;color:#1e293b}
#w3chat-inp:focus{border-color:var(--w3chat-primary,#1B3A6B)}
#w3chat-send{min-width:42px;width:42px;height:42px;border-radius:50%;background:var(--w3chat-accent,#CC1818);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0}
#w3chat-ft{background:#fff;border-top:1px solid #dde4f0;padding:4px 0;text-align:center;font-size:10px;color:#94a3b8;flex-shrink:0}
.w3chat-fn{color:var(--w3chat-primary,#1B3A6B);font-weight:700}
@media(max-width:480px){#w3chat-win{width:calc(100vw - 24px);height:75vh;right:12px;bottom:76px;border-radius:14px}#w3chat-bubble{width:52px;height:52px;bottom:16px;right:16px}#w3chat-bubble svg{width:30px;height:30px}}
@media (prefers-reduced-motion:reduce){#w3chat-win.open,#w3chat-bubble.pulse,.w3chat-dt{animation:none}}
