.awim-share {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  font-family: inherit;
}

.awim-share__toggle {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 8px 0 0 8px;
  background: var(--awim-share-accent, #581664);
  color: var(--awim-share-icon-color, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
  transition: width 0.15s ease;
}

.awim-share__toggle:hover,
.awim-share__toggle:focus-visible {
  width: 52px;
  outline: none;
}

.awim-share__panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 0;
  overflow: hidden;
  background: var(--awim-share-panel-bg, #fff);
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.12);
  transition: max-width 0.2s ease, padding 0.2s ease;
  padding: 0;
}

.awim-share.is-open .awim-share__panel {
  max-width: 220px;
  padding: 10px 8px;
}

.awim-share__link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #2c2c2a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.awim-share__link:hover,
.awim-share__link:focus-visible {
  background: #f1eef4;
  color: var(--awim-share-accent, #581664);
  outline: none;
}

.awim-share__link--copy.is-copied {
  color: #1d9e75;
}

@media (max-width: 600px) {
  .awim-share__toggle {
    width: 42px;
    height: 42px;
  }

  .awim-share.is-open .awim-share__panel {
    max-width: 180px;
  }

  .awim-share__link {
    width: 32px;
    height: 32px;
  }
}
