export function PermLegend() {
  return (
    <div
      className="flex items-center gap-3 px-4 py-1.5 border-b border-stroke bg-bg-surface text-caption text-fg-disabled font-korean"
      style={{ flexShrink: 0 }}
    >
      <span className="flex items-center gap-1">
        <span className="inline-block w-3 h-3 rounded border bg-[rgba(6,182,212,0.2)] border-color-accent text-color-accent text-center text-caption leading-3">
          ✓
        </span>
        허용
      </span>
      <span className="flex items-center gap-1">
        <span className="inline-block w-3 h-3 rounded border bg-[rgba(6,182,212,0.08)] border-[rgba(6,182,212,0.3)] text-[rgba(6,182,212,0.5)] text-center text-caption leading-3">
          ✓
        </span>
        상속
      </span>
      <span className="flex items-center gap-1">
        <span className="inline-block w-3 h-3 rounded border bg-[rgba(239,68,68,0.08)] border-[rgba(239,68,68,0.3)] text-color-danger text-center text-caption leading-3">
          —
        </span>
        거부
      </span>
      <span className="flex items-center gap-1">
        <span className="inline-block w-3 h-3 rounded border bg-bg-elevated border-stroke text-fg-disabled opacity-40 text-center text-caption leading-3">
          —
        </span>
        비활성
      </span>
      <span className="ml-2 border-l border-stroke pl-2 text-fg-disabled">
        R=조회 C=생성 U=수정 D=삭제
      </span>
    </div>
  );
}
