/* ===== Floating Icons - Bottom Left ===== */
.floating-icons-wrapper {
  position: fixed;
  bottom: 28px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.floating-icon-btn:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-icon-btn:active {
  transform: scale(0.96);
}

/* Copy Link Button */
.floating-icon-btn.copy-link {
  background-color: #3b82f6;
}

/* WhatsApp Button */
.floating-icon-btn.whatsapp {
  background-color: #25d366;
}

/* Contact Button */
.floating-icon-btn.contact {
  background-color: #1e3a5f;
}

.floating-icon-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Tooltip */
.floating-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 62px;
  background: rgba(30, 30, 30, 0.88);
  color: #fff;
  font-size: 12px;
  font-family: 'Tajawal', sans-serif;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-icon-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Copy success state */
.floating-icon-btn.copy-link.copied {
  background-color: #16a34a;
}

/* Entry animation */
.floating-icons-wrapper .floating-icon-btn {
  animation: floatIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.floating-icons-wrapper .floating-icon-btn:nth-child(1) { animation-delay: 0.1s; }
.floating-icons-wrapper .floating-icon-btn:nth-child(2) { animation-delay: 0.2s; }
.floating-icons-wrapper .floating-icon-btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .floating-icons-wrapper {
    bottom: 16px;
    left: 12px;
  }
  .floating-icon-btn {
    width: 46px;
    height: 46px;
  }
  .floating-icon-btn svg {
    width: 20px;
    height: 20px;
  }
}