#chatbot {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 320px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  font-family: Arial, sans-serif;
  overflow: hidden;
  z-index: 1000;
}

#chatbot-header {
  background: #004080;
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

#chatbot-messages {
  height: 220px;
  overflow-y: auto;
  padding: 12px;
  background: #f7f9fb;
}

.message {
  margin: 8px 0;
  padding: 10px 14px;
  max-width: 80%;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.user {
  align-self: flex-end;
  background-color: #e0f0ff;
  color: #004080;
  text-align: right;
  margin-left: auto;
  border-bottom-right-radius: 0;
}

.bot {
  align-self: flex-start;
  background-color: #eaeaea;
  color: #333;
  margin-right: auto;
  border-bottom-left-radius: 0;
}

#chatbot-input {
  display: flex;
  border-top: 1px solid #ccc;
  background: #fff;
}

#user-input {
  flex: 1;
  padding: 12px;
  border: none;
  font-size: 14px;
  border-bottom-left-radius: 12px;
  outline: none;
}

#send-btn {
  padding: 12px 16px;
  background: #004080;
  color: white;
  border: none;
  font-weight: bold;
  border-bottom-right-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

#send-btn:hover {
  background: #003366;
}

#toggle-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #004080;
  color: white;
  padding: 12px 15px;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
}
