/* 🧩 BOT WRAPPER - always at bottom right */
#bot-wrapper {
  position: fixed !important;
  bottom: 66px !important;
  right: 11px !important;
  width: 80px;
  height: 87px;
  z-index: 9999 !important;
  border-radius: 50%;
  background: transparent;
  display: block !important;
  overflow: visible !important;
  pointer-events: none; /* doesn’t block elements behind */
  transition: all 0.3s ease-in-out;
}

/* 🔄 Expanded (when .active class added) */
#bot-wrapper.active {
  width: 420px;   /* Increase size here */
  height: 600px;  /* Increase size here */
  border-radius: 12px;
  overflow: visible !important;
  pointer-events: auto;
}

/* 🪟 The iframe that contains the chat UI */
#bot-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
  border-radius: 12px;
  pointer-events: auto;
}



}
#chatPopup {
  position: absolute;
  bottom: 70px; /* aligns nicely above the blue chat button */
  right: 0;
  width: 320px;
  height: 410px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  animation: fadeIn 0.4s ease;
}



/* Optional: On mobile, make it adaptive */
#chatPopup {
  position: absolute;
  bottom: 70px; /* aligns popup directly above the chat button */
  right: 0;
  width: 320px;
  height: 410px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  animation: fadeIn 0.4s ease;
}


#chatButton {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}