/**
 * Social sharing styles for Cityland Theme
 */

/* Share buttons container */
.blog-detail-share {
  margin: 2rem 0;
}

.share-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.75rem;
}

/* Individual share buttons */
.share-detail div {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.share-detail div:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.share-detail div:active {
  transform: translateY(0);
}

/* Copy link tooltip */
.copy-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1000;
  pointer-events: none;
  animation: fadeInOut 2s ease;
}

/* Tooltip animation */
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Share button focus animation */
.share-detail div:focus svg {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
