@extends('layouts.guest')

@section('title', 'Forgot Password')
@section('heading', 'Reset your password')

@section('content')
<form method="POST" action="{{ route('password.email') }}" class="space-y-6">
    @csrf

    <div>
        <label for="email" class="block text-sm font-medium leading-6 text-gray-900">Email address</label>
        <div class="mt-2">
            <input id="email" name="email" type="email" autocomplete="email" required value="{{ old('email') }}" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-green-950 sm:text-sm sm:leading-6 px-3">
        </div>
    </div>

    <div>
        <button type="submit" class="flex w-full justify-center rounded-md bg-green-950 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-green-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-green-950">Send Reset Link</button>
    </div>
</form>

<p class="mt-10 text-center text-sm text-gray-500">
    <a href="{{ route('login') }}" class="font-semibold leading-6 text-green-950 hover:text-green-700">Back to Sign in</a>
</p>
@endsection
