.chatbot-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background-color: transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
}

.chatbot-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.chat-window {
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 280px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  font-size: 14px;
  z-index: 1001;
  overflow: hidden;
}

.chat-header {
  background: #444;
  color: white;
  padding: 10px;
  font-weight: bold;
}

.chat-body {
  padding: 10px;
  max-height: 150px;
  overflow-y: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ccc;
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
}

.chat-input button {
  background: #444;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* Ajustes para escritorio */
@media (min-width: 769px) {
  .chat-window {
    bottom: 80px;
    right: 20px;
    width: 320px;
    max-height: 400px;
  }
}

/* Ajustes para móvil */
@media (max-width: 768px) {
.chatbot-float {
  width: 50px;
  height: 50px;
  font-size: 30px;
  bottom: 12px;
  right: 12px;
  background-color: #f0f0f0; /* gris claro */
}
  .chat-window {
    width: 90vw;
    right: 5vw;
    bottom: 70px;
  }
}
