.outerContainer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  gap: 4px;
}

.commandRail {
  display: grid;
  grid-template-columns: min-content 24px min-content;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(19, 60, 70, 0.12);
  box-shadow: 0 10px 26px rgba(19, 60, 70, 0.16);
}

.commandConnector {
  width: 24px;
  height: 4px;
  background: rgb(244, 218, 97);
  border-radius: 99px;
  transform: translateY(7px);
}

.carouselBody {
  width: 68px;
  height: 232px;
  border: 2px solid rgb(55, 171, 200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  background: rgba(198, 234, 239, 0.58);
  position: relative;
  overflow: hidden;
}

.scrollContainer {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
  display: flex;
  row-gap: 10px;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollContainer::-webkit-scrollbar {
  display: none;
}

.carouselItem {
  width: 100%;
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  flex: 0 0 auto;
  opacity: 0.52;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.carouselItemSelected {
  opacity: 1;
  transform: scale(1.05);
}

.staticBlockItem {
  display: grid;
  place-items: center;
  width: 84px;
  height: 68px;
  background: transparent;
  border: 0;
  overflow: visible;
}

.staticBlockItemIcon {
  width: 78px;
  height: auto;
  display: block;
  transform: translateY(7px);
}

.carouselItemIcon {
  height: 4vw;
  width: 4vw;
  max-width: 80px;
  max-height: 80px;
  min-width: 50px;
  min-height: 50px;
}

.downArrowContainer,
.upArrowContainer {
  cursor: pointer;
  user-select: none;
  width: 52px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 12px rgba(19, 60, 70, 0.12);
  transition: transform 0.16s ease, background 0.16s ease;
}

.downArrowContainer:hover,
.upArrowContainer:hover {
  background: white;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .commandRail {
    grid-template-columns: min-content 18px min-content;
    padding: 6px;
  }

  .commandConnector {
    width: 18px;
  }

  .carouselBody {
    width: 60px;
    height: 210px;
  }

  .staticBlockItem {
    width: 74px;
    height: 60px;
  }

  .staticBlockItemIcon {
    width: 68px;
  }
}
