.einsa-social-sidebar {
  position: fixed;
  z-index: 1010;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  height: max-content;
  margin-block: auto;
  display: grid;
  padding-block: 4px;
  border-radius: 10px 0 0 10px;
  background: var(--brand-primary-color, #2271b1);
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

.einsa-social-sidebar__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand-primary-color-text, #fff);
  border-radius: 6px 0 0 6px;
}

.einsa-social-sidebar__icon:hover,
.einsa-social-sidebar__icon[aria-expanded="true"] {
  background: var(--brand-secondary-color, #3c434a);
  color: var(--brand-secondary-color-text, #fff);
}

.einsa-social-sidebar__icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.einsa-social-sidebar__icon svg {
  width: 23px;
  height: 23px;
}

.einsa-social-sidebar__panel {
  position: absolute;
  inset-inline-end: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(100vw - 64px);
  max-height: 90vh;
  overflow: auto;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgb(0 0 0 / 25%);
  text-align: center;
}

.einsa-social-sidebar__panel[hidden] {
  display: none;
}

.einsa-social-sidebar__panel a {
  display: grid;
  justify-items: center;
  padding: 4px;
  color: var(--brand-secondary-color, #3c434a);
}

.einsa-social-sidebar__panel canvas {
  display: block;
  width: min(212px, 100%);
  height: auto;
  image-rendering: pixelated;
}
