/* HOSTPOKA AI chat | Developer: RAHAT */
:root{--ai-c1:var(--hp-accent,var(--hp-brand));--ai-c2:var(--hp-accent-2,#22c55e);--ai-text:#ffffff;}
.hp-ai-btn{position:fixed;right:22px;bottom:24px;z-index:99999;width:58px;height:58px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--ai-c1),var(--ai-c2));color:var(--ai-text);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 14px 34px rgba(15,23,42,.28);transition:transform .22s ease,box-shadow .22s ease}.hp-ai-btn:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 18px 45px rgba(15,23,42,.35)}.hp-ai-btn i{font-size:25px}.hp-ai-panel{display:none;position:fixed;right:22px;bottom:92px;z-index:99999;width:370px;max-width:calc(100vw - 26px);height:560px;max-height:calc(100vh - 120px);background:#fff;border-radius:22px;overflow:hidden;border:1px solid rgba(15,23,42,.12);box-shadow:0 22px 70px rgba(15,23,42,.30);font-family:'Inter','Hind Siliguri',Arial,sans-serif;flex-direction:column}.hp-ai-panel.open{display:flex}.hp-ai-head{background:linear-gradient(135deg,var(--ai-c1),var(--ai-c2));color:#fff;padding:15px 16px;display:flex;justify-content:space-between;align-items:center}.hp-ai-head strong{font-size:16px;display:block}.hp-ai-head small{font-size:12px;opacity:.9}.hp-ai-close{border:0;background:rgba(255,255,255,.18);color:#fff;border-radius:50%;width:33px;height:33px;cursor:pointer;font-size:18px}.hp-ai-body{flex:1;overflow:auto;padding:14px;background:#f8fafc;display:flex;flex-direction:column;gap:10px}.hp-ai-msg{display:flex}.hp-ai-msg.user{justify-content:flex-end}.hp-ai-bubble{max-width:86%;font-size:14px;line-height:1.55;padding:11px 13px;border-radius:16px;white-space:pre-wrap;word-break:break-word}.hp-ai-msg.bot .hp-ai-bubble{background:#fff;color:#1e293b;border:1px solid #e2e8f0;border-bottom-left-radius:5px}.hp-ai-msg.user .hp-ai-bubble{background:linear-gradient(135deg,var(--ai-c1),var(--ai-c2));color:#fff;border-bottom-right-radius:5px}.hp-ai-quick{display:flex;gap:6px;flex-wrap:wrap;padding:9px 12px;background:#fff;border-top:1px solid #e2e8f0}.hp-ai-quick button{border:1px solid #e2e8f0;background:#f8fafc;color:#334155;border-radius:999px;padding:7px 10px;font-size:12px;cursor:pointer}.hp-ai-form{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid #e2e8f0}.hp-ai-form input{flex:1;border:1px solid #cbd5e1;border-radius:14px;padding:12px 13px;outline:none}.hp-ai-form input:focus{border-color:var(--ai-c1)}.hp-ai-send{border:0;border-radius:14px;background:linear-gradient(135deg,var(--ai-c1),var(--ai-c2));color:#fff;font-weight:700;padding:0 14px;cursor:pointer}.hp-ai-fallback{color:var(--ai-c1);font-weight:700;text-decoration:none}.hp-ai-typing{opacity:.75}.hp-ai-typing span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#94a3b8;margin:0 2px;animation:hp-aiTyping 1.1s infinite}.hp-ai-typing span:nth-child(2){animation-delay:.15s}.hp-ai-typing span:nth-child(3){animation-delay:.3s}@keyframes hp-aiTyping{0%,80%,100%{transform:scale(.55)}40%{transform:scale(1)}}@media(max-width:520px){.hp-ai-panel{right:10px;bottom:86px;width:calc(100vw - 20px);height:72vh}.hp-ai-btn{right:16px;bottom:18px;width:54px;height:54px}}
html[data-theme="dark"] .hp-ai-panel,.dark .hp-ai-panel{background:#0f172a;border-color:rgba(148,163,184,.22)}html[data-theme="dark"] .hp-ai-body,.dark .hp-ai-body{background:#020617}html[data-theme="dark"] .hp-ai-msg.bot .hp-ai-bubble,.dark .hp-ai-msg.bot .hp-ai-bubble{background:#111827;color:#e5e7eb;border-color:rgba(148,163,184,.22)}html[data-theme="dark"] .hp-ai-quick,html[data-theme="dark"] .hp-ai-form,.dark .hp-ai-quick,.dark .hp-ai-form{background:#0f172a;border-color:rgba(148,163,184,.22)}html[data-theme="dark"] .hp-ai-quick button,.dark .hp-ai-quick button{background:#111827;color:#e5e7eb;border-color:rgba(148,163,184,.22)}html[data-theme="dark"] .hp-ai-form input,.dark .hp-ai-form input{background:#111827;color:#fff;border-color:rgba(148,163,184,.22)}
