<?php
use App\Models\User;
use Illuminate\Support\Facades\{Hash, Auth};
use Livewire\Attributes\Layout;
use Livewire\Component;
?>

<?php $__env->startPush('head'); ?>
    <title>Login | Abrari Skincare</title>
    <meta name="robots" content="noindex, nofollow">
<?php $__env->stopPush(); ?>

<div class="min-h-[80vh] flex items-center justify-center py-10 px-6">
    <div class="w-full max-w-lg">
        <div class="text-center mb-8">
            <h1 class="hero-medium mb-4">Create Account</h1>
        </div>

        <form wire:submit="register" class="space-y-10">
            <div class="relative z-0 w-full group">
                <label for="name" class="label-theme">FULL NAME</label>
                <input wire:model="name" type="text" id="name" class="input-theme <?php echo e($errors->has('name') ? 'input-error' : 'input-default'); ?>" placeholder=" " />
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> 
                    <p class="input-error-text"><?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; ?>
            </div>

            <div class="relative z-0 w-full group">
                <label for="email" class="label-theme">EMAIL ADDRESS</label>
                <input wire:model="email" type="email" id="email_reg" class="input-theme <?php echo e($errors->has('email') ? 'input-error' : 'input-default'); ?>" placeholder=" " />
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> 
                    <p class="input-error-text"><?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; ?>
            </div>

            <div class="relative z-0 w-full group">
                <label for="email" class="label-theme">Mobile Number</label>
                <input wire:model="phone" type="tel" id="phone" class="input-theme <?php echo e($errors->has('phone') ? 'input-error' : 'input-default'); ?>" placeholder=" " />
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> 
                    <p class="input-error-text"><?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; ?>
            </div>

            <div class="grid grid-cols-2 gap-8">
                <div class="relative z-0 w-full group">
                    <label for="password" class="label-theme">PASSWORD</label>
                    <input wire:model="password" type="password" id="pass" class="input-theme <?php echo e($errors->has('password') ? 'input-error' : 'input-default'); ?>" placeholder=" " />
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> 
                        <p class="input-error-text"><?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; ?>
                </div>
                <div class="relative z-0 w-full group">
                    <label for="pass_conf" class="label-theme">CONFIRM PASSWORD</label>
                    <input wire:model="password_confirmation" type="password" id="pass_conf" class="input-theme <?php echo e($errors->has('password') ? 'input-error' : 'input-default'); ?>" placeholder=" " />                    
                </div>
            </div>

            <button type="submit" class="w-full btn-theme-inverse">
                Create Account
            </button>
        </form>
    </div>
</div><?php /**PATH C:\laragon\www\ecommerce\storage\framework/views/livewire/views/dc3a0261.blade.php ENDPATH**/ ?>