@extends('layouts.app')

@section('content')
<div class="auth p-2">
    <div class="title-page mb-2">{{ __('Reset Password') }}</div>


        <div class="card-body">
            @if (session('status'))
                <div class="alert alert-success p-1 mb-1" role="alert">
                    {{ session('status') }}
                </div>
            @endif

            <form method="POST" action="{{ route('password.email') }}">
                @csrf

                <label for="email" class="mb-1">{{ __('E-Mail') }}</label>
                <div class="mb-2">
                    <input id="email" type="email" class="@error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
                    @error('email')
                    <span class="invalid-feedback" role="alert">
                        <strong>{{ $message }}</strong>
                    </span>
                    @enderror
                </div>

                <div class="flex-between">
                    <button type="submit" class="btn-primary px-3 w-100">
                        {{ __('Send Password Reset Link') }}
                    </button>
                </div>
            </form>
        </div>

</div>
@endsection
