.container {
  position: relative;
}

.select {
  border: 1px solid var(--Base-Border-Normal);
  border-radius: var(--Corner-radius-Medium);
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x-half);
}

.select[data-focused="true"],
.select[data-focused="true"].discreet {
  border: 1px solid var(--Scandic-Blue-90);
  outline: none;
}

.select.discreet {
  border: 1px solid transparent;
}

.select.discreet .input {
  background-color: unset;
  color: var(--Base-Text-High-contrast);
  gap: var(--Spacing-x1);
}

.select.discreet .inputContentWrapper {
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  font-weight: 500;
}

.input {
  align-items: center;
  background-color: var(--UI-Opacity-White-100);
  border: none;
  border-radius: var(--Corner-radius-Medium);
  color: var(--UI-Text-High-contrast);
  display: flex;
  gap: var(--Spacing-x-half);
  height: 60px;
  outline: none;
  padding: var(--Spacing-x-one-and-half) var(--Spacing-x2);
  text-align: left;
}

.inputContentWrapper {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x-half);
  flex: 1 0 0;
}

.popover {
  background-color: var(--Main-Grey-White);
  border-radius: var(--Corner-radius-Medium);
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  flex-direction: column;
  gap: var(--Spacing-x1);
  overflow: auto;
  width: 100%;
}

.listBox {
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x1);
  padding: var(--Spacing-x2);
}

.listBoxItem {
  padding: var(--Spacing-x1);
}

.listBoxItem[data-focused="true"],
.listBoxItem[data-selected="true"] {
  background: var(--UI-Input-Controls-Surface-Hover);
  border-radius: var(--Corner-radius-Medium,);
  outline: none;
}

.listBoxItem.showRadioButton {
  display: flex;
  align-items: center;
}

.listBoxItem.showRadioButton:before {
  flex-shrink: 0;
  content: "";
  margin-right: var(--Spacing-x-one-and-half);
  background-color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--Base-Border-Normal);
}

.listBoxItem[data-selected="true"].showRadioButton:before {
  box-shadow: inset 0 0 0 8px var(--UI-Input-Controls-Fill-Selected);
}
