.toolbox-button-bar {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.toolbox-button-bar,
.toolbox-button-bar * {
  box-sizing: border-box;
}

.toolbox-button-bar__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  color: #111827;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.toolbox-button-bar__button:hover,
.toolbox-button-bar__button:focus-visible {
  border-color: rgba(20, 118, 225, 0.46);
  box-shadow: 0 10px 28px rgba(20, 118, 225, 0.24);
  outline: none;
  transform: translateX(-4px);
}

.toolbox-button-bar__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.toolbox-button-bar__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #111827;
  color: #ffffff;
  font: 600 12px/1.2 Arial, Helvetica, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.toolbox-button-bar__button:hover .toolbox-button-bar__label,
.toolbox-button-bar__button:focus-visible .toolbox-button-bar__label {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 640px) {
  .toolbox-button-bar {
    right: 10px;
    gap: 8px;
  }

  .toolbox-button-bar__button {
    width: 42px;
    height: 42px;
  }

  .toolbox-button-bar__icon {
    width: 23px;
    height: 23px;
  }

  .toolbox-button-bar__label {
    display: none;
  }
}
