.list {
  --border-color: transparent;

  position: relative;
  margin: unset;
  padding: unset;
  list-style: none;

  .icon,
  .typography {
    margin-bottom: 0;
  }
}

.list--columns {
  columns: 320px;
  column-gap: 24px; // TODO: Missing token
}

.list--columns-dense {
  columns: 160px;
  column-gap: 24px; // TODO: Missing token
}

.list__item {
  --gap: 8px; // TODO: Missing token
  --min-height: 44px;
  --align-items: flex-start;

  display: flex;
  gap: var(--gap);
  align-items: var(--align-items);

  min-height: var(--min-height);
  padding-top: 4px; // TODO: Missing token
  padding-bottom: 3px; // TODO: Missing token

  text-align: left;

  border-bottom: 1px solid var(--border-color);
}

.list__basicItem {
  display: list-item;
  margin-left: 1.75em;
  text-align: left;
  list-style-type: disc;
}

.list__item--divider {
  --border-color: rgb(var(--border--neutral-low-default--light));
}

.list__itemIcon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 16px;
  height: 16px;
  margin-bottom: var(--margin--xxs);

  .icon {
    flex-shrink: 0;
  }
}

.list__itemContent {
  overflow: hidden;
  display: flex;
  flex: 1 1 0px;
  flex-direction: column;
}

.list__itemValue {
  display: flex;
  flex: 0;
  gap: 4px; // TODO: Missing token

  .list__itemValueContent {
    flex: 1 1 0px;
  }
}

.list__item--ellipsis {
  .typography,
  .list__itemValueContent {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.list__item--dense {
  --min-height: auto;
}

.list__item--alignTop {
  --align-items: flex-start;
}

.list__item--alignCenter {
  --align-items: center;
}

.list__item--alignBottom {
  --align-items: flex-end;
}
