/* Chatbot Styles */
#chatbot-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
}

#chatbot-toggle {
  background-color: #3B82F6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

#chatbot-toggle:hover {
  background-color: #2563EB;
  transform: scale(1.05);
}

#chatbot-widget {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 20rem;
  height: 24rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background-color: #F9FAFB;
}

.chat-message {
  margin-bottom: 1rem;
}

.chat-message.user {
  text-align: right;
}

.chat-message.bot {
  text-align: left;
}

.message-bubble {
  display: inline-block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  max-width: 80%;
}

.user .message-bubble {
  background-color: #3B82F6;
  color: white;
}

.bot .message-bubble {
  background-color: #DBEAFE;
  color: #1E40AF;
}

#chatbot-input-container {
  display: flex;
  padding: 1rem;
  border-top: 1px solid #E5E7EB;
}

#chatbot-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.25rem 0 0 0.25rem;
  outline: none;
}

#chatbot-input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#chatbot-send {
  background-color: #3B82F6;
  color: white;
  border: none;
  padding: 0 1rem;
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#chatbot-send:hover {
  background-color: #2563EB;
}

/* Responsive Design */
@media (max-width: 768px) {
  #chatbot-widget {
    width: 16rem;
    height: 20rem;
    right: -2rem;
  }
  
  #chatbot-container {
    bottom: 0.5rem;
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  #chatbot-widget {
    width: 14rem;
    height: 18rem;
    right: -1.5rem;
  }
}