<?php if (isset($component)) { $__componentOriginal69dc84650370d1d4dc1b42d016d7226b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal69dc84650370d1d4dc1b42d016d7226b = $attributes; } ?>
<?php $component = App\View\Components\GuestLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('guest-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\GuestLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <div class="mb-6">
        <h2 style="color: #003D7A; font-size: 1.875rem; margin: 0 0 0.5rem 0;">Create Account</h2>
        <p style="color: #6B7280; margin: 0;">Join TrueTrucker and start managing your fleet</p>
    </div>

    <form method="POST" action="<?php echo e(route('register')); ?>" class="space-y-4">
        <?php echo csrf_field(); ?>

        <!-- Name -->
        <div class="form-group">
            <label for="name" style="display: block; margin-bottom: 0.5rem; font-weight: 600; color: #1F2937;">Full Name</label>
            <input id="name" type="text" name="name" value="<?php echo e(old('name')); ?>" required autofocus autocomplete="name"
                   style="width: 100%; padding: 0.75rem 1rem; border: 2px solid #E5E7EB; border-radius: 0.75rem; font-size: 1rem; transition: border-color 0.3s ease; font-family: inherit;"
                   @focus="this.style.borderColor='#003D7A'" @blur="if(!this.value) this.style.borderColor='#E5E7EB'"
                   class="form-control" />
            <?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 style="color: #EF4444; font-size: 0.875rem; margin-top: 0.5rem;"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <!-- Email Address -->
        <div class="form-group">
            <label for="email" style="display: block; margin-bottom: 0.5rem; font-weight: 600; color: #1F2937;">Email Address</label>
            <input id="email" type="email" name="email" value="<?php echo e(old('email')); ?>" required autocomplete="username"
                   style="width: 100%; padding: 0.75rem 1rem; border: 2px solid #E5E7EB; border-radius: 0.75rem; font-size: 1rem; transition: border-color 0.3s ease; font-family: inherit;"
                   class="form-control" />
            <?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 style="color: #EF4444; font-size: 0.875rem; margin-top: 0.5rem;"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <!-- Phone (Optional but good for trucking) -->
        <div class="form-group">
            <label for="phone" style="display: block; margin-bottom: 0.5rem; font-weight: 600; color: #1F2937;">Phone Number</label>
            <input id="phone" type="tel" name="phone" value="<?php echo e(old('phone')); ?>" autocomplete="tel"
                   style="width: 100%; padding: 0.75rem 1rem; border: 2px solid #E5E7EB; border-radius: 0.75rem; font-size: 1rem; transition: border-color 0.3s ease; font-family: inherit;"
                   class="form-control" />
            <p style="font-size: 0.875rem; color: #6B7280; margin-top: 0.25rem;">We'll use this to keep you updated</p>
        </div>

        <!-- Password -->
        <div class="form-group">
            <label for="password" style="display: block; margin-bottom: 0.5rem; font-weight: 600; color: #1F2937;">Password</label>
            <input id="password" type="password" name="password" required autocomplete="new-password"
                   style="width: 100%; padding: 0.75rem 1rem; border: 2px solid #E5E7EB; border-radius: 0.75rem; font-size: 1rem; transition: border-color 0.3s ease; font-family: inherit;"
                   class="form-control" />
            <p style="font-size: 0.875rem; color: #6B7280; margin-top: 0.25rem;">At least 8 characters, with numbers and symbols</p>
            <?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 style="color: #EF4444; font-size: 0.875rem; margin-top: 0.5rem;"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <!-- Confirm Password -->
        <div class="form-group">
            <label for="password_confirmation" style="display: block; margin-bottom: 0.5rem; font-weight: 600; color: #1F2937;">Confirm Password</label>
            <input id="password_confirmation" type="password" name="password_confirmation" required autocomplete="new-password"
                   style="width: 100%; padding: 0.75rem 1rem; border: 2px solid #E5E7EB; border-radius: 0.75rem; font-size: 1rem; transition: border-color 0.3s ease; font-family: inherit;"
                   class="form-control" />
            <?php $__errorArgs = ['password_confirmation'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <p style="color: #EF4444; font-size: 0.875rem; margin-top: 0.5rem;"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <!-- Terms Agreement -->
        <div class="form-group">
            <div style="display: flex; gap: 0.75rem;">
                <input id="agree" type="checkbox" name="agree" required
                       style="width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; cursor: pointer; accent-color: #003D7A;" />
                <label for="agree" style="font-size: 0.875rem; color: #6B7280; cursor: pointer;">
                    I agree to the <a href="#" style="color: #003D7A; font-weight: 600;">Terms of Service</a> and <a href="#" style="color: #003D7A; font-weight: 600;">Privacy Policy</a>
                </label>
            </div>
        </div>

        <!-- Submit Button -->
        <div class="form-group">
            <button type="submit"
                    style="width: 100%; padding: 0.875rem 1.5rem; background-color: #003D7A; color: white; border: none; border-radius: 0.75rem; font-size: 1.125rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;"
                    onmouseover="this.style.backgroundColor='#002651'; this.style.boxShadow='0 10px 15px -3px rgba(0, 61, 122, 0.2)'; this.style.transform='translateY(-2px)';"
                    onmouseout="this.style.backgroundColor='#003D7A'; this.style.boxShadow='none'; this.style.transform='translateY(0)';">
                Create Account
            </button>
        </div>

        <!-- Login Link -->
        <div style="text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #E5E7EB;">
            <p style="color: #6B7280; margin: 0;">Already have an account?
                <a href="<?php echo e(route('login')); ?>" style="color: #003D7A; font-weight: 600; text-decoration: none;">Sign In</a>
            </p>
        </div>
    </form>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal69dc84650370d1d4dc1b42d016d7226b)): ?>
<?php $attributes = $__attributesOriginal69dc84650370d1d4dc1b42d016d7226b; ?>
<?php unset($__attributesOriginal69dc84650370d1d4dc1b42d016d7226b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal69dc84650370d1d4dc1b42d016d7226b)): ?>
<?php $component = $__componentOriginal69dc84650370d1d4dc1b42d016d7226b; ?>
<?php unset($__componentOriginal69dc84650370d1d4dc1b42d016d7226b); ?>
<?php endif; ?>
<?php /**PATH D:\true-trucker\web\resources\views/auth/register.blade.php ENDPATH**/ ?>