/* Shared styles for Chatbot modal and FAB across pages */

/* Desktop / default */
#chatbotModal .modal-dialog {
  max-width: 90%;
  height: 90%;
  margin: 0 auto; /* ensure centered width on desktop */
}

#chatbotModal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

#chatbotModal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

#chatbotModal .modal-body {
  height: calc(100% - 60px);
  padding: 0 !important;
}

#chatbotModal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #chatbotModal .modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  #chatbotModal .modal-content {
    height: 100vh !important;
    border-radius: 0 !important;
  }

  #chatbotModal .modal-body {
    height: calc(100vh - 60px) !important;
  }
}

@media (max-width: 480px) {
  #chatbotModal .modal-dialog {
    max-width: 100% !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
  }
}

/* Floating Action Button for Chatbot */
.chatbot-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}