/* chatbot.css */
.chatbot-icon {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-icon img {
  width: 50px;
  height: 50px;
}

.chatbot-window {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  animation: fadeIn 0.4s ease;
}
.chatbot-window.open {
  display: flex;
}
.chatbot-header {
  background: linear-gradient(45deg, #7b2030, #c68c4c);
  color: white;
  padding: 15px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}
.chatbot-body {
  padding: 10px;
  height: 240px;
  overflow-y: auto;
  background: #f9f9f9;
}
.chatbot-input {
  display: flex;
  border-top: 1px solid #ccc;
}
.chatbot-input input {
  flex: 1;
  padding: 10px;
  border: none;
  font-size: 1rem;
}
.chatbot-input button {
  background-color: #7b2030;
  color: white;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-weight: bold;
}
.user-message {
  text-align: right;
  background: #e1f5fe;
  padding: 8px 12px;
  border-radius: 10px;
  margin: 5px 0;
  max-width: 80%;
  margin-left: auto;
}
.bot-message {
  text-align: left;
  background: #fce4ec;
  padding: 8px 12px;
  border-radius: 10px;
  margin: 5px 0;
  max-width: 80%;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bot-icon {
  font-size: 1.1rem;
}

.floating-msg {
  position: fixed;
  bottom: 95px;
  right: 110px;
  background: #333;
  color: white;
  padding: 10px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 1s ease;
  font-size: 0.9rem;
  z-index: 999;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
