/* ChainGPT Chatbot - Force fixed positioning */
/* CRITICAL: Maximum specificity to override all other styles */
html body .chatbot-portal-container {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  top: auto !important;
  left: auto !important;
  z-index: 2147483647 !important; /* Maximum z-index */
  pointer-events: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  will-change: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  /* Prevent ANY transforms from affecting position */
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  /* Force independent rendering layer */
  isolation: isolate !important;
  contain: layout style paint !important;
}

/* Ensure child elements use relative positioning */
html body .chatbot-portal-container > * {
  position: relative !important;
}

/* Ensure it works on mobile too */
@media (max-width: 640px) {
  html body .chatbot-portal-container {
    bottom: 1rem !important;
    right: 1rem !important;
  }
}
