/* WhatsApp-style website bot (same look as wa.infowaveit.com chat) */
.wb-fab{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:1190;width:60px;height:60px;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;background:#25d366;box-shadow:0 14px 30px -8px rgba(37,211,102,.7),0 0 0 6px rgba(37,211,102,.14);cursor:pointer;transition:transform .25s}
.wb-fab:hover{transform:scale(1.06)}
.wb-dot{position:absolute;top:4px;right:4px;width:13px;height:13px;border-radius:50%;background:#ff5a5f;border:2px solid #fff}
.wb-hint{position:fixed;right:90px;bottom:calc(32px + env(safe-area-inset-bottom,0px));z-index:1190;max-width:240px;padding:10px 14px;border-radius:14px 14px 4px 14px;background:#fff;color:#111b21;font:500 13.5px/1.4 system-ui,sans-serif;box-shadow:0 12px 30px -8px rgba(0,0,0,.3);cursor:pointer;animation:wbIn .4s ease both}
.wb{position:fixed;right:20px;bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:1200;width:370px;max-width:calc(100vw - 24px);height:min(600px,calc(100dvh - 120px));display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#efeae2;box-shadow:0 30px 80px -10px rgba(0,0,0,.4);opacity:0;visibility:hidden;transform:translateY(16px) scale(.98);transform-origin:bottom right;transition:.28s cubic-bezier(.2,.8,.2,1);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.wb.open{opacity:1;visibility:visible;transform:none}
.wb-h{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:#008069;color:#fff}
.wb-h>div{flex:1;min-width:0;line-height:1.25}.wb-h strong{display:block;font-size:15px}.wb-h small{font-size:12px;opacity:.85}
.wb-av{width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none}
.wb-x{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer}.wb-x:hover{background:rgba(255,255,255,.15)}
.wb-b{flex:1;overflow-y:auto;padding:12px 12px 6px;display:flex;flex-direction:column;gap:6px;background:#efeae2 radial-gradient(rgba(0,0,0,.035) 1px,transparent 1px) 0 0/18px 18px;overscroll-behavior:contain}
.wb-day{align-self:center;margin:2px 0 6px}.wb-day span{display:inline-block;padding:4px 10px;border-radius:8px;background:#fff;color:#54656f;font-size:11.5px;box-shadow:0 1px .5px rgba(0,0,0,.1)}
.wb-m{position:relative;max-width:86%;padding:7px 10px 18px;border-radius:9px;font-size:14px;line-height:1.45;color:#111b21;box-shadow:0 1px .5px rgba(0,0,0,.13);word-wrap:break-word;animation:wbIn .25s ease both}
.wb-m p{margin:0 0 4px}.wb-m p:last-of-type{margin:0}.wb-m ul{margin:2px 0 4px;padding-left:18px}.wb-m a{color:#027eb5}
.wb-m.in{align-self:flex-start;background:#fff;border-top-left-radius:0}
.wb-m.out{align-self:flex-end;background:#d9fdd3;border-top-right-radius:0}
.wb-m time{position:absolute;right:8px;bottom:3px;font-size:10.5px;color:#667781}
.wb-tick{font-style:normal;color:#53bdeb;letter-spacing:-3px;margin-left:2px}
.wb-form{width:86%;display:flex;flex-direction:column;gap:8px;padding-bottom:12px}
.wb-form label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:600;color:#3b4a54}
.wb-form input,.wb-form select{font:inherit;font-size:14px;padding:9px 10px;border:1.5px solid #d1d7db;border-radius:9px;background:#fff;color:#111b21;outline:0;min-width:0}
.wb-form input:focus,.wb-form select:focus{border-color:#00a884;box-shadow:0 0 0 3px rgba(0,168,132,.15)}
.wb-ph{display:flex;gap:6px}.wb-ph select{flex:none;width:92px;padding:9px 4px}.wb-ph input{flex:1}
.wb-go{border:0;border-radius:22px;padding:10px;background:#00a884;color:#fff;font:700 14px system-ui,sans-serif;cursor:pointer}.wb-go:disabled{opacity:.7}
.wb-err{color:#d93025;font-size:12.5px}.wb-priv{color:#667781;font-size:11.5px;text-align:center}
.wb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.wb-chips{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px 8px;background:#efeae2}
.wb-chips button{border:1px solid #00a884;background:#fff;color:#008069;border-radius:16px;padding:6px 11px;font:600 12.5px system-ui,sans-serif;cursor:pointer}
.wb-chips button:hover{background:#e7fce3}
.wb-f{display:flex;align-items:flex-end;gap:8px;padding:8px 10px;background:#f0f2f5}
.wb-f textarea{flex:1;resize:none;border:0;border-radius:22px;padding:10px 14px;font:15px/1.35 system-ui,sans-serif;max-height:110px;outline:0;background:#fff;color:#111b21}
.wb-f textarea:disabled{background:#f7f8fa}
.wb-send{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:#00a884;color:#fff;display:grid;place-items:center;cursor:pointer}.wb-send:disabled{background:#9fd8c9;cursor:default}
.wb-wa{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;background:#fff;color:#008069;font:700 13px system-ui,sans-serif;text-decoration:none;border-top:1px solid #e9edef}
.wb-wa:hover{background:#f5fffa}
.wb-typing{display:inline-flex;gap:4px;padding:4px 2px}.wb-typing i{width:7px;height:7px;border-radius:50%;background:#8696a0;animation:wbDot 1.2s infinite}.wb-typing i:nth-child(2){animation-delay:.15s}.wb-typing i:nth-child(3){animation-delay:.3s}
.wb .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@keyframes wbIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes wbDot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
@media (max-width:760px){
  .wb-fab{right:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:54px;height:54px}
  .wb-hint{right:76px;bottom:calc(94px + env(safe-area-inset-bottom,0px))}
  .wb{right:0;left:0;bottom:0;width:100%;max-width:none;height:100dvh;border-radius:0;transform:translateY(40px)}
  html.aic-on .wb-fab{display:none}
}
@media (prefers-reduced-motion:reduce){.wb,.wb-m,.wb-hint{animation:none;transition:none}}
.wb [hidden],.wb-hint[hidden]{display:none!important}
