/**
 * 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-kodo-lime/20 text-kodo-lime dark:bg-kodo-lime/20 dark:text-kodo-lime">
        ✓ Email Verified
      </span>
    );
  }

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