/* Estilos para botones de compartir */
.share-buttons-container {
  margin: 2rem 0;
  padding: 1.5rem;
  border-top: 1px solid var(--border, rgba(158, 172, 185, 0.3));
  border-bottom: 1px solid var(--border, rgba(158, 172, 185, 0.3));
  background-color: var(--theme, rgba(47, 64, 76, 1));
}

.share-buttons-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary, rgba(154, 215, 216, 1));
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background-color: var(--theme, rgba(47, 64, 76, 1));
  color: var(--primary, rgba(154, 215, 216, 1));
  cursor: pointer;
  white-space: nowrap;
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.share-button svg {
  flex-shrink: 0;
}

/* Colores específicos para cada red social */
.share-button-x {
  border-color: rgba(0, 0, 0, 0.2);
}

.share-button-x:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.share-button-facebook {
  border-color: rgba(24, 119, 242, 0.3);
}

.share-button-facebook:hover {
  background-color: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.share-button-linkedin {
  border-color: rgba(0, 119, 181, 0.3);
}

.share-button-linkedin:hover {
  background-color: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
}

.share-button-whatsapp {
  border-color: rgba(37, 211, 102, 0.3);
}

.share-button-whatsapp:hover {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.share-button-telegram {
  border-color: rgba(0, 136, 204, 0.3);
}

.share-button-telegram:hover {
  background-color: #0088cc;
  color: #ffffff;
  border-color: #0088cc;
}

.share-button-email {
  border-color: rgba(102, 102, 102, 0.3);
}

.share-button-email:hover {
  background-color: #666666;
  color: #ffffff;
  border-color: #666666;
}

.share-button-copy {
  border-color: rgba(102, 102, 102, 0.3);
}

.share-button-copy:hover {
  background-color: #666666;
  color: #ffffff;
  border-color: #666666;
}

/* Responsive: en pantallas pequeñas, mostrar botones más compactos */
@media (max-width: 768px) {
  .share-buttons-container {
    padding: 1rem;
  }

  .share-buttons {
    gap: 0.5rem;
  }

  .share-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .share-button span {
    display: none;
  }

  .share-button {
    padding: 0.625rem;
    min-width: 2.5rem;
    justify-content: center;
  }
}

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
  .share-buttons-container {
    background-color: var(--theme, rgba(47, 64, 76, 1));
    border-color: var(--border, rgba(158, 172, 185, 0.3));
  }

  .share-button {
    background-color: var(--theme, rgba(47, 64, 76, 1));
    color: var(--primary, rgba(154, 215, 216, 1));
    border-color: var(--border, rgba(158, 172, 185, 0.3));
  }

  .share-button-x {
    border-color: rgba(255, 255, 255, 0.2);
  }

  .share-button-x:hover {
    background-color: #ffffff;
    color: #000000;
  }
}

