/* 🔹 Chatbot Floating Button */
#chatbot-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: all 0.3s ease;
}
#chatbot-btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* 🟢 WhatsApp Button */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  padding: 12px 14px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
}
#whatsapp-btn:hover {
  background: #1ebe5d;
  transform: scale(1.1);
}

/* 🔹 Chatbot Window */
#chatbot-window {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 340px;
  height: 480px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1001;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Header */
#chatbot-header {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

/* Messages */
#chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.user-msg {
  align-self: flex-end;
  background: #d1e7ff;
  padding: 8px 10px;
  border-radius: 10px 10px 0 10px;
  max-width: 80%;
}
.bot-msg {
  align-self: flex-start;
  background: #e9ecef;
  padding: 8px 10px;
  border-radius: 10px 10px 10px 0;
  max-width: 80%;
}

/* Input area */
#chatbot-input {
  display: flex;
  border-top: 1px solid #ddd;
}
#chatbot-input input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  outline: none;
}
#chatbot-input button {
  background: #007bff;
  border: none;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}
#chatbot-input button:hover {
  background: #0056b3;
}

/* Contact Form */
#chatbot-form {
  padding: 12px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#chatbot-form h4 {
  margin-bottom: 6px;
  color: #333;
}
#chatbot-form input,
#chatbot-form textarea {
  width: 100%;
  padding: 9px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 13px;
}
#chatbot-form button {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}
#chatbot-form button:hover {
  background: #218838;
}

/* Error text */
.error {
  color: red;
  font-size: 12px;
  display: none;
}
/* 🔹 WhatsApp Floating Button */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  /* right: 90px; */
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s ease;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

#whatsapp-btn svg {
  fill: white;
  width: 24px;
  height: 24px;
}
