@extends('layouts.auth')

@section('title', 'Confirm Password | Smart Dermatology')
@section('subtitle', 'Please confirm your password before continuing.')

@section('content')
    <form method="POST" action="{{ route('password.confirm') }}">
        @csrf
        <div class="mb-3">
            <label for="password" class="form-label">Password</label>
            <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
            @error('password') <span class="invalid-feedback d-block"><strong>{{ $message }}</strong></span> @enderror
        </div>
        <button type="submit" class="btn btn-pink w-100 py-3 fw-bold mb-3">Confirm Password</button>
        @if (Route::has('password.request'))
            <div class="text-center"><a class="auth-link small" href="{{ route('password.request') }}">Forgot Your Password?</a></div>
        @endif
    </form>
@endsection
