/* Chat Box Container */
.chat-box-xiaolie {
  position: fixed;
  bottom: 0;
  right:0;
  width: 35rem;
  height: 22rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  z-index: 1000;
  border: 1px solid rgba(58, 123, 236, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  display: flex;
    opacity: 0;
}

/* 显示状态的聊天框 */
.chat-box-xiaolie.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all; /* 可以接受交互 */

}


/* Chat Header */
.chat-header-xiaolie {
  background: rgb(0, 0, 0);
  color: white;
  padding: 10px 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  cursor: move;
  justify-content: space-between;
}

.chat-header-xiaolie span {
  font-size: 16px;
  margin-left: 5px;
}




/* Make sure new messages appear with animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}