/* ============ SHARE ICON DESIGN ============ */
.share-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  z-index: 1;
}


.share-icon img {
  width: 16px !important;        /* consistent icon size */
  height: 16px !important;
  display: block;
  object-fit: contain;
}

.share-icon:hover {
  transform: scale(1.08);
  background: #fff;
}

/* ============ SHARE POPUP BOX ============ */
.share-popup {
  position: absolute;
  top: 46px;           /* Just below the share icon */
  right: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: none;       /* Hidden until user clicks */
  flex-direction: column;
  min-width: 150px;
  z-index: 10;
 overflow: hidden;
  padding: 4px 0;
}

/* Each button inside popup */
.share-popup button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

.share-popup button:hover {
  background: #f3f3f3;
}

/* ================= FIX ICONS INSIDE POPUP ================= */
.share-popup button img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  display: inline-block;
}


/* Optional smooth animation */
.share-popup.show {
  display: flex !important;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
