.wcc-whatsapp-button {
  position: fixed;
  bottom: 25px;
  z-index: 999999;
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Position */
.wcc-position-left {
  left: 25px;
}

.wcc-position-right {
  right: 25px;
}

/* Button Link */
.wcc-button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.2),
    inset 0 2px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin: 0;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sizes */
.wcc-size-small .wcc-button-link {
  width: 50px;
  height: 50px;
}

.wcc-size-medium .wcc-button-link {
  width: 62px;
  height: 62px;
}

.wcc-size-large .wcc-button-link {
  width: 75px;
  height: 75px;
}

/* Icon */
.wcc-whatsapp-icon {
  width: 55%;
  height: 55%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Hover Effect */
.wcc-whatsapp-button:hover {
  transform: translateY(-8px) scale(1.05);
}

.wcc-button-link:hover {
  background: linear-gradient(135deg, #2ae56f 0%, #15a392 100%);
  box-shadow:
    0 15px 35px rgba(37, 211, 102, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Tooltip Styling */
.wcc-tooltip {
  position: absolute;
  background: #252a34;
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tooltip Position */
.wcc-position-left .wcc-tooltip {
  left: calc(100% + 18px);
}

.wcc-position-right .wcc-tooltip {
  right: calc(100% + 18px);
}

/* Tooltip Visibility */
.wcc-whatsapp-button:hover .wcc-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Animation Classes (Controlled by Admin) */
.wcc-animate .wcc-button-link {
  animation: wcc-float 3s ease-in-out infinite;
}

.wcc-animate .wcc-button-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  animation: wcc-pulse-rings 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes wcc-float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes wcc-pulse-rings {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .wcc-whatsapp-button {
    bottom: 20px;
  }

  .wcc-position-left {
    left: 20px;
  }

  .wcc-position-right {
    right: 20px;
  }

  .wcc-button-link {
    width: 55px !important;
    height: 55px !important;
  }

  /* Hide tooltip on small mobile screens to avoid overlap */
  @media screen and (max-width: 480px) {
    .wcc-tooltip {
      display: none !important;
    }
  }
}