/**
 * 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-success/20 text-success">
        ✓ Email Verified
      </span>
    );
  }

  return (
    <span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-warning/20 text-warning">
      ⚠ Email Not Verified
    </span>
  );
}
