/* Baasa Cloud assistant widget (website and client area). Everything is prefixed bcc- so it cannot clash with page styles. */
.bcc{--bcc-bg:#0e1115;--bcc-bg2:#161b21;--bcc-line:rgba(255,255,255,.08);--bcc-tx:#e9eef3;--bcc-mu:#9aa7b4;--bcc-pb:#b2e3f7;--bcc-navy:#0c2b45;--bcc-r:20px;--bcc-b:96px;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.5;color:var(--bcc-tx)}
.bcc[hidden]{display:none!important}
.bcc *{box-sizing:border-box}
.bcc-launch{position:fixed;right:var(--bcc-r);bottom:var(--bcc-b);z-index:2147483000;width:62px;height:62px;padding:0;border:0;border-radius:50%;background:#0c2b45;display:block;cursor:pointer;overflow:hidden;box-shadow:0 12px 30px -8px rgba(0,0,0,.6),0 0 0 2px rgba(178,227,247,.35);transition:transform .2s,opacity .2s,box-shadow .2s}
.bcc-launch:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 16px 34px -8px rgba(0,0,0,.65),0 0 0 2px rgba(178,227,247,.6)}
.bcc-launch svg{display:block;width:100%;height:100%;padding:12%;box-sizing:border-box}
.bcc.open .bcc-launch{opacity:0;pointer-events:none;transform:scale(.8)}
.bcc-panel{position:fixed;right:20px;bottom:20px;z-index:2147483001;width:392px;max-width:calc(100vw - 24px);height:min(640px,calc(100dvh - 40px));display:flex;flex-direction:column;background:var(--bcc-bg);border-radius:22px;box-shadow:0 30px 80px -20px rgba(0,0,0,.7),0 0 0 1px var(--bcc-line);overflow:hidden;opacity:0;transform:translateY(14px) scale(.98);pointer-events:none;transition:opacity .2s,transform .2s}
.bcc.open .bcc-panel{opacity:1;transform:none;pointer-events:auto}
.bcc-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:var(--bcc-bg2)}
.bcc-av{flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;display:block;background:#0c2b45}
.bcc-av svg{display:block;width:100%;height:100%;padding:11%;box-sizing:border-box}
.bcc-ti{min-width:0;flex:1}
.bcc-ti b{display:block;font-size:15px;font-weight:600;color:#fff;line-height:1.2}
.bcc-ti span{display:block;font-size:12.5px;color:var(--bcc-mu)}
.bcc-ib{flex:none;width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:var(--bcc-mu);display:grid;place-items:center;cursor:pointer;text-decoration:none}
.bcc-ib:hover{background:rgba(255,255,255,.07);color:#fff}
.bcc-wa:hover{color:#25d366}
.bcc-head .bcc-ib{width:34px;height:34px}
.bcc-ib svg{width:19px;height:19px}
.bcc-msgs{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;overscroll-behavior:contain}
.bcc-m{max-width:88%;padding:10px 13px;border-radius:16px;word-wrap:break-word;overflow-wrap:anywhere}
.bcc-m.bot{align-self:flex-start;background:var(--bcc-bg2);border-bottom-left-radius:6px}
.bcc-m.me{align-self:flex-end;background:var(--bcc-pb);color:var(--bcc-navy);border-bottom-right-radius:6px}
.bcc-m p{margin:0 0 8px}.bcc-m p:last-child{margin-bottom:0}
.bcc-m ul,.bcc-m ol{margin:0 0 8px;padding-left:20px}.bcc-m li{margin:2px 0}
.bcc-m a{color:var(--bcc-pb);text-decoration:underline;text-underline-offset:2px}
.bcc-m.me a{color:var(--bcc-navy)}
.bcc-m strong{font-weight:600;color:#fff}.bcc-m.me strong{color:var(--bcc-navy)}
.bcc-m code{font-family:ui-monospace,Menlo,monospace;font-size:13px;background:rgba(255,255,255,.08);padding:1px 5px;border-radius:5px}
.bcc-m.err{background:rgba(248,113,113,.12);color:#fecaca}
.bcc-dots{display:inline-flex;gap:4px;padding:4px 0}
.bcc-dots i{width:7px;height:7px;border-radius:50%;background:var(--bcc-mu);animation:bccd 1.1s infinite ease-in-out}
.bcc-dots i:nth-child(2){animation-delay:.15s}.bcc-dots i:nth-child(3){animation-delay:.3s}
@keyframes bccd{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.bcc-sug{display:flex;flex-wrap:wrap;gap:8px;padding:2px 14px 12px}
.bcc-sug button{border:0;border-radius:999px;padding:8px 13px;background:rgba(178,227,247,.12);color:var(--bcc-pb);font:inherit;font-size:13.5px;cursor:pointer;transition:background .2s}
.bcc-sug button:hover{background:rgba(178,227,247,.22)}
.bcc-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 12px;background:var(--bcc-bg)}
.bcc-in{flex:1;min-width:0;resize:none;border:0;border-radius:16px;background:var(--bcc-bg2);color:var(--bcc-tx);font:inherit;font-size:15px;line-height:1.45;padding:11px 14px;max-height:120px;outline:none}
.bcc-in::placeholder{color:var(--bcc-mu)}
.bcc-in:focus{box-shadow:0 0 0 2px rgba(178,227,247,.35)}
.bcc-send{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--bcc-pb);color:var(--bcc-navy);display:grid;place-items:center;cursor:pointer}
.bcc-send:disabled{opacity:.45;cursor:default}
.bcc-send svg{width:20px;height:20px}
.bcc :focus-visible{outline:2px solid var(--bcc-pb);outline-offset:2px}
@media(max-width:640px){
  .bcc-panel{right:0;bottom:0;left:0;top:0;width:100%;max-width:none;height:100dvh;border-radius:0}
  .bcc-launch{bottom:calc(var(--bcc-mb,var(--bcc-b)) + env(safe-area-inset-bottom,0px))}
  .bcc-form{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .bcc-in{font-size:16px}
}
html.bcc-lock{overflow:hidden}
@media(prefers-reduced-motion:reduce){.bcc-launch,.bcc-panel{transition:none}.bcc-dots i{animation:none}}

/* Attention: a short "Hey!" bubble beside the button, a pulse ring and a small wave. */
.bcc-nudge{position:fixed;right:calc(var(--bcc-r) + 62px + 14px);bottom:calc(var(--bcc-b) + 9px);z-index:2147483000;max-width:min(250px,calc(100vw - var(--bcc-r) - 96px));padding:11px 15px;border:0;border-radius:18px 18px 4px 18px;background:var(--bcc-pb);color:var(--bcc-navy);font:inherit;font-size:14.5px;font-weight:500;line-height:1.35;text-align:left;cursor:pointer;box-shadow:0 14px 34px -10px rgba(0,0,0,.6);opacity:0;transform:translateY(8px) scale(.9);transform-origin:100% 100%;pointer-events:none;transition:opacity .3s,transform .3s}
.bcc-nudge b{font-weight:700}
.bcc-nudge.on{opacity:1;transform:none;pointer-events:auto}
.bcc.open .bcc-nudge{display:none}
.bcc-launch.ring{animation:bccRing 1.6s ease-out 2}
.bcc-launch.wave{animation:bccWave .9s ease-in-out 1}
.bcc-launch.ring.wave{animation:bccWave .9s ease-in-out 1,bccRing 1.6s ease-out 2}
@keyframes bccRing{0%{box-shadow:0 12px 30px -8px rgba(0,0,0,.6),0 0 0 2px rgba(178,227,247,.5),0 0 0 0 rgba(178,227,247,.55)}100%{box-shadow:0 12px 30px -8px rgba(0,0,0,.6),0 0 0 2px rgba(178,227,247,.5),0 0 0 22px rgba(178,227,247,0)}}
@keyframes bccWave{0%,100%{transform:rotate(0)}20%{transform:rotate(-14deg) scale(1.06)}40%{transform:rotate(12deg) scale(1.06)}60%{transform:rotate(-8deg)}80%{transform:rotate(5deg)}}
@media(prefers-reduced-motion:reduce){.bcc-launch.ring,.bcc-launch.wave{animation:none}.bcc-nudge{transition:opacity .2s;transform:none}}
