/*share*/
.shareBtnContainer.share-active *:hover {
  opacity: 1;
}
.share-overlay > a {
  width: 1.1rem;
}
.shareBtnContainer.share-active .share-icon {
  display: none;
  opacity: 0;
  transition: all 0.15s ease-out;
}

.share-close-button {
  display: none;
}
.share-close-button i {
  color: var(--primary-color);
  font-size: 1.5rem;
}
/* flip icon in ar page */
html[dir="rtl"] .share-icon-ar {
  transform: scaleX(-1);
}
.shareBtnContainer.share-active .share-close-button {
  transition: all 0.15s ease-out;
  display: flex;
  padding: 0;
  font-size: 0.9rem;

  border-radius: 100%;
  background: var(--redColor);
  color: var(--white) !important;
  opacity: 1;
}
.share-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.share-active {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.share-active .share-button {
  display: none;
}
html[dir="rtl"] .share-button.btn {
  flex-direction: row-reverse;
}
.share-overlay {
  display: none !important;
}
.share-active .share-overlay {
  display: flex !important;
}
.arabic-version .share-active .share-overlay {
  margin-inline-end: 45px;
  margin-inline-start: unset;
}


.share-overlay a {
  text-decoration: none;
  color: var(--primary-color);
  z-index: 10;
  display: flex;
}
.share-overlay a:hover {
  color: var(--primary-color);
}
.shareBtnContainer .share-overlay i {
  font-size: 1.5rem;
  color: var(--primary-color);
}
.share-button.btn {
  color: var(--primary-color);
}
.share-overlay > a {
  width: 2rem;
}

/* RTL adjustments for Arabic pages */
html[dir="rtl"] .share-overlay {
  flex-direction: row-reverse;
}

html[dir="rtl"] .arabic-version .share-active .share-overlay {
  margin-inline-start: 45px;
  margin-inline-end: unset;
}