/* Simple floating chatbot widget */
.cb-btn{position:fixed; right:18px; bottom:calc(18px + env(safe-area-inset-bottom)); z-index:5000; display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; background:#0d6efd; color:#fff; box-shadow:0 10px 24px rgba(13,110,253,.35), 0 0 0 3px rgba(255,255,255,.6); border:none; cursor:pointer;}
.cb-btn:hover{background:#0b5ed7}
.cb-btn:focus-visible{outline:none; box-shadow:0 0 0 3px rgba(255,255,255,.9), 0 0 0 6px rgba(13,110,253,.45)}
.cb-panel{position:fixed; right:18px; bottom:calc(80px + env(safe-area-inset-bottom)); z-index:5000; width:320px; max-width:92vw; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:14px; box-shadow:0 14px 36px rgba(0,0,0,.18); display:none;}
.cb-panel.open{display:block}
.cb-header{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; border-bottom:1px solid rgba(0,0,0,.08)}
.cb-header h6{margin:0; font-weight:700}
.cb-header .min{background:none; border:none; color:#555; cursor:pointer}
.cb-body{padding:10px 12px; max-height:44vh; overflow:auto}
.cb-msg{display:flex; margin:8px 0}
.cb-msg .bubble{padding:8px 10px; border-radius:10px; max-width:78%}
.cb-msg.user{justify-content:flex-end}
.cb-msg.user .bubble{background:#0d6efd; color:#fff; border-bottom-right-radius:4px}
.cb-msg.bot .bubble{background:#f3f6fa; color:#222; border-bottom-left-radius:4px}
.cb-input{display:flex; gap:8px; padding:10px 12px; border-top:1px solid rgba(0,0,0,.08)}
.cb-input input{flex:1; padding:8px 10px; border:1px solid rgba(0,0,0,.18); border-radius:10px}
.cb-input button{padding:8px 12px; border:none; border-radius:10px; background:#0d6efd; color:#fff;}
.cb-suggest{display:flex; flex-wrap:wrap; gap:6px; margin-top:6px}
.cb-suggest button{border:1px solid rgba(0,0,0,.12); background:#fff; color:#222; border-radius:999px; padding:6px 10px; font-size:.85rem; cursor:pointer}
.cb-footer{padding:8px 12px; font-size:12px; color:#777}
@media (max-width:576px){ .cb-panel{width:92vw;} .cb-btn{width:56px; height:56px; right:16px; bottom:calc(20px + env(safe-area-inset-bottom));} }
