@php $safeName = e($recipientName ?? __('emails.otp.fallback_name')); $heroName = ''.$safeName.''; $otpCode = (string) ($otp ?? ''); $otpChunks = trim(chunk_split($otpCode, 1, ' ')); $expiresLabel = trans_choice('emails.otp.expires_in', max(1, (int) $expiryMinutes), [ 'minutes' => max(1, (int) $expiryMinutes), ]); $expiresFallback = $expiresLabel ?: __('emails.otp.expires_fallback'); $verifyUrl = url('/admin/verify-otp'); $themePrimary = $themePrimary ?? '#4f46e5'; $themePrimaryLight = $themePrimaryLight ?? '#818cf8'; $themePrimaryDark = $themePrimaryDark ?? '#312e81'; $themePrimaryShadow = $themePrimaryShadow ?? 'rgba(79,70,229,0.25)'; @endphp