<?php $__env->startPush('style'); ?>
<link rel="stylesheet" href="/assets/vendor/libs/formvalidation/dist/css/formValidation.min.css" />
<link rel="stylesheet" href="/assets/vendor/css/pages/page-auth.css" />

<style>
    html, body {
        height: 100%;
        margin: 0;
    }

    /* Full viewport centering */
    .authentication-wrapper {
        display: flex;
        align-items: center;       /* vertical center */
        justify-content: center;   /* horizontal center */
        min-height: 100vh;
        background-color: #f8f9fa;
        width: 100vw;              /* ensure it takes full width */
    }

    .authentication-inner {
        max-width: 420px;          /* card width */
        width: 100%;
        padding: 1rem;
        margin: 0 auto;            /* ensure inner centering */
    }

    .card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .app-brand img {
        display: block;
        margin: 0 auto;
        width: 50%;
    }

    /* Optional: center all text inside card */
    .card-body {
        text-align: center;
    }

    .card-body form .form-label,
    .card-body form .form-check-label {
        text-align: left; /* keep form labels left-aligned */
    }
</style>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
<div class="authentication-wrapper">
    <div class="authentication-inner">
        <div class="card shadow">
            <div class="card-body">
                <!-- Logo -->
                <div class="app-brand mb-4 mt-2">
                    <a href="#" class="app-brand-link d-block w-100">
                        <img src="<?php echo e(asset('assets/img/mfm-logo.png')); ?>" alt="MFMS Logo" />
                    </a>
                </div>

                <h4 class="mb-3 pt-0">Welcome to Digitizing Academy</h4>

                <!-- Login Form -->
                <form action="<?php echo e(route('login')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div class="mb-3 text-start">
                        <label for="email" class="form-label">Email</label>
                        <input type="text" class="form-control" name="email" required autocomplete="off"
                               autofocus placeholder="example@mail.com">
                    </div>

                    <div class="mb-3 form-password-toggle text-start">
                        <label class="form-label" for="password">Password</label>
                        <div class="input-group input-group-merge">
                            <input type="password" id="password" class="form-control" name="password"
                                   placeholder="••••••••••••" />
                            <span class="input-group-text cursor-pointer">
                                <i class="icon-base ti tabler-eye-off"></i>
                            </span>
                        </div>
                    </div>

                    <div class="form-check mb-3 text-start">
                        <input class="form-check-input" type="checkbox" name="remember" id="remember">
                        <label class="form-check-label" for="remember">Remember Me</label>
                    </div>

                    <div class="mb-3">
                        <button class="btn btn-primary d-grid w-100" type="submit">Login</button>
                    </div>
                </form>

                <p class="text-center">
                    <span>New on our platform?</span>
                   <a href="<?php echo e(route('register')); ?>"><span>Create an account</span></a>
                </p>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
<script src="/assets/vendor/libs/formvalidation/dist/js/plugins/AutoFocus.min.js"></script>
<script src="/assets/js/pages-auth.js"></script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wwwlifelinehealt/public_html/digitizing-academy.lifelinehealthcare.com.pk/resources/views/auth/login.blade.php ENDPATH**/ ?>