<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Admin Sign In | Divine Drops Luxury Skincare</title>
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,400&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/lucide@latest/dist/umd/lucide.min.js"></script>
    <style>
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: #f8faf9;
            color: #0f172a;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }

        .login-card {
            width: 100%;
            max-width: 420px;
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 4px 25px rgba(0,0,0,0.06);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 13px;
            color: #475569;
            font-weight: 500;
        }

        .form-input {
            width: 100%;
            padding: 12px 16px;
            background-color: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            color: #0f172a;
            font-size: 14px;
            box-sizing: border-box;
        }

        .form-input:focus {
            outline: none;
            border-color: #186297;
            box-shadow: 0 0 0 3px rgba(24, 98, 151, 0.15);
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            background: #186297;
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-submit:hover {
            background-color: #3d6650;
        }
    </style>
</head>
<body>

    <div class="login-card">
        <div style="text-align: center; margin-bottom: 30px;">
            <img src="<?php echo e(asset('images/logo.png')); ?>" alt="Divine Drops" style="height: 50px; margin-bottom: 12px; display: inline-block;">
            <h1 class="serif" style="font-size: 26px; margin: 0; font-family: 'Playfair Display', serif; color: #0f172a;">Divine Drops Admin</h1>
            <p style="color: #64748b; font-size: 13px; margin-top: 6px;">Sign in to access your store management dashboard</p>
        </div>

        <?php if(session('error')): ?>
            <div style="background: #fee2e2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px; border-radius: 8px; font-size: 13px; margin-bottom: 20px;">
                <?php echo e(session('error')); ?>

            </div>
        <?php endif; ?>

        <?php if($errors->any()): ?>
            <div style="background: #fee2e2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px; border-radius: 8px; font-size: 13px; margin-bottom: 20px;">
                <?php echo e($errors->first()); ?>

            </div>
        <?php endif; ?>

        <form action="<?php echo e(route('admin.login')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <div class="form-group">
                <label>Admin Email</label>
                <input type="email" name="email" value="<?php echo e(old('email', 'admin@divne.com')); ?>" class="form-input" required autofocus>
            </div>

            <div class="form-group">
                <label>Password</label>
                <input type="password" name="password" value="password123" class="form-input" required>
            </div>

            <div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 13px;">
                <label style="display: flex; align-items: center; gap: 8px; color: #64748b; cursor: pointer;">
                    <input type="checkbox" name="remember" checked> Remember me
                </label>
            </div>

            <button type="submit" class="btn-submit">Sign In to Dashboard</button>
        </form>

        <div style="margin-top: 24px; text-align: center; font-size: 12px; color: #64748b;">
            Default Credentials: <strong>admin@divne.com</strong> / <strong>password123</strong>
        </div>
    </div>

</body>
</html>
<?php /**PATH /Users/koushikkona/Documents/Projects/divne/resources/views/admin/login.blade.php ENDPATH**/ ?>