<?php $__env->startSection('title', 'Iniciar Sesión — Sampedro'); ?>

<?php $__env->startSection('content'); ?>
<div class="min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 to-gray-100 p-4">
    <div class="max-w-md w-full bg-white rounded-2xl shadow-xl p-8 border-t-8 border-blue-600">

        
        <div class="text-center mb-8">
            <div class="inline-flex items-center justify-center h-16 w-16 rounded-full bg-blue-100 mb-4">
                <svg class="h-9 w-9 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                          d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9
                             a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"/>
                </svg>
            </div>
            <h1 class="text-3xl font-extrabold text-gray-900">Compañía Sampedro</h1>
            <p class="text-gray-500 mt-1 text-sm">Sistema de Registro de Sets</p>
        </div>

        
        <?php if($errors->any()): ?>
            <div class="mb-5 bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-xl text-sm flex gap-2 items-start">
                <svg class="h-5 w-5 shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                          d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
                </svg>
                <?php echo e($errors->first()); ?>

            </div>
        <?php endif; ?>

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

            
            <div>
                <label for="email" class="block text-sm font-medium text-gray-700 mb-1.5">
                    Correo electrónico
                </label>
                <div class="relative">
                    <span class="absolute inset-y-0 left-3 flex items-center pointer-events-none">
                        <svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                                  d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/>
                        </svg>
                    </span>
                    <input id="email" type="email" name="email"
                           value="<?php echo e(old('email')); ?>"
                           required autofocus autocomplete="email"
                           class="pl-10 w-full p-3 border rounded-lg outline-none transition
                                  focus:ring-2 focus:ring-blue-500 focus:border-blue-500
                                  <?php echo e($errors->has('email') ? 'border-red-400 bg-red-50' : 'border-gray-300'); ?>"
                           placeholder="correo@sampedro.com" />
                </div>
            </div>

            
            <div>
                <label for="password" class="block text-sm font-medium text-gray-700 mb-1.5">
                    Contraseña
                </label>
                <div class="relative">
                    <span class="absolute inset-y-0 left-3 flex items-center pointer-events-none">
                        <svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                                  d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"/>
                        </svg>
                    </span>
                    <input id="password" type="password" name="password"
                           required autocomplete="current-password"
                           class="pl-10 w-full p-3 border border-gray-300 rounded-lg outline-none transition
                                  focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
                           placeholder="••••••••" />
                </div>
            </div>

            
            <div class="flex items-center gap-2">
                <input id="remember" type="checkbox" name="remember"
                       class="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
                <label for="remember" class="text-sm text-gray-600 select-none cursor-pointer">
                    Recordar mi sesión
                </label>
            </div>

            
            <button type="submit"
                    class="w-full bg-blue-600 hover:bg-blue-700 active:bg-blue-800 text-white font-bold
                           py-3 px-4 rounded-lg flex justify-center items-center gap-2
                           transition duration-200 shadow hover:shadow-md">
                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                          d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7
                             a3 3 0 013-3h7a3 3 0 013 3v1"/>
                </svg>
                Ingresar al Sistema
            </button>
        </form>

    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\sampedro-app\resources\views/auth/login.blade.php ENDPATH**/ ?>