/* Estilo para el asistente (burbuja de ayuda) */
.whatsapp-asistente {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.asistente-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.burbuja-texto {
  font-size: 18px;
}

/* Estilo para el botón de cerrar (X) */
.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}

/* Estilo para el chat */
.chat-box {
  position: fixed;
  bottom: 150px;
  right: 20px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
  width: 300px;
  font-size: 16px;
}

.chat-box p {
  margin-bottom: 10px;
}

.chat-box a {
  color: #25D366;
  font-weight: bold;
  text-decoration: none;
}

.chat-box a:hover {
  text-decoration: underline;
}

/* Medios de pantalla pequeños (móviles) */
@media (max-width: 768px) {
  .whatsapp-asistente {
    bottom: 20px; /* Mueve la burbuja más arriba en pantallas pequeñas */
    right: 10px;  /* Menos espacio a la derecha */
    padding: 12px; /* Reduce el padding */
  }

  .asistente-img {
    width: 40px;  /* Reduce el tamaño de la imagen */
    height: 40px;
  }

  .burbuja-texto {
    font-size: 16px; /* Reduce el tamaño de la fuente */
  }

  .chat-box {
    width: 250px; /* Reduce el ancho del chat */
    bottom: 100px; /* Ajusta la posición del chat */
  }
}

/* Medios de pantalla muy pequeños (móviles pequeños) */
@media (max-width: 480px) {
  .whatsapp-asistente {
    bottom: 10px; /* Mueve aún más arriba la burbuja */
    right: 5px;   /* Ajusta el espacio a la derecha */
    padding: 10px; /* Reduce aún más el padding */
  }

  .asistente-img {
    width: 35px;  /* Aún más pequeño */
    height: 35px;
  }

  .burbuja-texto {
    font-size: 14px; /* Fuente más pequeña */
  }

  .chat-box {
    width: 200px; /* Ajusta aún más el tamaño del chat */
    bottom: 70px;  /* Ajuste de posición */
  }
}
