<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="theme-color" content="#011b36">
    <meta name="robots" content="noindex, nofollow">

    <title><?php echo e($meta['title']); ?></title>
    <meta name="description" content="<?php echo e($meta['description']); ?>">

    <link rel="icon" href="<?php echo e(asset('assets/images/branding/logo-nh-trans.jpg')); ?>" type="image/png">

    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/js/app.js']); ?>
</head>
<body class="flex min-h-screen flex-col bg-brand-dark antialiased">
    <div class="map-grid pointer-events-none fixed inset-0 opacity-20"></div>

    <header class="relative flex items-center justify-between px-6 py-6">
        <a href="<?php echo e(route('home')); ?>" class="inline-flex items-center gap-2 text-sm font-medium text-brand-white/70 transition-colors hover:text-brand-white">
            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'chevron-right','class' => 'h-4 w-4 rotate-180']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'chevron-right','class' => 'h-4 w-4 rotate-180']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
            Retour au site public
        </a>

        <form method="POST" action="<?php echo e(route('admin.logout')); ?>">
            <?php echo csrf_field(); ?>
            <button class="text-sm font-medium text-brand-white/70 transition-colors hover:text-brand-white" type="submit">
                Se déconnecter
            </button>
        </form>
    </header>

    <main class="relative flex flex-1 items-center justify-center px-6 py-12">
        <section class="w-full max-w-lg rounded border border-brand-white/10 bg-white p-8 shadow-2xl">
            <div class="mb-6">
                <span class="inline-flex items-center gap-2 rounded-full bg-brand-primary/10 px-3 py-1 text-xs font-semibold text-brand-primary">
                    <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'shield','class' => 'h-3.5 w-3.5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'shield','class' => 'h-3.5 w-3.5']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                    Sécurité du compte
                </span>
                <h1 class="mt-4 text-2xl font-semibold text-brand-ink">Changer le mot de passe temporaire</h1>
                <p class="mt-2 text-sm leading-6 text-brand-muted">
                    Ce compte a été créé avec un mot de passe temporaire. Définissez un mot de passe définitif avant d’accéder au tableau de bord.
                </p>
            </div>

            <?php if($errors->any()): ?>
                <div class="mb-5 rounded border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-700">
                    <?php echo e($errors->first()); ?>

                </div>
            <?php endif; ?>

            <form method="POST" action="<?php echo e(route('admin.password.update')); ?>" class="space-y-5">
                <?php echo csrf_field(); ?>
                <?php echo method_field('PATCH'); ?>

                <label class="block">
                    <span class="text-sm font-medium text-brand-ink">Mot de passe actuel</span>
                    <input
                        class="mt-2 w-full rounded border border-brand-border px-4 py-3 text-brand-ink outline-none transition focus:border-brand-primary focus:ring-2 focus:ring-brand-primary/20"
                        type="password"
                        name="current_password"
                        autocomplete="current-password"
                        required
                    >
                </label>

                <label class="block">
                    <span class="text-sm font-medium text-brand-ink">Nouveau mot de passe</span>
                    <input
                        class="mt-2 w-full rounded border border-brand-border px-4 py-3 text-brand-ink outline-none transition focus:border-brand-primary focus:ring-2 focus:ring-brand-primary/20"
                        type="password"
                        name="password"
                        autocomplete="new-password"
                        required
                    >
                </label>

                <label class="block">
                    <span class="text-sm font-medium text-brand-ink">Confirmer le nouveau mot de passe</span>
                    <input
                        class="mt-2 w-full rounded border border-brand-border px-4 py-3 text-brand-ink outline-none transition focus:border-brand-primary focus:ring-2 focus:ring-brand-primary/20"
                        type="password"
                        name="password_confirmation"
                        autocomplete="new-password"
                        required
                    >
                </label>

                <p class="text-xs leading-5 text-brand-muted">
                    Minimum 12 caractères, avec majuscules, minuscules, chiffres et caractères spéciaux.
                </p>

                <button type="submit" class="btn btn-primary w-full justify-center">
                    Enregistrer et accéder au tableau de bord
                </button>
            </form>
        </section>
    </main>

    <footer class="relative px-6 py-6 text-center text-xs text-brand-white/40">
        &copy; <?php echo e(date('Y')); ?> <?php echo e(config('nh_trans.company.name')); ?>. Tous droits reserves.
    </footer>
</body>
</html>
<?php /**PATH C:\wamp64\www\nh-trans\resources\views/admin/auth/change-password.blade.php ENDPATH**/ ?>