<?php $__env->startSection('content'); ?>
    <p class="text-center text-foreground">
        <?php echo e(__('Enter the 8-digit verification code sent to your email and SMS to activate your account.')); ?>

    </p>

    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(session('status') == 'verification-link-sent'): ?>
        <p class="text-center text-sm font-medium text-primary">
            <?php echo e(__('A new verification code has been sent to your email and SMS.')); ?>

        </p>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(session('status') == 'verification-code-verified'): ?>
        <p class="text-center text-sm font-medium text-primary">
            <?php echo e(__('Verification successful. Redirecting to your dashboard...')); ?>

        </p>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

    <div class="flex flex-col items-center gap-3">
        <form method="POST" action="<?php echo e(route('verification.code.verify')); ?>" class="w-full flex flex-col gap-2">
            <?php echo csrf_field(); ?>
            <label for="verification_code" class="text-sm text-muted-foreground"><?php echo e(__('Verification Code')); ?></label>
            <input
                id="verification_code"
                name="verification_code"
                type="text"
                inputmode="numeric"
                maxlength="8"
                value="<?php echo e(old('verification_code')); ?>"
                class="w-full rounded-lg border border-border bg-background px-3 py-2 text-foreground"
                placeholder="<?php echo e(__('Enter 8-digit code')); ?>"
                required
            />
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['verification_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <p class="text-sm text-red-500"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            <button type="submit" class="w-full bg-primary text-primary-foreground font-semibold py-3 rounded-lg hover:opacity-90 transition-opacity">
                <?php echo e(__('Verify Code')); ?>

            </button>
        </form>

        <form method="POST" action="<?php echo e(route('verification.send')); ?>" class="w-full">
            <?php echo csrf_field(); ?>
            <button type="submit" class="w-full bg-primary text-primary-foreground font-semibold py-3 rounded-lg hover:opacity-90 transition-opacity">
                <?php echo e(__('Resend verification code')); ?>

            </button>
        </form>

        <form method="POST" action="<?php echo e(route('logout')); ?>" class="w-full">
            <?php echo csrf_field(); ?>
            <button type="submit" class="w-full text-sm text-muted-foreground hover:text-foreground transition-colors py-2">
                <?php echo e(__('Log out')); ?>

            </button>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.member.auth', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/fxporict/zidii.fxpool.io/resources/views/pages/member/auth/verify-email.blade.php ENDPATH**/ ?>