/*
 * Botón flotante de WhatsApp
 * Compatible con IE10+ (-ms-flexbox)
 */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.whatsapp-float__link {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  position: relative;
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float__link:hover,
.whatsapp-float__link:focus {
  background-color: #128C7E;
  -webkit-transform: scale(1.08);
  -ms-transform: scale(1.08);
  transform: scale(1.08);
  outline: none;
}

.whatsapp-float__icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: #333333;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
}

.whatsapp-float__tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border: 6px solid transparent;
  border-left-color: #333333;
}

.whatsapp-float__link:hover .whatsapp-float__tooltip,
.whatsapp-float__link:focus .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
}
