/* Share trigger + popover panel — see sharing-pill.js */

.report-share {
  position: relative;
  margin: 1.5rem 0 1rem;
  display: flex;
  justify-content: center;
}

.share-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy-mid, #2c5d92);
  color: #fff;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}
.share-trigger:hover { background: var(--navy-dark, #1a4673); }

.share-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  z-index: 100;
  white-space: nowrap;
}

.share-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  color: #444;
  font: inherit;
  font-size: 0.85rem;
  text-decoration: none;
}
.share-action:hover { background: #f0f0f0; border-color: #ddd; color: #111; }
.share-action .share-icon { display: inline-flex; align-items: center; }
.share-action .share-icon svg { width: 14px; height: 14px; display: block; }

@media (max-width: 600px) {
  .share-panel {
    position: fixed;
    top: auto;
    bottom: 14px;
    left: 12px;
    right: 12px;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .share-action { padding: 6px 10px; font-size: 0.78rem; }
}
