.share-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}

.share-popup {
  background: #fff;
  width: 400px;
  max-width: 95%;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.share-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.share-popup-title {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: bold;
}

.share-section {
  margin-bottom: 20px;
}

.share-section-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
}

/* External links horizontal scroll */
.share-external-links {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.share-external-links::-webkit-scrollbar {
  height: 6px;
}
.share-external-links::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.share-external-links a,
.share-link-btn {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f1f1f1;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}
.share-external-links a:hover {
  background: #e1e1e1;
}

/* Followers grid */
.share-followers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding: 5px;
}

.share-follower {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.share-follower-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.share-follower-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}

.share-follower-name {
  font-size: 12px;
  color: #222;
  font-weight: 500;
  word-break: break-word;
}

.share-follower button {
  padding: 4px 8px;
  background: #007bff;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.share-follower button:hover {
  background: #0056b3;
}
