/* Chat window (assets/components/chat-widget.php). The launcher button itself is styled inline on the page. */
.wbc-panel{position:fixed;right:22px;bottom:22px;z-index:241;display:flex;flex-direction:column;width:384px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 44px);
  border-radius:20px;background:#fff;color:#141A33;box-shadow:0 30px 70px -20px rgba(20,26,51,.45),0 0 0 1px rgba(20,26,51,.06);overflow:hidden;
  font:400 14.5px/1.55 "Inter","Inter Fallback",system-ui,-apple-system,"Segoe UI",sans-serif}
.wbc-panel *,.wbc-launch *{box-sizing:border-box}
.wbc-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 18px;background:linear-gradient(135deg,#141A33,#27336B);color:#fff}
.wbc-head .av{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12)}
.wbc-head .av svg{width:18px;height:18px}
.wbc-head .tt{flex:1;min-width:0}
.wbc-head strong{display:block;font-size:15px;font-weight:600}
.wbc-head span{display:block;font-size:12.5px;color:#B9C3EE}
.wbc-head button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#DCE2FF;cursor:pointer}
.wbc-head button:hover{background:rgba(255,255,255,.12);color:#fff}
.wbc-head button svg{width:18px;height:18px}
.wbc-log{flex:1;overflow-y:auto;padding:18px 16px 8px;background:#F6F7FB;overscroll-behavior:contain}
.wbc-msg{display:flex;margin-bottom:10px}
.wbc-msg--user{justify-content:flex-end}
.wbc-bub{max-width:86%;padding:10px 14px;border-radius:16px;overflow-wrap:anywhere}
.wbc-msg--bot .wbc-bub{background:#fff;border:1px solid #E6E9F4;border-bottom-left-radius:6px}
.wbc-msg--user .wbc-bub{background:#3B5BFF;color:#fff;border-bottom-right-radius:6px}
.wbc-bub a{color:#3B5BFF;font-weight:500;text-decoration:underline;text-underline-offset:2px}
.wbc-quick{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 12px}
.wbc-quick button{padding:8px 13px;border:1px solid #C9D3FF;border-radius:999px;background:#fff;color:#2F49D8;font:500 13.5px/1.2 inherit;font-family:inherit;cursor:pointer;text-align:left}
.wbc-quick button:hover{background:#EEF1FF}
.wbc-typing .wbc-bub{display:flex;gap:5px;padding:14px}
.wbc-typing i{width:7px;height:7px;border-radius:50%;background:#A9B2CF;animation:wbc-b 1.1s infinite}
.wbc-typing i:nth-child(2){animation-delay:.15s}.wbc-typing i:nth-child(3){animation-delay:.3s}
@keyframes wbc-b{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.wbc-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid #E6E9F4;background:#fff}
.wbc-form textarea{flex:1;height:44px;min-height:44px;max-height:120px;margin:0;padding:11px 14px;border:1px solid #D9DEEC;border-radius:14px;background:#fff;color:#141A33;font:inherit;resize:none}
.wbc-form textarea:focus{border-color:#3B5BFF}
.wbc-form button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:14px;background:#3B5BFF;color:#fff;cursor:pointer}
.wbc-form button:disabled{background:#C5CBE0;cursor:default}
.wbc-form button svg{width:19px;height:19px}
.wbc-note{padding:0 14px 10px;background:#fff;font-size:11.5px;color:#7A84A3;text-align:center}
.wbc-note a{color:#56627F}
@media (max-width:520px){
  .wbc-panel{right:0;bottom:0;width:100vw;max-width:100vw;height:100%;max-height:100dvh;border-radius:0}
}
@media (prefers-reduced-motion:reduce){.wbc-launch{transition:none}.wbc-typing i{animation:none}}
@media print{.wbc-launch,.wbc-panel{display:none!important}}
.wbc-panel button:focus-visible,.wbc-panel textarea:focus-visible{outline:3px solid rgba(59,91,255,.4);outline-offset:2px}
