.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-buttons--compact {
  gap: 0.5rem;
}

.share-buttons__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.share-buttons--compact .share-buttons__label {
  font-size: 0.8rem;
}

.share-buttons__icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.share-buttons--compact .share-buttons__icons {
  gap: 0.35rem;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--share-color) 30%, transparent);
  background-color: color-mix(in srgb, var(--share-color) 8%, transparent);
  color: var(--share-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}

.share-buttons--compact .share-button {
  width: 30px;
  height: 30px;
  font-size: 0.75rem;
}

.share-button:hover {
  background-color: var(--share-color);
  color: #ffffff;
  border-color: var(--share-color);
}

.share-button--copy.copied {
  background-color: #10B981;
  color: #ffffff;
  border-color: #10B981;
}

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f2937;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  animation: tooltipFadeIn 0.2s ease;
}

.copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1f2937;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Footer share section */
.footer-share-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.footer-share-section .share-buttons__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-share-section .share-button {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.footer-share-section .share-button:hover {
  background-color: var(--share-color);
  color: #ffffff;
  border-color: var(--share-color);
}

.footer-share-section .share-button--copy.copied {
  background-color: #10B981;
  color: #ffffff;
  border-color: #10B981;
}

/* Campaign page share */
.campaign-share-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
}

/* Video share overlay */
.video-share-wrapper {
  position: relative;
}

.video-share-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 0 0 8px 8px;
  margin-top: -8px;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .share-button {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .share-buttons__label {
    font-size: 0.8rem;
  }

  .campaign-share-bar {
    flex-wrap: wrap;
    justify-content: center;
  }
}

