<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>HIGHRA CRM — Workspace Login</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="/css/crm.css">
    <style>
        body {
            margin: 0;
            padding: 0;
            background: #080f20;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }
        .login-card {
            width: 100%;
            max-width: 400px;
            background: #0c1428;
            border: 1px solid #1c2a4f;
            border-radius: 16px;
            padding: 36px 32px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        }
        .login-logo {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 800;
            font-size: 20px;
            margin-bottom: 20px;
            box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
        }
    </style>
</head>
<body>
    <div class="login-card">
        <div style="display: flex; align-items: center; gap: 12px; margin-bottom: 24px;">
            <div class="login-logo">H</div>
            <div>
                <h1 style="margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.5px;">HIGHRA CRM</h1>
                <p style="margin: 2px 0 0; color: #8e9ab4; font-size: 13px;">Enterprise Business Suite</p>
            </div>
        </div>

        <?php if(session('success')): ?>
            <div class="ok" style="margin-bottom: 16px; font-size: 13px;">
                ✓ <?php echo e(session('success')); ?>

            </div>
        <?php endif; ?>

        <?php if(session('error')): ?>
            <div class="err" style="margin-bottom: 16px; font-size: 13px;">
                ✕ <?php echo e(session('error')); ?>

            </div>
        <?php endif; ?>

        <?php if(isset($errors) && $errors->any()): ?>
            <div class="err" style="margin-bottom: 16px; font-size: 13px;">
                <?php echo e($errors->first()); ?>

            </div>
        <?php endif; ?>

        <form method="POST" action="<?php echo e(route('login.submit')); ?>">
            <?php echo csrf_field(); ?>
            <div style="margin-bottom: 16px;">
                <label style="display: block; margin-bottom: 6px; font-size: 12.5px; color: #cbd5e1; font-weight: 500;">
                    Email Address or Username
                </label>
                <input type="text" 
                       name="email" 
                       value="<?php echo e(old('email', 'admin@highratech.com')); ?>" 
                       required 
                       autofocus 
                       placeholder="e.g. admin@highratech.com" 
                       style="margin: 0;">
            </div>

            <div style="margin-bottom: 20px;">
                <label style="display: block; margin-bottom: 6px; font-size: 12.5px; color: #cbd5e1; font-weight: 500;">
                    Password
                </label>
                <input type="password" 
                       name="password" 
                       required 
                       placeholder="••••••••" 
                       style="margin: 0;">
            </div>

            <button type="submit" class="btn" style="width: 100%; padding: 10px; font-size: 14px; font-weight: 600;">
                Sign In to CRM →
            </button>
        </form>

        <div style="margin-top: 24px; padding-top: 18px; border-top: 1px solid #1c2742; text-align: center;">
            <p style="margin: 0; font-size: 11.5px; color: #64748b;">
                Default Credentials: <code style="color: #93c5fd; background: #141f38; padding: 2px 6px; border-radius: 4px;">admin@highratech.com</code> / <code style="color: #93c5fd; background: #141f38; padding: 2px 6px; border-radius: 4px;">ChangeMe@123</code>
            </p>
        </div>
    </div>
</body>
</html>
<?php /**PATH /Users/apple/Downloads/laravel/resources/views/auth/login.blade.php ENDPATH**/ ?>