/* SupportBot live chat widget (Signal Dark look). Everything is scoped under .sb-root. */
.sb-root{
  --sb-bg:#07080C;--sb-surface:#11131A;--sb-surface-2:#171A23;--sb-line:#23262F;
  --sb-text:#E8EAF0;--sb-muted:#9AA0AE;--sb-accent:#C6FF3D;--sb-accent-ink:#07080C;--sb-danger:#ff6b6b;
  position:fixed;right:20px;bottom:20px;z-index:2147483000;
  font:14px/1.5 Outfit,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--sb-text);
}
.sb-root *,.sb-root *::before,.sb-root *::after{box-sizing:border-box}
.sb-root.sb-raised{bottom:88px}
.sb-root button{font:inherit;cursor:pointer}

/* hide the previous booking-only chat */
#liveChatButton,#liveChatWidget{display:none!important}

.sb-launcher{display:flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 14px;border:1px solid var(--sb-line);border-radius:28px;
  background:#11131A;color:#E8EAF0;box-shadow:0 10px 30px rgba(0,0,0,.35);font-weight:600;transition:transform .15s ease,box-shadow .15s ease}
.sb-launcher:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.45)}
.sb-launcher:focus-visible,.sb-root button:focus-visible,.sb-root textarea:focus-visible,.sb-root input:focus-visible{outline:2px solid var(--sb-accent);outline-offset:2px}
.sb-launcher-icon{position:relative;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--sb-accent);color:var(--sb-accent-ink)}
.sb-dot{position:absolute;right:-1px;top:-1px;width:10px;height:10px;border-radius:50%;background:var(--sb-accent);border:2px solid #11131A;animation:sb-pulse 2s infinite}
@keyframes sb-pulse{0%{box-shadow:0 0 0 0 rgba(198,255,61,.6)}70%{box-shadow:0 0 0 8px rgba(198,255,61,0)}100%{box-shadow:0 0 0 0 rgba(198,255,61,0)}}
.sb-is-open .sb-launcher{display:none}

.sb-panel{display:flex;flex-direction:column;width:380px;height:min(600px,calc(100vh - 40px));background:var(--sb-bg);border:1px solid var(--sb-line);
  border-radius:20px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.5);animation:sb-in .18s ease-out}
.sb-panel[hidden]{display:none}
@keyframes sb-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}

.sb-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:var(--sb-surface);border-bottom:1px solid var(--sb-line)}
.sb-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:var(--sb-accent);color:var(--sb-accent-ink);font-weight:800;font-size:18px}
.sb-avatar.sb-has-img{background:transparent}
.sb-avatar img{display:block;width:100%;height:100%;border-radius:inherit}
.sb-who{display:flex;flex-direction:column;min-width:0;flex:1}
.sb-who strong{font-size:15px}
.sb-sub{font-size:12px;color:var(--sb-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-sub::before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--sb-accent);vertical-align:1px}
.sb-close{display:grid;place-items:center;width:44px;height:44px;margin:-6px -4px -6px 0;border:0;border-radius:12px;background:transparent;color:var(--sb-muted)}
.sb-close:hover{background:var(--sb-surface-2);color:var(--sb-text)}

.sb-list{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.sb-msg{display:flex;flex-direction:column;max-width:86%}
.sb-bubble{padding:10px 13px;border-radius:16px;background:var(--sb-surface);border:1px solid var(--sb-line);word-wrap:break-word;overflow-wrap:anywhere}
.sb-bot,.sb-agent{align-self:flex-start}
.sb-bot .sb-bubble,.sb-agent .sb-bubble{border-bottom-left-radius:5px}
.sb-agent .sb-bubble{border-color:rgba(198,255,61,.45)}
.sb-tag{font-size:11px;color:var(--sb-accent);margin:0 0 3px 4px;font-weight:600}
.sb-me{align-self:flex-end}
.sb-me .sb-bubble{background:var(--sb-accent);color:var(--sb-accent-ink);border-color:transparent;border-bottom-right-radius:5px;font-weight:500}
.sb-me .sb-bubble a{color:inherit}
.sb-sys{align-self:center;max-width:100%}
.sb-sys .sb-bubble{background:transparent;border:1px dashed var(--sb-line);color:var(--sb-muted);font-size:12.5px;text-align:center}
.sb-bubble a{color:var(--sb-accent);text-decoration:underline;text-underline-offset:2px}
.sb-li{display:block;padding-left:14px;position:relative}
.sb-li::before{content:"";position:absolute;left:3px;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--sb-accent)}

