@extends('layouts.auth')

@section('content')

    <!-- Content -->

    <div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back.jpg')}});">
        <div class="ui-bg-overlay bg-dark opacity-25"></div>

        <div class="authentication-inner py-5">

            <div class="card bg-body">
                <div class="p-4 p-sm-4" style="padding-bottom: 1.5rem !important;">
                    <!-- Logo -->
                    <div class="d-flex justify-content-center align-items-center pb-2 mb-4">
                        <div class="">
                            <div class="w-100 position-relative">
                                <a href="/"><img src="{{ asset('/images/gruene-seele-logo.jpg') }}" alt="gruene-seele-logo" class=""></a>
                            </div>
                        </div>
                    </div>
                    <!-- / Logo -->

                    <h5 class="text-center text-muted font-weight-normal mb-4">{{ __('Confirm Password')  }}</h5>


                    {{ __('Please confirm your password before continuing.') }}

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

                        <div class="form-group">
                            <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" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                        </div>

                        <div class="form-group">
                                <button type="submit" class="btn btn-primary btn-block">
                                    {{ __('Confirm Password') }}
                                </button>

                                @if (Route::has('password.request'))
                                    <a class="btn btn-link" href="{{ route('password.request') }}">
                                        {{ __('Forgot Your Password?') }}
                                    </a>
                                @endif
                        </div>
                    </form>
                    <!-- / Form -->
                    <div class="card-footer">
                        <div class="text-center text-muted">
                            <a href="{{route('login')}}" class="btn btn-outline-primary mt-2 btn-sm">{{__('Login')}}</a>
                        </div>
                        <div class="mt-3 text-center">
                            <hr>
                            <a href="https://www.gruene-seele.bio/datenschutzerklaerung/" class="btn btn-outline-secondary mt-0 btn-sm">{{__('data protection')}}</a>
                            <a href="https://www.gruene-seele.bio/impressum/" class="btn btn-outline-secondary mt-0 btn-sm">{{__('imprint')}}</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
