icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  position: relative;
  background: transparent;


  svg {
    pointer-events: none;
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--color-ui-1);
  }
}

icon-button:hover {
  background: var(--color-ui-3)
}

icon-button:hover:before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: calc(50% - 0.25rem);
  width: 0;
  height: 0;
  border-left: 0.25rem solid transparent;
  border-right: 0.25rem solid transparent;
  border-top: 0.5rem solid var(--color-brand-dark);
}

icon-button:hover:after {
  content: attr(aria-label);
  text-align: center;
  position: absolute;
  top: -1.6rem;
  background: var(--color-brand-dark);
  color: var(--color-ui-4);
  border-radius: 0.25rem;
  white-space: nowrap;
  padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}

icon-button:active {
  background: var(--color-ui-2);
}

icon-button[aria-disabled="true"] {
  pointer-events: none;
  background: var(--color-ui-3-30);
}

icon-button:focus {
  box-shadow: 0 0 0 0.25rem var(--color-focus-80);
}