@extends('layouts.guest')
@section('title', __('messages.login'))
@section('content')
<div class="card shadow-sm border-0">
    <div class="card-body p-4 p-md-5">
        <h1 class="h4 mb-3">{{ __('messages.login') }}</h1>
        @include('partials.alerts')
        <form method="post" action="{{ url('/login') }}">
            @csrf
            <div class="mb-3">
                <label class="form-label">{{ __('messages.email') }}</label>
                <input class="form-control" type="email" name="email" value="{{ old('email') }}" required>
            </div>
            <div class="mb-3">
                <label class="form-label">{{ __('messages.password') }}</label>
                <input class="form-control" type="password" name="password" required>
            </div>
            <div class="form-check mb-3">
                <input class="form-check-input" type="checkbox" name="remember" id="remember">
                <label class="form-check-label" for="remember">{{ __('messages.remember') }}</label>
            </div>
            <button class="btn btn-success w-100">{{ __('messages.login') }}</button>
        </form>
    </div>
</div>
@endsection
