@extends('layouts.simple')

@section('content')
    <div class="container-fluid">
        <div class="row justify-content-center">
            <div class="col-12 col-sm-12 col-md-4">
                <div class="card shadow">
                    <div class="card-header bg-white" align="center">

                        <img src="{{ asset('img/logo/sociproma.jpg') }}" class="img-fluid " width="170" height="200">
                    </div>

                    <div class="card-body bg-azul-intenzo">
                        <form method="POST" action="{{ route('login') }}">
                            @csrf

                            <div class="row">

                                <label for="email"
                                    class="col-form-label text-white"><strong>{{ __('Email Address') }}</strong></label>

                                <div class="col-md-12">
                                    <input id="email" type="email"
                                        class="form-control @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>

                            <div class="row">
                                <label for="password"
                                    class="col-form-label text-white"><strong>{{ __('Password') }}</strong></label>

                                <div class="col-md-12">
                                    <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>
                            {{-- 
                            <div class="row mb-3">
                                <div class="col-md-12 offset-md-4">
                                    <div class="form-check">
                                        <input class="form-check-input" type="checkbox" name="remember" id="remember"
                                            {{ old('remember') ? 'checked' : '' }}>

                                        <label class="form-check-label" for="remember">
                                            {{ __('Remember Me') }}
                                        </label>
                                    </div>
                                </div>
                            </div> --}}
                            <br>
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="d-grid gap-2">
                                        <button type="submit" class="btn btn-primary">
                                            <strong> {{ __('Login') }}</strong>
                                        </button>
                                        @if (Route::has('password.request'))
                                            {{--            <a class="btn btn-link" href="{{ route('password.request') }}">
                                        {{ __('Forgot Your Password?') }}
                                    </a> --}}
                                        @endif
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="card-footer bg-azul-intenzo text-white">
                        <div align="center">
                            <small>Sociproma</small>
                            <br>
                            <small>Medicos Anesteciologos Expertos en salud</small>
                            <br>
                            <small>Sistema medico v2</small>
                            <br>
                            <small>Developer: Jounnerth Torres 2021/2024</small>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
