@extends('layouts.guest')
@section('content')
<div class="login-bg p-3">
    <div class="card login-card">
        <div class="card-body p-5">
            <div class="text-center mb-4">
                <div class="logo-circle"><i class="fa-solid fa-gas-pump fs-1"></i></div>
                <h3 class="fw-bold mt-3">Petrol Pump MIS</h3>
                <p class="text-muted">Login to manage POS, tanks and reports</p>
            </div>
            @if($errors->any()) <div class="alert alert-danger">{{ $errors->first() }}</div> @endif
            <form method="POST" action="{{ route('login.post') }}">@csrf
                <label class="form-label">Email</label><input type="email" name="email" value="admin@pump.test" class="form-control form-control-lg mb-3" required>
                <label class="form-label">Password</label><input type="password" name="password" value="password" class="form-control form-control-lg mb-3" required>
                <div class="form-check mb-4"><input class="form-check-input" type="checkbox" name="remember" id="remember"><label class="form-check-label" for="remember">Remember me</label></div>
                <button class="btn btn-success btn-lg w-100"><i class="fa-solid fa-right-to-bracket"></i> Login</button>
            </form>
        </div>
    </div>
</div>
@endsection
