<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Login Web Admin Panel</title>
    <script>
        window.flashMessages = {
            success: "<?php echo e(session('success')); ?>",
            error: "<?php echo e(session('error')); ?>",
        };
    </script>
    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css','resources/css/login.css', 'resources/js/app.js', 'resources/js/login.js']); ?>
</head>
<body>

<div class="bg">
    <div class="blob blob-1"></div>
    <div class="blob blob-2"></div>
    <div class="blob blob-3"></div>
</div>

<div class="card-wrap">
    <div class="card">

        <div class="logo-area">
            <div class="logo-box">
                <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <rect x="8" y="16" width="20" height="15" rx="3" fill="white" opacity="0.9"/>
                    <rect x="12" y="10" width="12" height="9" rx="6" fill="none" stroke="white" stroke-width="2.2"/>
                    <circle cx="18" cy="22" r="2.5" fill="#A32D2D"/>
                    <rect x="17" y="24" width="2" height="4" rx="1" fill="#A32D2D"/>
                </svg>
            </div>
            <div class="badge">Admin Portal</div>
            <h1 class="card-title">Login Web Admin Panel</h1>
            <p class="card-sub">Masukkan kredensial Anda untuk melanjutkan</p>
        </div>
        <form action="<?php echo e(route('login.post')); ?>" method="POST">
            <?php echo csrf_field(); ?>

            <div class="field">
                <label for="email">Email</label>
                <div class="input-wrap">
            <span class="input-icon">
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
                    <rect x="1.5" y="3.5" width="13" height="9" rx="2" stroke="currentColor" stroke-width="1.3"/>
                    <path d="M1.5 6L8 10L14.5 6" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/>
                </svg>
            </span>
                    <input type="email" name="email" id="email" value="<?php echo e(old('email')); ?>"
                           placeholder="admin@example.com" autocomplete="email"
                           style="<?php echo e($errors->has('email') ? 'border-color: var(--red-main);' : ''); ?>"/>
                </div>
                <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <small style="color: var(--red-main); margin-top: 4px; display: block;"><?php echo e($message); ?></small>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>

            <div class="field" style="margin-top: 15px;">
                <label for="password">Password</label>
                <div class="input-wrap">
            <span class="input-icon">
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
                    <rect x="3" y="7.5" width="10" height="7" rx="2" stroke="currentColor" stroke-width="1.3"/>
                    <path d="M5.5 7.5V5.5a2.5 2.5 0 0 1 5 0v2" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
                </svg>
            </span>
                    <input type="password" name="password" id="password" placeholder="••••••••"
                           autocomplete="current-password"
                           style="<?php echo e($errors->has('password') ? 'border-color: var(--red-main);' : ''); ?>"/>
                </div>
                <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <small style="color: var(--red-main); margin-top: 4px; display: block;"><?php echo e($message); ?></small>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>
            <div class="checkbox-row">
                <label class="check-label">
                    <input type="checkbox" id="show-pw"/>
                    Show Password
                </label>
            </div>
            <button class="btn-login" type="submit">Login Now</button>
        </form>


    </div>
</div>



</body>
</html>
<?php /**PATH E:\PhpStormProject\sumans_laravel\resources\views/login-page.blade.php ENDPATH**/ ?>