export function Loading({ text = '加载中...' }: { text?: string }) {
  return (
    <div className="flex items-center justify-center gap-2 px-4 py-12 text-sm text-[var(--text-muted)]">
      <span className="inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-[var(--border-hover)] border-t-[var(--text-secondary)]" />
      {text}
    </div>
  )
}
