@use "../../styles/colors" as colors;
@use "../../styles/shadows" as shadows;

// Mirrors Angular `scroll-up-button`: a 40×40 circular button pinned
// at right: 30px / bottom: 80px, filled with $extra-blue and a thin
// blue-extra-light ring. Original React values (48×48, right/bottom:
// 40px, $blue-light) diverged enough to fail visual-parity checks.
.scroll-up-button {
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 2000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid colors.$blue-extra-light;
  background-color: colors.$extra-blue;
  color: colors.$white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  @include shadows.box-shadow-small;
  transition: background-color 0.2s, opacity 0.2s;

  svg {
    width: 16px;
    height: 16px;
  }
}
