
/* INXON TECH - Free Knowledge Chatbot (no AI API) */
.chat-fab{
  position:fixed; right:18px; bottom:18px; z-index:9999;
  width:56px; height:56px; border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(0,229,255,.95), rgba(122,0,255,.85));
  color:#0b0f1c;
  box-shadow: 0 18px 55px rgba(0,229,255,.14);
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease;
}
.chat-fab:hover{ transform: translateY(-2px); filter: brightness(1.03); }
.chat-fab:active{ transform: translateY(0); }
.chat-fab svg{ width:24px; height:24px; }

.chat-panel{
  position:fixed; right:18px; bottom:86px; z-index:9999;
  width:min(380px, calc(100vw - 36px));
  height: min(560px, calc(100vh - 130px));
  border-radius: 20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,10,18,.80);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 90px rgba(0,0,0,.35);
  display:none;
}
.chat-panel.open{ display:flex; flex-direction:column; }

.chat-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.chat-title{ display:flex; align-items:center; gap:10px; font-weight: 950; }
.chat-title .dot{
  width:10px; height:10px; border-radius:99px;
  background: rgba(0,229,255,.95);
  box-shadow: 0 0 0 6px rgba(0,229,255,.16);
}
.chat-close{
  width:40px; height:40px; border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  cursor:pointer;
}
.chat-close:hover{ background: rgba(255,255,255,.10); }

.chat-body{
  padding:12px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.chat-msg{
  max-width: 86%;
  border-radius: 16px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  white-space: pre-wrap;
}
.chat-msg.bot{ align-self:flex-start; }
.chat-msg.user{ align-self:flex-end; background: rgba(255,255,255,.08); }
.chat-meta{
  font-size:.82rem;
  color: rgba(255,255,255,.68);
  margin-top:6px;
}
.chat-suggestions{
  display:flex; flex-wrap:wrap; gap:8px;
  padding:0 12px 12px;
}
.chat-chip{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  border-radius:999px;
  padding:7px 10px;
  font-weight:800;
  cursor:pointer;
}
.chat-chip:hover{ background: rgba(255,255,255,.10); }

.chat-footer{
  border-top:1px solid rgba(255,255,255,.10);
  padding:10px;
  display:flex;
  gap:8px;
  background: rgba(0,0,0,.10);
}
.chat-input{
  flex:1;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  padding:12px 12px;
  outline:none;
}
.chat-send{
  width:46px; height:46px; border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}
.chat-send:hover{ background: rgba(255,255,255,.14); }

.chat-note{
  padding:0 12px 12px;
  font-size:.82rem;
  color: rgba(255,255,255,.62);
}

/* RTL */
html[dir="rtl"] .chat-panel{ left:18px; right:auto; }
html[dir="rtl"] .chat-fab{ left:18px; right:auto; }
html[dir="rtl"] .chat-msg.user{ align-self:flex-start; }
html[dir="rtl"] .chat-msg.bot{ align-self:flex-end; }

.chat-close.chat-wa{
  font-weight: 1000;
  letter-spacing:.5px;
  width:44px;
}
