.share-button__container details {
  position: relative;
}

.share-button__button {
  display: flex;
  align-items: center;
}

.share-button__button svg {
  margin-right: 2px;
}

.share-button__fallback {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  position: absolute;
  top: 36px;
  left: 0;
  z-index: 3;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(var(--color-text), 0.12);
  background-color: rgb(var(--color-page-background));
  width: max-content;
  min-width: 200px;
}

.share-button__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.share-button__social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--color-text));
  transition: transform 150ms ease;
}

.share-button__social-item:hover {
  transform: translateY(-2px);
}

.share-button__social-item svg {
  width: 30px;
  height: 30px;
}

.share-button__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 42px;
}

.share-button__copy svg {
  width: 16px;
  height: 16px;
}

.share-button__copy-feedback {
  text-align: center;
  color: #25a35a;
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
