
#chat-widget {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  overflow: auto;
  flex-direction: column;
  justify-content: flex-start;
}
#chat-widget.open {
  display: flex;
}
#chat-header {
  background: #007bff;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
#chat-box {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 15px;
  background: #f9f9f9;
}
#chatbot-input-area {
  display: flex;
  border-top: 1px solid #ccc;
  background: white;
  padding: 10px;
}
#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
#chatbot-send {
  margin-left: 10px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}


/* Added by cleanup */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  z-index: 9999;
}

#chat-toggle:hover {
  background: #0056b3;
}


/* === Chat Bubbles === */
.user-message {
  background-color: #007bff;
  color: white;
  padding: 8px 14px;
  border-radius: 16px;
  margin: 10px 0;
  max-width: 80%;
  align-self: flex-end;
  text-align: right;
  word-wrap: break-word;
}

.bot-message {
  background-color: #eaeaea;
  color: #333;
  padding: 8px 14px;
  border-radius: 16px;
  margin: 10px 0;
  max-width: 80%;
  align-self: flex-start;
  text-align: left;
  word-wrap: break-word;
}
