body {
  background-color: #f0f2f5;
}

.chat-box {
  width: 90%;
  max-width: 400px;
  height: 500px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1100;
  display: none;
}

.chat-header {
  background: #0d6efd;
  color: #fff;
  padding: 15px;
  font-size: 18px;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.message {
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 75%;
  clear: both;
}

.user-msg {
  background: #0d6efd;
  color: #fff;
  float: right;
}

.bot-msg {
  background: #e9ecef;
  color: #333;
  float: left;
}

.chat-footer {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
}

.chat-footer input {
  flex: 1;
  margin-right: 10px;
}

/* .icon-ai {
  cursor: pointer;
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 1000;
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} */

#chat-section {
  position: relative;
  /* keep only if needed for inner absolute elements */
}

#ai-assistant-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  padding: 10px 20px;

  cursor: pointer;
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}