@extends('layouts.app', ['title' => 'Login | Print Cards'])

@section('content')
    <div class="row justify-content-center">
        <div class="col-lg-5">
            <div class="card card-soft">
                <div class="card-body p-4">
                    <h2 class="fw-bold mb-3">Login</h2>
                    <p class="text-muted">Use email or mobile number with your password. Accounts must complete OTP verification first.</p>
                    <form method="POST" action="{{ route('login.store') }}" class="row g-3">
                        @csrf
                        <div class="col-12">
                            <label class="form-label">Email or Mobile</label>
                            <input type="text" name="login" value="{{ old('login') }}" class="form-control" required>
                        </div>
                        <div class="col-12">
                            <label class="form-label">Password</label>
                            <input type="password" name="password" class="form-control" required>
                        </div>
                        <div class="col-12 form-check">
                            <input class="form-check-input" type="checkbox" name="remember" value="1" id="remember">
                            <label class="form-check-label" for="remember">Remember me</label>
                        </div>
                        <div class="col-12 d-grid">
                            <button class="btn btn-primary" type="submit">Login</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection
