<?php $__env->startSection('style'); ?>
<style>

    .pincode-input-container{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pincode-input-container .pincode-input-text {
        /*margin-left: 5px;*/
        text-align: center;
        font-weight: 600;
        font-size: 48px;
        border: 2px solid #000036;
        color: #<?php echo e($general->bclr); ?>;
    }
    .login-area .login-form .frm-grp input {
        padding:inherit;
    }
    .pincode-input-text, .form-control.pincode-input-text {
        width: 60px;
        height: 60px !important;
    }
</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

<?php if(!$user->status): ?>
<?php echo $__env->make(activeTemplate().'partials.frontend-breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="account--section sign-in-section active relative">
    <div class="container-fluid">
        <div class="account--area">
            <h1 class="title text-center text-danger"><?php echo e(__($page_title)); ?></h1>
        </div>
    </div>
</div>

<?php elseif(!$user->ev): ?>
<?php echo $__env->make(activeTemplate().'partials.frontend-breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<section class="user-panel-section padding-bottom padding-top">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-6 text-center">
                <form method="POST" action="<?php echo e(route('user.verify_email')); ?>" >
                    <?php echo csrf_field(); ?>
                    <h4 class="text-center py-5"> <?php echo app('translator')->get('Please Verify Your Email to Get Access'); ?></h4>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-form-label"><?php echo app('translator')->get('Your Email Address'); ?></label>
                        <input type="email" name="email" class="form-control form-control-lg" readonly value="<?php echo e(auth()->user()->email); ?>">
                    </div>

                    <div class="form-group">
                        <label for="inputEmail3" class="col-form-label"><?php echo app('translator')->get('Enter Verification Code'); ?></label>
                        <br>
                        <input  name="email_verified_code"  id="pincode-input" placeholder="<?php echo app('translator')->get('Code'); ?>" class="form-control form-control-lg">
                        <?php if($errors->has('email_verified_code')): ?>
                        <small class="text-danger"><?php echo e($errors->first('email_verified_code')); ?></small>
                        <?php endif; ?>
                    </div>
                    <div class="form-group ">
                        <button type="submit" class="custom-button bg-3  text-center mt-3">
                            <?php echo app('translator')->get('Submit'); ?>
                        </button>
                    </div>
                    <div class="form-group">
                        <div class="remember mr-5">
                            <label class="form-check-label" for="gridCheck1">
                                <?php echo app('translator')->get('Please check including your Junk/Spam Folder. if not found, you can '); ?> <a href="<?php echo e(route('user.send_verify_code')); ?>?type=email"> <?php echo app('translator')->get('Resend code again'); ?></a> !
                                <?php if($errors->has('resend')): ?>
                                <br/>
                                <small class="text-danger"><?php echo e($errors->first('resend')); ?></small>
                                <?php endif; ?>
                            </label>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>


<?php elseif(!$user->sv): ?>

<?php echo $__env->make(activeTemplate().'partials.frontend-breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


<section class="user-panel-section padding-bottom padding-top">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-6 text-center">
                <form method="POST" action="<?php echo e(route('user.verify_sms')); ?>" >
                    <?php echo csrf_field(); ?>
                    <h2 class="text-center text-white pb-4 text-uppercase"> <?php echo app('translator')->get($page_title); ?></h2>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-form-label"><?php echo app('translator')->get('Your Mobile Number'); ?></label>
                        <input type="text" name="mobile" class="form-control" readonly value="<?php echo e(auth()->user()->mobile); ?>">
                    </div>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-form-label"><?php echo app('translator')->get('Enter Code'); ?></label>
                        <input  name="sms_verified_code"  id="pincode-input" placeholder="<?php echo app('translator')->get('Code'); ?>" class="form-control form-control-lg">
                        <?php if($errors->has('sms_verified_code')): ?>
                        <small class="text-danger"><?php echo e($errors->first('sms_verified_code')); ?></small>
                        <?php endif; ?>
                    </div>
                    <div class="form-group ">
                        <button type="submit" class="custom-button bg-3  text-center mt-3">
                            <?php echo app('translator')->get('Submit'); ?>
                        </button>
                    </div>
                    <div class="form-group">

                        <div class="remember mr-5">
                            <label class="form-check-label" for="gridCheck1">
                                <?php echo app('translator')->get('No code on your phone Yet ?'); ?> <a  href="<?php echo e(route('user.send_verify_code')); ?>?type=phone"> <?php echo app('translator')->get('Resend code'); ?></a>
                                <?php if($errors->has('resend')): ?>
                                <br/>
                                <small class="text-danger"><?php echo e($errors->first('resend')); ?></small>
                                <?php endif; ?>

                            </label>
                        </div>

                    </div>

                </form>
            </div>
        </div>
    </div>
</section>

<?php elseif(!$user->tv): ?>

<?php echo $__env->make(activeTemplate().'partials.frontend-breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


<section class="user-panel-section padding-bottom padding-top">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-6 text-center">
                <form method="POST"  action="<?php echo e(route('user.go2fa.verify')); ?>" >
                    <?php echo csrf_field(); ?>

                    <h2 class="text-center pb-4 text-uppercase"> <?php echo app('translator')->get('2FA Verification'); ?></h2>
                    <strong> <?php echo app('translator')->get('Current Time'); ?>: <?php echo e(\Carbon\Carbon::now()); ?></strong>

                    <div class="form-group pt-3">
                        <label for="inputEmail3" class="col-form-label"><?php echo app('translator')->get('Google Authenticator Code'); ?></label>
                        <input  name="code" id="pincode-input" placeholder="<?php echo app('translator')->get('Enter Google Authenticator Code'); ?>" class="form-control">
                        <?php if($errors->has('code')): ?>
                        <small class="text-danger"><?php echo e($errors->first('code')); ?></small>
                        <?php endif; ?>
                    </div>


                    <div class="form-group ">
                        <button type="submit" class="custom-button bg-3  text-center mt-3">
                            <?php echo app('translator')->get('Submit'); ?>
                        </button>
                    </div>

                </form>
            </div>
        </div>


    </div>
</section>

<?php else: ?>
<script>
    window.location.href = "<?php echo e(route('user.home')); ?>";
</script>
<?php endif; ?>
<?php $__env->stopSection(); ?>



<?php $__env->startPush('style-lib'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/bootstrap-pincode-input.css')); ?>"/>
<?php $__env->stopPush(); ?>

<?php $__env->startPush('js'); ?>
<script src="<?php echo e(asset('assets/admin/js/bootstrap-pincode-input.js')); ?>"></script>
<?php $__env->stopPush(); ?>


<?php $__env->startPush('js'); ?>
<script>
    $('#pincode-input').pincodeInput({
        inputs:6,
        placeholder:"- - - - - -",
        hidedigits:false
    });
</script>    
<?php $__env->stopPush(); ?>
<?php echo $__env->make(activeTemplate() .'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ectbest/ecoshop.top/core/resources/views/templates/minimal/user/auth/authorize.blade.php ENDPATH**/ ?>