.wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.wrap:hover {
  border-color: var(--text-muted);
}

.dragOver {
  border-color: var(--amber);
  background: var(--amber-bg);
}

.icon {
  color: var(--text-faint);
  flex-shrink: 0;
  line-height: 0;
}

.label {
  font-family: var(--font-body);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.placeholder {
  color: var(--text-faint);
}

.fileName {
  color: var(--text-primary);
}

.clearBtn {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0;
  transition: color 0.1s, background 0.1s;
}

.clearBtn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
