<x-guest-layout>
    <x-slot name="content">
        <!-- Container principal -->
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-md-12 col-lg-7">
                    <div class="login-wrap">

                        <!-- Session Status -->
                        <x-auth-session-status class="mb-4" :status="session('status')" />

                        <!-- Validation Errors -->
                        <x-auth-validation-errors class="alert alert-danger mb-2" :errors="$errors" />

                        <form action="{{ route('login') }}" method="POST" class="signin-form d-md-flex">
                            @csrf

                            <!-- Informações -->
                            <div class="half p-4 py-md-5 bg-primary">
                                <div class="w-100">
                                    <h4 class="mb-4">Informações</h4>
                                </div>
                                <p class="w-100 text-center">&mdash; Atenção &mdash;</p>
                                <p class="w-100 text-center">O primeiro acesso deve ser realizado utilizando seu e-mail
                                    e CPF, nos campos de login e senha respectivamente</p>
                            </div>
                            <!-- Login -->
                            <div class="half p-4 py-md-5">
                                <div class="w-100">
                                    <h4 class="mb-4">Acesso PAD</h4>
                                </div>
                                <div class="form-group mt-3">
                                    <label class="label" for="name">Endereço de email</label>
                                    <input type="email" name="email" class="form-control" placeholder="ex: nome@upe.br" :value="old('email')" required
                                        autofocus />
                                </div>
                                <div class="form-group">
                                    <label class="label" for="password">Senha</label>
                                    <input id="password-field" type="password" name="password" class="form-control"
                                    :value="__('Password')" placeholder="Senha" required />
                                    <span toggle="#password-field"
                                        class="fa fa-fw fa-eye field-icon toggle-password"></span>
                                </div>
                                <div class="form-group">
                                    <button type="submit"
                                        class="form-control btn btn-secondary rounded submit px-3">Entrar</button>
                                </div>
                                <div class="form-group d-md-flex">
                                    <div class="w-50 text-left">
                                        <label class="checkbox-wrap checkbox-primary mb-0"
                                            style="color: rgb(22, 21, 21);">
                                            Lembrar-me
                                            <input type="checkbox" checked />
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="w-50 text-md-right">
                                        <a href="#" style="color: rgb(22, 21, 21);">Reculperar senha</a>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </x-slot>
</x-guest-layout>
