'use client';

import { DoctorRegistrationForm } from '@/components/forms/doctor-registration-form';

export default function NovoMedicoPage() {
  return (
    <div className="space-y-6">
      <div className="flex items-center gap-4">
        <h1 className="text-2xl font-bold">Novo médico</h1>
      </div>

      <DoctorRegistrationForm
        inline
        mode="create"
        onSaved={(p) => {
          console.log("Saved", p);
        }}
        onClose={() => {
          // In a real app, you'd likely redirect
          window.history.back();
        }}
      />
    </div>
  );
}
