/**
 * social-share-buttons - Modern social sharing styles
 */

:root {
  --social-share-buttons-bg: #ffffff;
  --social-share-buttons-text: #1a1a1a;
  --social-share-buttons-border: #e0e0e0;
  --social-share-buttons-shadow: rgba(0, 0, 0, 0.1);
  --social-share-buttons-hover: rgba(0, 0, 0, 0.05);
  --social-share-buttons-radius: 0.5rem;
  --social-share-buttons-transition: 0.2s ease;
}

[data-theme="dark"] {
  --social-share-buttons-bg: #1a1a1a;
  --social-share-buttons-text: #ffffff;
  --social-share-buttons-border: #333333;
  --social-share-buttons-shadow: rgba(0, 0, 0, 0.3);
  --social-share-buttons-hover: rgba(255, 255, 255, 0.1);
}

.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  padding: 0.625rem 1rem;
  background: var(--social-share-buttons-color, var(--social-share-buttons-bg));
  border: none;
  border-radius: var(--social-share-buttons-radius);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--social-share-buttons-transition);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.social-share-button:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}

.social-share-button:active {
  transform: translateY(0);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.social-share-button:focus-visible {
  outline: 2px solid var(--social-share-buttons-color, var(--social-share-buttons-text));
  outline-offset: 0.125rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .social-share-button {
    transition: none;
  }
}

@media (prefers-contrast: high) {
  .social-share-button {
    border-width: 0.125rem;
  }
}
