

<?php $__env->startSection('content'); ?>
<div class="container">
    <h2>Your 12-Word Recovery Phrase</h2>

    <div id="recoveryPhrase" class="grid grid-cols-3 gap-2 p-4 bg-gray-200 dark:bg-dark-700 rounded-md text-center">
        <?php $__currentLoopData = explode(' ', auth()->user()->recovery_phrase); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $word): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="px-3 py-2 bg-white dark:bg-dark-800 rounded-md"><?php echo e($word); ?></div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

    <button onclick="copyRecoveryPhrase()" 
            class="mt-4 px-4 py-2 bg-yellow-500 text-black rounded-md hover:bg-yellow-600">
        Copy Phrase
    </button>

    <p class="mt-4 text-red-600 dark:text-red-400">
        ⚠️ Store this phrase safely. Do not share it.
    </p>
</div>

<script>
function copyRecoveryPhrase() {
    const phrase = document.getElementById('recoveryPhrase').innerText.replace(/\s+/g, ' ').trim();
    navigator.clipboard.writeText(phrase).then(() => {
        alert('Recovery phrase copied to clipboard!');
    });
}
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.user.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/quantumv/Qfselitevault.com/resources/views/user/recovery-phrase.blade.php ENDPATH**/ ?>