#chatbot-icon {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  background: #4f8cff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
}
#chatbot-icon img {
  width: 36px;
  height: 36px;
}
#chatbot-window {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 340px;
  max-height: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: none;
  flex-direction: column;
  z-index: 10000;
  overflow: hidden;
}
#chatbot-header {
  background: #4f8cff;
  color: #fff;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#chatbot-close {
  cursor: pointer;
  font-size: 20px;
}
#chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f7f8fa;
}
.chatbot-msg {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}
.chatbot-msg.user {
  align-items: flex-end;
}
.chatbot-msg.bot {
  align-items: flex-start;
}
.chatbot-bubble {
  max-width: 80%;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 2px;
  word-break: break-all;
}
.chatbot-msg.user .chatbot-bubble {
  background: #4f8cff;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-msg.bot .chatbot-bubble {
  background: #e9ecf3;
  color: #222;
  border-bottom-left-radius: 4px;
}
#chatbot-input-area {
  display: flex;
  border-top: 1px solid #e0e0e0;
  background: #fff;
}
#chatbot-input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
#chatbot-send {
  background: #4f8cff;
  color: #fff;
  border: none;
  padding: 0 18px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0 0 12px 0;
  transition: background 0.2s;
}
#chatbot-send:disabled {
  background: #b3d1ff;
  cursor: not-allowed;
}