/* Share functionality styles */
#sharePopupContainer {
  left: 50%; /* Center horizontally */
  transform: translateX(
    calc(-50% + 77px)
  ); /* Center horizontally and adjust for button width */
  display: flex; /* Force display flex to ensure share icons appear */
  z-index: 1001; /* Ensure it appears above other elements */
}

#sharePopupContainer {
  top: 33px;
  left: 50%; /* Center horizontally */
  transform: translateX(
    calc(-50% + 77px)
  ); /* Center horizontally and adjust for button width */
  display: flex; /* Force display flex to ensure share icons appear */
  z-index: 1001; /* Ensure it appears above other elements */
}

#sharePopupContainer {
  top: 26px;
  left: 123px; /* Position under share button (button width + gap) */
  width: 384px; /* Increased width to fit all icons */
  height: 45px;
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffcf25; /* Changed background to #FFCF25 */
}

.share-icons-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%; /* Take full width */
  display: flex !important; /* Force display flex */
  opacity: 1 !important; /* Ensure visibility */
  visibility: visible !important;
}

.share-icon-wrapper {
  position: relative;
  cursor: pointer;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background-color: rgba(245, 222, 36, 0.9); /* #F5DE24 with 0.9 opacity */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.share-icon-wrapper:hover {
  transform: scale(1.1);
  /* Removed background-color change to keep it consistent */
}

.share-icon {
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
  filter: invert(48%) sepia(13%) saturate(1019%) hue-rotate(356deg)
    brightness(91%) contrast(86%); /* #90773c */
}

.share-icon-wrapper:hover .share-icon {
  filter: brightness(0) saturate(100%) invert(100%); /* White on hover */
}

.share-icon-wrapper .hover-text {
  display: none; /* Hide the title */
}

#sharePopupContainer {
  width: 384px; /* Increased width to fit all icons */
  height: 45px;
  padding: 8px 12px;
}

.share-icons-container {
  display: flex;
  gap: 10px; /* Reduced from 15px to fit more icons */
  justify-content: center;
  align-items: center;
  width: 100%;
}
