/* Chatbot Widget Styles */
#chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'PT Sans', sans-serif;
}

#chatbot-button {
  width: 60px;
  height: 60px;
  background-color: #007c82;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  transition: transform 0.3s;
}

#chatbot-button:hover {
  transform: scale(1.1);
}

#chatbot-window {
  display: none;
  width: 350px;
  height: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 80px;
  right: 0;
  border: 1px solid #ddd;
}

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

#chatbot-close {
  cursor: pointer;
  font-size: 18px;
}

#chatbot-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f9fbfc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.chat-msg.bot {
  background-color: #e5f1f2;
  color: #004b50;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background-color: #007c82;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

#chatbot-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: white;
}

#chatbot-input {
  flex-grow: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 8px 15px;
  outline: none;
  font-family: inherit;
}

#chatbot-send {
  background-color: #007c82;
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.typing-indicator {
  display: none;
  align-self: flex-start;
  background-color: #e5f1f2;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 12px;
  color: #007c82;
  border-bottom-left-radius: 2px;
}
