@extends('admin.layout')

@section('title', 'RapidSewa Admin Login')

@section('body')
<main class="login-page">
    <section class="login-card">
        <div class="brand" style="padding:0;margin-bottom:18px">
            <div class="brand-mark">RS</div>
            <div>
                <div class="brand-title" style="color:#111827">RapidSewa Admin</div>
                <div class="brand-sub" style="color:#667085">Control center for services, experts, customers and income</div>
            </div>
        </div>
        @if ($errors->any()) <div class="error">{{ $errors->first() }}</div> @endif
        <form method="post" action="{{ route('admin.authenticate') }}">
            @csrf
            <p><label>Email or Phone</label><input name="email" value="{{ old('email', 'admin@pronto.local') }}" required></p>
            <p><label>Password</label><input type="password" name="password" value="admin12345" required></p>
            <button type="submit">Login to Admin</button>
        </form>
        <p class="muted">Default: admin@pronto.local / admin12345</p>
    </section>
</main>
@endsection
