
<?php $__env->startSection('content'); ?>
<div class="tm-auth-container" style="max-width:500px;margin:50px auto;padding:30px;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,0.1);">
    <h2 style="text-align:center;margin-bottom:30px;color:#7db64f;font-size:28px;">Üye Girişi</h2>
    
    <?php if(session('success')): ?>
        <div style="background:#d4edda;color:#155724;padding:12px;border-radius:4px;margin-bottom:20px;">
            <?php echo e(session('success')); ?>

        </div>
    <?php endif; ?>

    <?php if($errors->any()): ?>
        <div style="background:#f8d7da;color:#721c24;padding:12px;border-radius:4px;margin-bottom:20px;">
            <ul style="margin:0;padding-left:20px;">
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><?php echo e($error); ?></li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </div>
    <?php endif; ?>

    <form method="POST" action="<?php echo e(route('auth.login')); ?>" style="display:flex;flex-direction:column;gap:20px;">
        <?php echo csrf_field(); ?>
        <div class="form-group">
            <label style="display:block;margin-bottom:8px;font-weight:600;color:#414141;">E-posta</label>
            <input type="email" name="email" value="<?php echo e(old('email')); ?>" required 
                   style="width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:4px;font-size:14px;box-sizing:border-box;transition:border-color 0.3s;"
                   onfocus="this.style.borderColor='#7db64f'" onblur="this.style.borderColor='#e5e7eb'">
        </div>
        <div class="form-group">
            <label style="display:block;margin-bottom:8px;font-weight:600;color:#414141;">Şifre</label>
            <input type="password" name="password" required 
                   style="width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:4px;font-size:14px;box-sizing:border-box;transition:border-color 0.3s;"
                   onfocus="this.style.borderColor='#7db64f'" onblur="this.style.borderColor='#e5e7eb'">
        </div>
        <div class="form-group" style="display:flex;align-items:center;gap:8px;">
            <input type="checkbox" name="remember" id="remember" style="width:18px;height:18px;cursor:pointer;">
            <label for="remember" style="margin:0;cursor:pointer;color:#414141;">Beni hatırla</label>
        </div>
        <button type="submit" style="background:#7db64f;color:#fff;padding:14px 24px;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:background 0.3s;width:100%;">
            Giriş Yap
        </button>
        <p style="text-align:center;margin-top:20px;color:#414141;">
            <a href="<?php echo e(route('auth.register')); ?>" style="color:#7db64f;text-decoration:none;font-weight:600;">Yeni üye ol</a> | 
            <a href="#" style="color:#7db64f;text-decoration:none;">Şifremi unuttum</a>
        </p>
    </form>
</div>

<style>
    @media (max-width: 640px) {
        .tm-auth-container {
            margin: 20px auto;
            padding: 20px;
        }
        .tm-auth-container h2 {
            font-size: 24px;
        }
    }
</style>
<?php $__env->stopSection(); ?>


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