
#chatbot-icon-wrapper {
  width: 100%;
  height: 100%;
  pointer-events: none; /* makes the animation not block drag */
}

#chatbot-btn {
  height: 200px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  padding: 12px 16px;
  font-size: 24px;
  touch-action: none;
  cursor: grab;  z-index: 9999;
}

#chatbox {
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: #1f1f1f;
  color: white;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0,0,0,0.9);
  z-index: 9999;
  font-family: sans-serif;
}

#chatbox-header {
  padding: 10px;
  background: #272727;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#chat-log {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-message, .bot-message {
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  word-wrap: break-word;
}

.user-message {
  background: #3a3a3a;
  align-self: flex-end;
}

.bot-message {
  background: #2a2a2a;
  align-self: flex-start;
}

.typing {
  font-style: italic;
  opacity: 0.7;
}

#chat-input-container {
  display: flex;
  padding: 10px;
  background: #272727;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#chat-input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 6px;
  margin-right: 6px;
}

#send-btn {
  background: #5c6bc0;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

#chatbot-click-area {
  cursor: pointer;
}

#close-chat{
  cursor: pointer;
}

@media (max-width: 768px) {
  #chatbot-btn {
    left: auto !important;
    right: 10px;
    bottom: -50px;
    top: auto !important;
    
  }
}
