.label {
  align-self: flex-start;
  background-color: var(--Base-Surface-Primary-light-Normal);
  border: 1px solid var(--Base-Border-Subtle);
  border-radius: var(--Corner-radius-Large);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: var(--Spacing-x-one-and-half) var(--Spacing-x2);
  transition: all 200ms ease;
  width: min(100%, 600px);
}

.label:hover {
  background-color: var(--Base-Surface-Secondary-light-Hover);
}

.label:has(:checked) {
  background-color: var(--Primary-Light-Surface-Normal);
  border-color: var(--Base-Border-Hover);
}

.icon {
  align-self: center;
  grid-column: 2/3;
  grid-row: 1/3;
  justify-self: flex-end;
  transition: fill 200ms ease;
}

.label:hover .icon,
.label:hover .icon *,
.label:has(:checked) .icon,
.label:has(:checked) .icon * {
  fill: var(--Base-Text-Medium-contrast);
}

.label[data-declined="true"]:hover .icon,
.label[data-declined="true"]:hover .icon *,
.label[data-declined="true"]:has(:checked) .icon,
.label[data-declined="true"]:has(:checked) .icon * {
  fill: var(--Base-Text-Disabled);
}

.subtitle {
  grid-column: 1 / 2;
  grid-row: 2;
}

.title {
  grid-column: 1 / 2;
}

.label .text {
  margin-top: var(--Spacing-x1);
  grid-column: 1/-1;
}

.listItem {
  align-items: center;
  display: flex;
  gap: var(--Spacing-x-quarter);
  grid-column: 1/-1;
}

.listItem:first-of-type {
  margin-top: var(--Spacing-x1);
}

.listItem:nth-of-type(n + 2) {
  margin-top: var(--Spacing-x-quarter);
}

.highlight {
  color: var(--Scandic-Brand-Scandic-Red);
}
