/* === CargoList Component === */
.container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(26, 39, 68, 0.4);
  border-left: 2px solid var(--hull-grey);
  border-radius: 0 3px 3px 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.item:hover {
  background: rgba(26, 39, 68, 0.7);
  border-color: var(--plasma-cyan);
}

.itemIcon {
  color: var(--chrome-silver);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.itemName {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--star-white);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itemQuantity {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--plasma-cyan);
  font-weight: 600;
  flex-shrink: 0;
}

.itemSize {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--hull-grey);
  flex-shrink: 0;
}

/* Compact mode */
.compact .item {
  padding: 0.25rem 0.4rem;
  gap: 0.35rem;
}

.compact .itemName {
  font-size: 0.75rem;
}

.compact .itemQuantity {
  font-size: 0.75rem;
}

.compact .itemSize {
  font-size: 0.75rem;
}

/* Empty state */
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  color: var(--hull-grey);
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-style: italic;
}

.emptyIcon {
  display: flex;
  align-items: center;
  color: var(--hull-grey);
}
