/* --- Botón flotante --- */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  cursor: pointer;
}

/* --- Ventana del chat --- */
.chat-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}

.chat-header {
  background: #25d366;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-body {
  padding: 15px;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.typing {
  font-style: italic;
  color: #888;
}

.chat-footer {
  padding: 10px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 5px;
}

.chat-footer input {
  flex: 1;
}

/* --- Animación --- */
.show {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background-color: #212528;
  color: white;
}
