"use client";

import Link from "next/link";

export default function PrintToolbar() {
  return (
    <div className="mb-4 flex flex-wrap items-center justify-between gap-2 print:hidden">
      <Link href="/dashboard" className="rounded-pill border border-benell-stroke bg-white px-3 py-2 text-sm font-semibold text-benell-text">
        Volver al dashboard
      </Link>
      <button
        type="button"
        onClick={() => window.print()}
        className="rounded-pill bg-benell-brown px-3 py-2 text-sm font-semibold text-white"
      >
        Guardar como PDF
      </button>
    </div>
  );
}
