.button {
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 1;
  border: none;
  background-color: #04AA6D;
  color: white;
  padding: 10px 10px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  transition: background-color 1s ease, border 1s ease, max-width 1s ease;
  overflow: hidden;
  white-space: nowrap;
  max-width: 50px; /* Solo se ve el ícono al inicio */
}

.button1 {
  background-color: #04AA6D;
  border: 4px solid #04AA6D;
  color: white;
}

.button:hover {
  background-color: #72B842;
  border: 4px solid #72B842;
  color: white;
  max-width: 200px; /* Espacio suficiente para mostrar texto */
}

.button img {
  width: 24px;
  height: 24px;
}

/* Texto oculto al inicio */
.button .text {
  opacity: 0;
  transform: translateX(10px);
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  transition: opacity 2s ease, transform 2s ease;
}

/* Texto aparece suavemente */
.button:hover .text {
  opacity: 1;
  transform: translateX(0);
}

.btn-inicio {
  position: fixed;
  bottom: 10px;
  left: 1%;
  transform: translateX(0%);
  background-color: #72B842;
  color: white;
  padding: 12px 12px;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  text-decoration: none;
  z-index: 1000;
}