.containerWrapper {
  position: relative;
  overflow: hidden;

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--Space-x3);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;

    &.showLeftShadow::before,
    &.showRightShadow::after {
      opacity: 1;
    }
  }

  &::before {
    left: 0;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0.1) 6%, #fff 90%);
  }
  &::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 6%, #fff 90%);
  }
}

.container {
  display: flex;
  gap: var(--Space-x1);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  position: relative;
  width: 100%;
}

.filter {
  display: flex;
  align-items: center;
  gap: var(--Space-x1);
  background-color: transparent;
  border: 1px solid var(--Border-Interactive-Selected);
  border-radius: var(--Corner-radius-rounded);
  padding: var(--Space-x1) var(--Space-x2);
  transition: all 0.2s ease-in-out;
  scroll-snap-align: start;
  flex-shrink: 0;
  cursor: pointer;
  color: var(--Text-Default);
}

.filter.selected {
  border-color: transparent;
  background-color: var(--Base-Button-Tertiary-Fill-Normal);
  color: var(--Text-Inverted);
}
