.sharediv {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10;
}

.sharebutton,
sharebutton {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  height: 48px !important;
  width: 48px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  /* Frosted glass effect for dark background */
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.sharebutton:hover,
sharebutton:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05) !important;
}

.share-icon {
  padding: 0 !important;
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) invert(1) !important;
  /* Ensure it's white to match text */
}

/* Hide text inside share button to keep it just an icon */
.sharebutton-mb {
  display: none !important;
}

/* Base toast styles kept mostly intact but hidden successfully */
.toastdiv {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toastbox {
  width: 280px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  position: fixed;
  top: 105%;
  transition: transform 0.3s linear;
  z-index: 999;
  text-align: center;
}

.toastbox.toast-tox--active {
  transform: translateY(-150px);
}