<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <title>Login - SOV</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">
    <!DOCTYPE html>

    <!-- Favicon -->
    <link rel="icon" href="<?= URL ?>/favicon.ico" type="image/x-icon">
    <link rel="icon" type="image/png" href="<?= URL ?>/assets/img/favicon.png">


    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Bootstrap Icons -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">

    <!-- Estilo customizado -->
    <link rel="stylesheet" href="<?= URL ?>/public/css/estilos.css">

    <meta name="description" content="Sistema de Gestão de Ordens de Viagens - SOV">

    


    <style>
        body {
            margin: 0;
            padding: 0;
            background-image: url("<?= URL ?>/img/fundo_login.png"); no-repeat center center fixed;
            background-size: cover;
            font-family: 'Segoe UI', sans-serif;
        }

        .login-container {
            background-color: rgba(255, 255, 255, 0.97);
            border-radius: 10px;
            padding: 30px;
            margin-top: 8%;
            box-shadow: 0 0 20px rgba(0,0,0,0.2);
        }

        .form-icon {
            width: 30px;
            margin-right: 10px;
        }

        .input-group-text {
            background-color: #f8f9fa;
        }

        .btn-login {
            background-color: #1c2e4a;
            color: white;
            font-weight: bold;
        }

        .btn-login:hover {
            background-color: #162437;
        }

        .card-footer a {
            color: #1c2e4a;
            font-weight: 500;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-5">
            <div class="login-container">
                <div class="text-center my-3">
                    <img src="<?= URL ?>/img/logomala.png" alt="Ícone SOV" style="height: 80px;">

                </div>

                <form method="post" action="#">
                    <div class="form-group">
                        <label for="email">E-mail:</label>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text">
                                    <img src="<?= URL ?>/img/icon_user.png" class="form-icon" alt="Ícone Usuário" style="width: 20px; height: 20px;">

                                </span>
                            </div>
                            <input type="email" name="email" class="form-control" required autofocus>
                        </div>
                    </div>
                    <!-- Senha -->
<div class="form-group mb-3">
    <label for="senha">Senha:</label>
    <div class="input-group">
        <span class="input-group-text">
            <i class="bi bi-lock-fill"></i> <!-- Ícone de cadeado -->
        </span>
        <input type="password" id="senha" name="senha" class="form-control" required>
    </div>
</div>

                    <button class="btn btn-login btn-block" type="submit">Entrar</button>
                    <div class="text-center mt-2">
                        <a href="<?= URL ?>/usuarios/recuperarSenha" class="btn btn-link w-100">Esqueci minha senha</a>

                    </div>
                </form>
                
            </div>
        </div>
    </div>
</div>

</body>
</html>
