/* Widget Button */
#chatbot-open-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #002b78;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 9999;
}
#chatbot-open-btn:hover {
  transform: scale(1.1);
  background: #003fa6;
}

/* Chat Modal */
#chatbot-modal {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 360px;
  max-height: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  overflow: hidden;
  flex-direction: column;
  z-index: 10000;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Header */
#chatbot-header {
  background: #002b78;
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-logo {
  height: 28px;
  margin-right: 8px;
}
.chatbot-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
}

/* Messages */
#chatbot-messages {
  padding: 16px;
  overflow-y: auto;
  max-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chatbot-message {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.4;
}
.chatbot-message.bot {
  background: #f1f3f8;
  color: #333;
  align-self: flex-start;
}
.chatbot-message.user {
  background: #002b78;
  color: white;
  align-self: flex-end;
}

/* Input Section */
#chatbot-input-container {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  border-top: 1px solid #eee;
  gap: 10px;
}
#chatbot-user-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
}
#chatbot-send-btn {
  background: #002b78;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#chatbot-send-btn:hover {
  background: #003fa6;
}
