<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SafeWatch Security Access</title>
    <!-- Bootstrap 5 CSS CDN -->
    <link rel="stylesheet" href="{{ asset('assets/bootstrap/css/bootstrap.min.css') }}">
    <!-- Font Awesome 6 Icons CDN -->
    <link rel="stylesheet" href="{{ asset('assets/fontawesome/css/fontawesome.min.css') }}">
</head>
<body class="bg-light d-flex align-items-center" style="height: 100vh;">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-5">
                <div class="card border-0 shadow-lg px-2 py-4">
                    <div class="card-body text-center">
                        <i class="fa-solid fa-shield-halved text-primary fa-3x mb-3"></i>
                        <h3 class="fw-bold mb-4">SafeWatch Verification Gateway</h3>
                        
                        @if($errors->any())
                            <div class="alert alert-danger text-start small">{{ $errors->first() }}</div>
                        @endif

                        <form action="/login" method="POST" class="text-start">
                            @csrf
                            <div class="mb-3">
                                <label class="form-label font-weight-bold small">Email Identity</label>
                                <div class="input-group">
                                    <span class="input-group-text"><i class="fa-solid fa-envelope text-muted"></i></span>
                                    <input type="email" name="email" class="form-control" required placeholder="name@domain.com">
                                </div>
                            </div>
                            <div class="mb-4">
                                <label class="form-label font-weight-bold small">Security Passphrase</label>
                                <div class="input-group">
                                    <span class="input-group-text"><i class="fa-solid fa-lock text-muted"></i></span>
                                    <input type="password" name="password" class="form-control" required placeholder="••••••••">
                                </div>
                            </div>
                            <button type="submit" class="btn btn-primary w-100 fw-bold py-2">Authorize Connection</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
