/* Social Sharing Styles */

.social-share {
  margin: 20px 0;
}

.social-share .share-label {
  font-size: 14px;
  font-weight: 600;
  color: #2b3132;
  margin-bottom: 10px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

/* Size variations */
.share-small .share-btn {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.share-medium .share-btn {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.share-large .share-btn {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

/* Detailed style with text */
.share-detailed .share-btn {
  width: auto;
  padding: 8px 15px;
  gap: 8px;
}

.share-detailed .share-btn .share-text {
  display: inline-block;
  font-size: 14px;
}

/* Network-specific colors */
.share-btn.facebook {
  background-color: #1877f2;
  color: white;
}

.share-btn.facebook:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
}

.share-btn.twitter {
  background-color: #1da1f2;
  color: white;
}

.share-btn.twitter:hover {
  background-color: #1a91da;
  transform: translateY(-2px);
}

.share-btn.linkedin {
  background-color: #0077b5;
  color: white;
}

.share-btn.linkedin:hover {
  background-color: #006396;
  transform: translateY(-2px);
}

.share-btn.reddit {
  background-color: #ff4500;
  color: white;
}

.share-btn.reddit:hover {
  background-color: #e03d00;
  transform: translateY(-2px);
}

.share-btn.email {
  background-color: #34495e;
  color: white;
}

.share-btn.email:hover {
  background-color: #2c3e50;
  transform: translateY(-2px);
}

.share-btn.copy-link {
  background-color: #95a5a6;
  color: white;
}

.share-btn.copy-link:hover {
  background-color: #7f8c8d;
  transform: translateY(-2px);
}

.share-btn.copy-link.copied {
  background-color: #27ae60;
}

/* Compact style */
.share-compact .share-buttons {
  gap: 4px;
}

.share-compact .share-btn {
  width: 30px;
  height: 30px;
  font-size: 12px;
  border-radius: 50%;
}

/* Floating social share */
.social-share-floating {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.social-share-floating.visible {
  opacity: 1;
  visibility: visible;
}

.floating-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-share-buttons .share-btn {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.floating-share-buttons .share-count {
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
  .social-share-floating {
    display: none;
  }

  .share-detailed .share-btn .share-text {
    display: none;
  }

  .share-detailed .share-btn {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .share-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .share-buttons {
    gap: 6px;
  }

  .share-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
}

/* Animation for copy link success */
@keyframes copySuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.share-btn.copy-link.copied {
  animation: copySuccess 0.5s ease;
}

/* Integration with existing theme */
.blog-details-content .social-share {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 0;
  margin: 30px 0;
}

.news-block-two .social-share {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar integration */
.sidebar .social-share {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.sidebar .social-share .share-label {
  color: #2b3132;
  margin-bottom: 15px;
}
