<!DOCTYPE html>
<html lang="pt-BR">

<head>
    <meta charset="UTF-8">
    <link rel="icon" href="<?php echo e(asset('img/ico.ico')); ?>" type="image/x-icon">
    <title>Login - Questionário Psicossocial</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
    <!-- Font -->
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">

    <style>
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f2f2f2;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            margin: 0;
        }

        .login-container {
            background: #fff;
            padding: 2rem;
            border-radius: 12px;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-top: 8px solid #0052b4;
            text-align: center;
        }

        .login-container img {
            max-width: 250px;
            margin-bottom: 20px;
        }

        .input-group-text {
            background-color: #fff;
            border: none;
            color: #0052b4;
        }

        .form-control {
            border: 2px solid #0052b4;
            border-radius: 40px !important;
        }

        .input-group .form-control {
            border-left: none;
        }

        .input-group .input-group-text:first-child {
            border-right: none;
        }

        .login-btn {
            background-color: #0052b4;
            color: white;
            border: none;
            border-radius: 30px;
            width: 100%;
            padding: 0.75rem;
            font-weight: bold;
            font-size: 1rem;
            margin-top: 1rem;
        }

        .login-btn:hover {
            opacity: 0.9;
        }
    </style>
</head>

<body>

    <!-- Versão notebook -->
    <div class="login-container d-none d-md-block">
        <img src="<?php echo e(asset('img/questionario.png')); ?>" alt="Logo">
        <form method="POST" action="<?php echo e(route('login')); ?>">
            <?php echo csrf_field(); ?>
            <div class="input-group mb-3">
                <span class="input-group-text"><i class="fa fa-user"></i></span>
                <input type="text" class="form-control" name="email" placeholder="Login/Usuário" required autofocus>
            </div>
            <div class="input-group mb-3">
                <span class="input-group-text"><i class="fa fa-lock"></i></span>
                <input type="password" class="form-control" name="password" placeholder="Senha" required>
            </div>
            <button type="submit" class="login-btn">Acessar</button>
        </form>
    </div>

    <!-- Versão mobile -->
    <div class="col-md-12 d-block d-md-none bg-white w-100">
        <div class="container">

            <div class="row justify-content-center">
                <div class="col-md-5 vh-100"><br><br>
                    <h4>Entrar</h4>
                    <hr>
                    <img src="<?php echo e(asset('img/questionario.png')); ?>" class="col-lg-5 rounded mx-auto d-block"><br>
                    <div class="card-body">
                        <form method="POST" action="<?php echo e(route('login')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="mb-3">
                                <label for="text" class="form-label">Login</label>
                                <input type="text" name="email" class="form-control" required>
                            </div>
                            <div class="mb-3">
                                <label for="password" class="form-label">Senha</label>
                                <input type="password" name="password" class="form-control" required>
                            </div>
                            <button type="submit" class="btn btn-primary">Entrar</button>
                        </form>
                        <br><br><br>

                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html><?php /**PATH C:\Users\igor.costa\Projetos\psicossocial\resources\views/auth/login.blade.php ENDPATH**/ ?>