/* 3D CAD (/3dcad) — the 「DXF 삽입」 dialog (c3/dxf): the file row and the layer list. */

.c3-dxf-file {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.c3-dxf-choose {
  flex: none;
  height: 24px;
  padding: 0 10px;
}

.c3-dxf-name {
  min-width: 0;
  overflow: hidden;
  color: var(--c3-text-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c3-dxf-name.is-loading {
  color: var(--c3-accent-dark);
}

.c3-dxf-layers {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-height: 132px;
  overflow-y: auto;
  padding: 2px 0;
}

.c3-dxf-layer {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  padding: 0 2px;
  border-radius: var(--c3-radius);
  cursor: pointer;
}

.c3-dxf-layer:hover {
  background: var(--c3-hover);
}

.c3-dxf-layer.is-off .c3-dxf-layer-name {
  color: var(--c3-text-faint);
}

.c3-dxf-layer-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c3-dxf-layer-count {
  flex: none;
  color: var(--c3-text-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
