/* The bin: the icon first in each row, before the name of the item, at the size of an entry icon, in the colour of
   its family (src/entry-icon.tsx); the label of a format in the colour of the surface the bin is on. Shared tokens
   and layout words only, on the root of the bin (packages/components/src/styles.ts). */
.bin .entry-name {
  display: inline-flex;
  align-items: center;
  gap: var(--nw-space-8);
}

/* The icon is 16 px by its own width and height, grown to the size of an entry icon. A minimum, not a size: on a
   page without that token, a size would fall to auto and fill the row, a minimum to none (review RF-19). */
.bin .entry-icon {
  min-inline-size: var(--nw-size-icon-entry);
  min-block-size: var(--nw-size-icon-entry);
  flex-shrink: 0;
}

.bin .entry-icon text {
  fill: var(--nw-color-surface);
}

.bin .entry-icon-folder {
  color: var(--nw-color-format-folder);
}

.bin .entry-icon-document {
  color: var(--nw-color-format-document);
}

.bin .entry-icon-pdf {
  color: var(--nw-color-format-pdf);
}

.bin .entry-icon-text {
  color: var(--nw-color-format-text);
}

.bin .entry-icon-spreadsheet {
  color: var(--nw-color-format-spreadsheet);
}

.bin .entry-icon-presentation {
  color: var(--nw-color-format-presentation);
}

.bin .entry-icon-picture {
  color: var(--nw-color-format-picture);
}

.bin .entry-icon-mail {
  color: var(--nw-color-format-mail);
}

.bin .entry-icon-archive {
  color: var(--nw-color-format-archive);
}

.bin .entry-icon-audio {
  color: var(--nw-color-format-audio);
}

.bin .entry-icon-video {
  color: var(--nw-color-format-video);
}

.bin .entry-icon-plain {
  color: var(--nw-color-format-plain);
}
