<?php $__env->startSection('title', 'Daftar Member Baru'); ?>

<?php $__env->startSection('content'); ?>
<div class="auth-visual-side" style="background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);">
    <div class="visual-logo-box">
        <a href="/" style="text-decoration:none; display:flex; align-items:center; gap:15px;">
            <img src="<?php echo e(asset('assets/img/logo-pro.png')); ?>" alt="Logo" style="width:40px; height:40px; border-radius:10px;">
            <span style="color:white; font-weight:900; font-size:1.2rem; letter-spacing:-1px;"><?php echo e($shop_settings['shop_name'] ?? 'PrintPro'); ?></span>
        </a>
    </div>

    <div class="visual-content">
        <div class="visual-badge" style="background:rgba(99,102,241,0.2); border-color:rgba(99,102,241,0.3); color:#a5b4fc;">Exclusive Access</div>
        <h2>Akses Layanan<br>Prioritas.</h2>
        <p>Gabung dengan ribuan member lainnya dan nikmati kemudahan klaim garansi serta promo suku cadang original.</p>
    </div>

    <div class="visual-footer" style="position:relative; z-index:2; font-size:12px; color:rgba(255,255,255,0.4); font-weight:600;">
        &copy; <?php echo e(date('Y')); ?> <?php echo e($shop_settings['shop_name'] ?? 'PrintPro'); ?> &bull; Data Encrypted
    </div>
</div>

<div class="auth-form-side">
    <div class="form-header">
        <h1>Buat Akun</h1>
        <p>Lengkapi data untuk bergabung sebagai member</p>
    </div>

    <form action="<?php echo e(route('register')); ?>" method="POST">
        <?php echo csrf_field(); ?>
        
        <div class="row gx-3">
            <div class="col-md-12">
                <div class="input-group-pro">
                    <label class="label-pro">Nama Lengkap</label>
                    <div class="input-box">
                        <i class="lni lni-user"></i>
                        <input type="text" name="name" class="control-pro <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" 
                            placeholder="Nama Lengkap" value="<?php echo e(old('name')); ?>" required autofocus>
                        <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <div class="invalid-feedback"><?php echo e($message); ?></div>
                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                    </div>
                </div>
            </div>
            <div class="col-md-12">
                <div class="input-group-pro">
                    <label class="label-pro">Nomor Telepon</label>
                    <div class="input-box">
                        <i class="lni lni-phone"></i>
                        <input type="number" name="phone" class="control-pro <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" 
                            placeholder="0812XXXXXXXX" value="<?php echo e(old('phone')); ?>" required>
                        <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <div class="invalid-feedback"><?php echo e($message); ?></div>
                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                    </div>
                </div>
            </div>
        </div>

        <div class="input-group-pro">
            <label class="label-pro">Alamat Email</label>
            <div class="input-box">
                <i class="lni lni-envelope"></i>
                <input type="email" name="email" class="control-pro <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" 
                    placeholder="nama@email.com" value="<?php echo e(old('email')); ?>" required>
                <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="invalid-feedback"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>
        </div>

        <div class="row gx-3">
            <div class="col-md-6">
                <div class="input-group-pro">
                    <label class="label-pro">Kata Sandi</label>
                    <div class="input-box">
                        <i class="lni lni-lock-alt"></i>
                        <input type="password" name="password" class="control-pro <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" 
                            placeholder="••••••••" required>
                        <i class="lni lni-eye pass-toggle"></i>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="input-group-pro">
                    <label class="label-pro">Konfirmasi</label>
                    <div class="input-box">
                        <i class="lni lni-lock-alt"></i>
                        <input type="password" name="password_confirmation" class="control-pro" 
                            placeholder="••••••••" required>
                        <i class="lni lni-eye pass-toggle"></i>
                    </div>
                </div>
            </div>
        </div>

        <button type="submit" class="btn-pro">
            Daftar Sekarang <i class="lni lni-checkmark-circle"></i>
        </button>
    </form>

    <p class="auth-footer mt-4">
        Sudah punya akun? 
        <a href="<?php echo e(route('login')); ?>" class="auth-link">Masuk Kembali</a>
    </p>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.auth', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\jasa_printer\resources\views/auth/register.blade.php ENDPATH**/ ?>