/* Chatbot Floating Button */
.chat-float-btn {
  position: fixed;
  bottom: 100px;
  right: 18px;
  background-color: #198754;
  color: #fff;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  transition: 0.3s ease-in-out;
}
.chat-float-btn:hover {
  background-color: #157347;
}

/* Chatbot Box */
.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 80px;
  width: 280px;
  max-width: 90%;
  height: 420px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9998;
  animation: fadeInUp 0.3s ease;
}

.chat-header {
  background-color: #198754;
  color: #fff;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f9f9f9;
}

.chat-footer {
  padding: 10px;
  border-top: 1px solid #ddd;
  background: #fff;
}

.chat-footer .sendMessageBox{
 display: flex;
 align-items: center;
}

.chat-footer .sendMessageBox input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.chat-footer .sendMessageBox .send-button {
  background: #198754;
  color: #fff;
  border: none;
  padding: 7px;
  margin-left: 8px;   
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-footer .sendMessageBox .send-button:hover {
  background: #157347;
}

/* Message Bubbles */
.user-message,
.bot-message {
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 20px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.4;
}

.user-message {
  background-color: #dcf8c6;
  align-self: flex-end;
  margin-left: auto;
}

.bot-message {
  background-color: #eeeeee;
  align-self: flex-start;
  margin-right: auto;
}

/* Quick Buttons */
.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.quick-buttons button {
  background-color: #e9fbe7;
  color: #198754;
  border: 1px solid #c5e8d3;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.quick-buttons button:hover {
  background-color: #c7f0d3;
}

/* Close Icon */
.chat-close {
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Optional: Emoji Button inside chat footer */
.chat-footer .emoji-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  margin-right: 8px;
  margin-left: 6px;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.chat-footer .emoji-button:hover {
  transform: scale(1.2);
}

