'use client';

import SummaryCards from '@/components/Dashboard/doctor/DoctorSummaryCards';
import DoctorProfile from '@/components/Dashboard/doctor/DoctorProfile';
import { useAuthStore } from '@/stores/authStore';

export default function DoctorDashboard() {
  const user = useAuthStore((state) => state.user);

  return (
    <main className="p-4 space-y-6">
      {!user?.profile?.isVerified && (
        <div className="bg-yellow-100 text-yellow-800 border border-yellow-300 p-4 rounded text-center">
          <p className="text-sm font-medium">
            Your profile is not yet verified. Please update your profile with the required information to be verified and access all features.
          </p>
        </div>
      )}
      <SummaryCards />
      <DoctorProfile />
    </main>
  );
}
