/**
 * Composant de badge pour afficher le statut de vérification de l'email
 * T0190: Badge affichant si l'email est vérifié ou non
 */
interface EmailVerificationBadgeProps {
  verified: boolean;
}

export function EmailVerificationBadge({
  verified,
}: EmailVerificationBadgeProps) {
  if (verified) {
    return (
      <span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200">
        ✓ Email Verified
      </span>
    );
  }

  return (
    <span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200">
      ⚠ Email Not Verified
    </span>
  );
}
