/* Container */
#wg-floating-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column-reverse; /* WhatsApp below, Google above */
  gap: 12px;
}

/* Button container */
.wg-float-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wg-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* Image icons */
.wg-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* Tooltip text */
.wg-label {
  position: absolute;
  right: 65px;
  white-space: nowrap;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-size: 13px;
  font-family: system-ui, Arial, sans-serif;
}

/* Tooltip arrow */
.wg-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

/* Show tooltip on hover */
.wg-float-btn:hover .wg-label {
  opacity: 1;
}

/* Mobile optimization */
@media (max-width: 600px) {
  .wg-label {
    display: none;
  }
  #wg-floating-wrap {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
  .wg-float-btn {
    width: 48px;
    height: 48px;
  }
  .wg-img {
    width: 24px;
    height: 24px;
  }
}
