<?php $__env->startSection('title', 'Create account'); ?>

<?php $__env->startSection('content'); ?>
<div style="min-height:80vh; display:flex; align-items:center; justify-content:center; padding:40px 18px;">
    <div style="width:100%; max-width:480px;">

        <div style="text-align:center; margin-bottom:28px;">
            <a href="<?php echo e(url('/')); ?>" style="display:inline-flex; align-items:center; gap:10px; justify-content:center;">
                <span class="nx-logo"></span>
                <span style="font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:20px;">Nexus Intelligence</span>
            </a>
            <p class="nx-muted" style="margin:10px 0 0;">Create your account to get started</p>
        </div>

        <div class="nx-card">

            <form method="POST" action="<?php echo e(route('register')); ?>">
                <?php echo csrf_field(); ?>

                
                <label class="nx-label">I am a</label>
                <select class="nx-select" name="role" required>
                    <option value="advertiser" <?php echo e(old('role') == 'advertiser' ? 'selected' : ''); ?>>
                        Advertiser — I want to book OOH/DOOH media
                    </option>
                    <option value="media_owner" <?php echo e(old('role') == 'media_owner' ? 'selected' : ''); ?>>
                        Media Owner — I want to list my inventory
                    </option>
                    <option value="agency" <?php echo e(old('role') == 'agency' ? 'selected' : ''); ?>>
                        Agency — I book on behalf of clients
                    </option>
                </select>

                <div class="nx-divider"></div>

                
                <label class="nx-label">Full name</label>
                <input class="nx-input <?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); ?>"
                       type="text" name="name"
                       value="<?php echo e(old('name')); ?>"
                       placeholder="Your full name"
                       required autofocus autocomplete="name"/>
                <?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 style="color:var(--nx-danger); font-size:12px; margin-top:4px;"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                
                <label class="nx-label" style="margin-top:14px;">Company / Organisation</label>
                <input class="nx-input <?php $__errorArgs = ['company'];
$__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); ?>"
                       type="text" name="company"
                       value="<?php echo e(old('company')); ?>"
                       placeholder="Company or organisation name"/>
                <?php $__errorArgs = ['company'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div style="color:var(--nx-danger); font-size:12px; margin-top:4px;"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                
                <label class="nx-label" style="margin-top:14px;">Email address</label>
                <input class="nx-input <?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); ?>"
                       type="email" name="email"
                       value="<?php echo e(old('email')); ?>"
                       placeholder="name@company.com"
                       required autocomplete="username"/>
                <?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 style="color:var(--nx-danger); font-size:12px; margin-top:4px;"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                
                <label class="nx-label" style="margin-top:14px;">Phone number</label>
                <input class="nx-input <?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); ?>"
                       type="tel" name="phone"
                       value="<?php echo e(old('phone')); ?>"
                       placeholder="+254..."/>
                <?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 style="color:var(--nx-danger); font-size:12px; margin-top:4px;"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                
                <label class="nx-label" style="margin-top:14px;">Password</label>
                <input class="nx-input <?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); ?>"
                       type="password" name="password"
                       placeholder="Min. 8 characters"
                       required autocomplete="new-password"/>
                <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div style="color:var(--nx-danger); font-size:12px; margin-top:4px;"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                
                <label class="nx-label" style="margin-top:14px;">Confirm password</label>
                <input class="nx-input"
                       type="password" name="password_confirmation"
                       placeholder="Repeat password"
                       required autocomplete="new-password"/>

                <div class="nx-divider"></div>

                <button type="submit" class="nx-btn nx-btn-primary nx-btn-lg" style="width:100%;">
                    Create account
                </button>

                <p style="text-align:center; margin-top:16px; font-size:13px; color:var(--nx-muted);">
                    Already have an account?
                    <a href="<?php echo e(route('login')); ?>" style="color:var(--nx-accent);">Sign in</a>
                </p>

            </form>
        </div>

    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\Nexus Intelligence\nexus\nexus-intelligence\resources\views/auth/register.blade.php ENDPATH**/ ?>