/* Widget Container Styles */
#chatbot-container,
#whatsapp-container {
  position: fixed;
  z-index: 9999;
}

#chatbot-container {
  bottom: 6rem;
  right: 1.5rem;
}

#whatsapp-container {
  bottom: 1.5rem;
  right: 1.5rem;
}

/* Responsive positioning */
@media (max-width: 640px) {
  #chatbot-container {
    bottom: 5rem;
    right: 1rem;
  }
  
  #whatsapp-container {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 400px) {
  #chatbot-container {
    bottom: 4.5rem;
    right: 0.75rem;
  }
  
  #whatsapp-container {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}

/* Widget hover effects */
#chatbot-button:hover,
#whatsapp-container a:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Tooltip styles */
#chatbot-tooltip,
#whatsapp-container .absolute {
  pointer-events: none;
}

#chatbot-tooltip.hidden,
#whatsapp-container .absolute.hidden {
  display: none;
}

/* Modal positioning */
#chatbot-modal {
  max-height: 80vh;
  overflow-y: auto;
}

@media (max-height: 600px) {
  #chatbot-modal {
    max-height: 70vh;
  }
}