
 /* ========= 客服图标 ========= */
.chat-icon {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #cda292;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.chat-icon img{width:32px;height:32px;}
.chat-icon:hover {
    transform: scale(1.1);
}

/* ========= 客服对话框 ========= */
.chat-dialog {
    width: 300px;
    border: none;
    border-radius: 12px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.1);
    display: none;
}

/* ========= 聊天弹窗 ========= */
.chat-consult-dialog {
  width: 90%;
  max-width: 620px;
  border: none;
  border-radius: var(--radius);
   
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 0;
  animation: fadeIn 0.4s;
}
.chat-consult-containerUs {
  display: flex;
  gap: 30px;
  padding: 40px;
}

@media (max-width: 700px) {
  .chat-consult-containerUs {
    flex-direction: column;
    align-items: center;
  }
 
}

.chat-consult-container {
    width:100%;
    border: 1px solid #dfc5bb;
    border-radius: 5px;
    overflow: hidden;
}

.chat-consult-header {
    background-color: #dfc5bb;
    color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
}
.chat-btnClose {
  position: absolute;
  top: 2px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: #dfc5bb;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
  z-index: 10;
}
.chat-consult-messages {
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    background-color: #ffffff;
}
.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    display: inline-block;
    clear: both;
}
.message.user {
    background-color: #cda292;
    float: right;
}
.message.bot {
    background-color: #cda292;
    color: white;
    float: left;
}
.chat-consult-input {
    padding: 0px;
    /* border-top: 1px solid #e4cdc5;  */
    display: flex;
}

#userInput{
	height: 120px;
	border: none; /* 移除所有边框 */
    outline: none; /* 移除聚焦时的轮廓 */
    resize: none; /* 禁止调整大小 */
    overflow: hidden; /* 隐藏溢出内容 */
    box-sizing: border-box; /* 包括内边距和边框在内的总宽度 */
    padding: 10px; /* 设置内边距 */
    font-size: 16px; /* 设置字体大小 */
    font-family: Arial, sans-serif; /* 设置字体 */
    background-color: #f9f9f9; /* 设置背景颜色 */
    width: 100%; /* 设置宽度为100% */
}
.send-btn {
    background-color: #cda292;
    color: white; 
    cursor: pointer;
    float: right;
    margin: 13px 30px;
    border: none;
    border-radius: 5px;
}
/* ---------------------------------------------------------------------- */
