interface TimerProps {
  seconds?: number
}

export function Timer({ seconds = 0 }: TimerProps) {
  const mins = Math.floor(seconds / 60)
  const secs = seconds % 60

  return (
    <div className="font-mono text-lg font-semibold tabular-nums">
      {String(mins).padStart(2, "0")}:{String(secs).padStart(2, "0")}
    </div>
  )
}
