{{-- resources/views/components/layouts/app.blade.php --}}
<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="{{ asset('img/ico.ico') }}" type="image/x-icon">
    <title>{{ $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">

    @livewireStyles

    <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>
    {{ $slot }}

    @livewireScripts
</body>
</html>