.sb-typing .sb-bubble{display:flex;gap:4px;padding:13px 14px}
.sb-typing i{width:7px;height:7px;border-radius:50%;background:var(--sb-muted);animation:sb-blink 1.2s infinite}
.sb-typing i:nth-child(2){animation-delay:.2s}.sb-typing i:nth-child(3){animation-delay:.4s}
@keyframes sb-blink{0%,80%,100%{opacity:.25}40%{opacity:1}}

.sb-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px}
.sb-chips:empty{display:none}
.sb-chip{min-height:36px;padding:6px 12px;border:1px solid rgba(198,255,61,.4);border-radius:999px;background:transparent;color:var(--sb-text);font-size:13px;text-align:left}
.sb-chip:hover{background:rgba(198,255,61,.12)}

.sb-input{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--sb-line);background:var(--sb-surface)}
.sb-input textarea{flex:1;min-height:44px;max-height:110px;padding:11px 14px;border:1px solid var(--sb-line);border-radius:14px;background:var(--sb-bg);
  color:var(--sb-text);font:inherit;resize:none;line-height:1.4}
.sb-input textarea::placeholder{color:var(--sb-muted)}
.sb-send{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:14px;background:var(--sb-accent);color:var(--sb-accent-ink)}
.sb-send:disabled{opacity:.5;cursor:default}
.sb-foot{display:flex;justify-content:center;padding:0 12px 8px;background:var(--sb-surface)}
.sb-link{min-height:32px;border:0;background:none;color:var(--sb-muted);font-size:12.5px;text-decoration:underline;text-underline-offset:2px}
.sb-link:hover{color:var(--sb-text)}
.sb-link[hidden]{display:none}

.sb-ticket{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid rgba(198,255,61,.35);border-radius:16px;background:var(--sb-surface)}
.sb-ticket p{margin:0;color:var(--sb-muted);font-size:12.5px}
.sb-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--sb-muted)}
.sb-field input,.sb-field textarea{width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--sb-line);border-radius:10px;background:var(--sb-bg);color:var(--sb-text);font:inherit;font-size:14px;resize:vertical}
.sb-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.sb-err{color:var(--sb-danger);font-size:12.5px}
.sb-err[hidden]{display:none}
.sb-actions{display:flex;justify-content:flex-end;gap:8px}
.sb-btn{min-height:42px;padding:0 16px;border:0;border-radius:12px;background:var(--sb-accent);color:var(--sb-accent-ink);font-weight:700}
.sb-btn:disabled{opacity:.6}
.sb-btn-ghost{background:transparent;color:var(--sb-muted);border:1px solid var(--sb-line);font-weight:500}

@media (max-width:640px){
  .sb-root{right:16px;bottom:16px}
  .sb-root.sb-raised{bottom:84px}
  .sb-launcher{width:52px;height:52px;padding:0;justify-content:center;border-radius:50%}
  .sb-launcher-text{display:none}
  .sb-root.sb-is-open{left:0;right:0;top:0;bottom:0!important}
  .sb-panel{width:100%;height:100%;border-radius:0;border:0}
}
@media (prefers-reduced-motion:reduce){.sb-panel,.sb-dot,.sb-typing i{animation:none}.sb-launcher{transition:none}}
