/* Chatbot styles */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: white;
  font-size: 14px;
  z-index: 9999;
}

#chatbot-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

#chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.chatbot-message {
  margin: 5px 0;
}
.chatbot-user {
  text-align: right;
  color: #007bff;
}
.chatbot-bot {
  text-align: left;
  color: #333;
}

#chatbot-input {
  display: flex;
  border-top: 1px solid #eee;
}

#chatbot-input input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
}

#chatbot-input button {
  border: none;
  background: #007bff;
  color: white;
  padding: 0 15px;
  cursor: pointer;
}

#chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-height: 400px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px #999;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  z-index: 1000;
}

#chatbot-container.chatbot-closed {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
}

#chatbot-header {
  background: #0052cc;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  background: #f9f9f9;
}

#user-input {
  border: 1px solid #ccc;
  padding: 8px;
  margin: 5px 10px;
  flex-shrink: 0;
}

#send-button {
  margin: 0 10px 10px 10px;
  padding: 8px;
  background: #0052cc;
  color: white;
  border: none;
  cursor: pointer;
}

#toggle-chatbot {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.chatbot-bubble-hidden {
  display: none;
}

#chatbot-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0052cc;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px #0041a3;
  z-index: 1001;
}
