.select-box {
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
}

.select-box > * {
  box-sizing: border-box;
}

.select-box .options-container {
  max-height: 0;
  width: fit-content;
  opacity: 0;
  transition: all 0.4s;
  overflow: hidden;
  border-radius: 5px;
  background-color: var(--btn-secondary);
  order: 1;
  position: absolute;
  top: 48px;
  right: 0;
}

.select-box .option .item {
  color: #afb5dd;
}

.select-box .lang {
  width: 1.3rem;
  height: 1rem;
  margin-right: .2rem;
  display: inline-block;
}

.select-box .options-container.active {
  max-height: 240px;
  opacity: 1;
  overflow-y: auto;
}

.select-box .options-container.active + .locale-dropdown-toggle::after {
  transform: translateY(-50%) rotateX(180deg);
}

.select-box .options-container::-webkit-scrollbar {
  width: 8px;
  background: var(--btn-secondary);
  border-radius: 0 5px 5px 0;
}

.select-box .options-container::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border-radius: 0 5px 5px 0;
}
.select-box .option {
  padding: 12px 15px;
  cursor: pointer;
}

.select-box .option:hover {
  background: #2f345b;
}
.select-box .option:hover .item {
  color: white;
}

.select-box label {
  cursor: pointer;
}

.select-box .option .radio {
  display: none;
}
