/* /connect/css/chatUI.css */

/* /connect/support/chatUI.css (LIGHT) */

#nodechat_root{
  margin:0;
  background:#fff;
  color:#111;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  height:100%;
}

#nodechat_root .wrap{ height:100%; display:flex; flex-direction:column; }

#nodechat_root .hdr{
  padding:12px;
  border-bottom:1px solid rgba(0,0,0,.10);
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
}

#nodechat_root .hdr img{
  width:68px;
  height:58px;
  border-radius:999px;
  display:block;
}

#nodechat_root .title{ font-weight:800; font-size:14px; color:#111; }
#nodechat_root .sub{ font-size:12px; opacity:.75; margin-top:2px; color:#111; }

#nodechat_root .msgs{
  flex:1; overflow-y:auto; padding:12px;
  display:flex; flex-direction:column; gap:10px;
  background:#fff;
}

#nodechat_root .msg{
  max-width:88%;
  padding:10px 12px;
  border-radius:14px;
  white-space:pre-wrap;
  word-break:break-word;
  font-size:13px;
  line-height:1.35;
}

#nodechat_root .msg.user{
  align-self:flex-end;
  background:#1f6feb;
  color:#fff;
  border-bottom-right-radius:6px;
}

#nodechat_root .msg.bot{
  align-self:flex-start;
  background:rgba(0,0,0,.06);
  color:#111;
  border-bottom-left-radius:6px;
}

#nodechat_root .msg.meta{
  align-self:center;
  background:transparent;
  color:rgba(0,0,0,.55);
  padding:0;
  max-width:100%;
  font-size:12px;
  text-align:center;
}

#nodechat_root .ftr{
  padding:10px;
  border-top:1px solid rgba(0,0,0,.10);
  background:#fff;
}

#nodechat_root .row{ display:flex; gap:8px; }

#nodechat_root .inp{
  flex:1;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.18);
  background:#fff;
  color:#111;
  padding:10px 12px;
  font-size:13px;
  outline:none;
}

#nodechat_root .inp::placeholder{ color: rgba(0,0,0,.45); }

#nodechat_root .btn{
  width:44px; min-width:44px;
  border-radius:12px;
  border:0;
  background:#2ea043;
  color:#fff;
  cursor:pointer;
  font-weight:900;
}
#nodechat_root .btn:disabled{ opacity:.55; cursor:default; }
