/* Snowdrift V3 share button */

.share-icon {
  padding: 0 8px 3.5px 0;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  color: #ffffff !important;
  fill: #ffffff !important;
  filter:
    drop-shadow(0 1px 1px rgba(13, 34, 52, 0.82))
    drop-shadow(0 2px 4px rgba(13, 34, 52, 0.48)) !important;
}

.sharediv {
  position: relative;
  z-index: 3;
  top: 28px;
  right: 28px;
  padding-bottom: 40px;
}

.toastdiv {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toastbox {
  width: min(300px, 88vw);
  padding: 11px 14px;
  background-color: rgba(29, 54, 74, 0.84);
  color: white;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  position: fixed;
  top: 105%;
  transition: transform 0.3s ease;
  z-index: 10;
  text-align: center;
  box-shadow: 0 18px 44px rgba(18, 43, 70, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.sharebutton,
sharebutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  color: #213c55 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,252,.94)) !important;
  box-shadow:
    0 18px 38px rgba(22, 47, 78, 0.23),
    0 5px 13px rgba(22, 47, 78, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.sharebutton:hover,
sharebutton:hover,
.sharebutton:focus-visible,
sharebutton:focus-visible {
  color: #173149 !important;
  transform: translateY(-1px) scale(1.003) !important;
  box-shadow:
    0 20px 42px rgba(22, 47, 78, 0.25),
    0 6px 15px rgba(22, 47, 78, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

@media screen and (min-width: 600px) {
  .sharebutton,
  sharebutton { width: 150px; }
}

@media screen and (max-width: 600px) {
  .sharebutton-mb { display: none; }
  .sharebutton-img {
    position: relative;
    left: 3px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toastbox,
  .sharebutton,
  sharebutton { transition: none; }
  .sharebutton:hover,
  sharebutton:hover,
  .sharebutton:focus-visible,
  sharebutton:focus-visible { transform: none !important; }
}
