.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  color: #111827;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}

/* Hover/focus on the button container */
.share-btn:hover,
.share-btn:focus {
  color: var(--global-color-button-h);
  background: #e5eeff;
  border: 1px solid #e5eeff;
}

/* Make SVG follow the button color */
.share-btn svg path {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.share-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 1000;
  min-width: 140px;
}

.share-popup a {
  display: block;
  font-size: 16px;
  padding: 6px 10px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.share-popup a:hover {
  background: #f0f0f0;
}
