<!doctype html>
<html lang="pt-BR">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>@yield('title', 'Auditoria')</title>
    <style>
        body{font-family:Arial,sans-serif;background:#f5f6f8;color:#1f2937;margin:0}
        .layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
        aside{background:#111827;color:#fff;padding:24px}
        aside a{display:block;color:#e5e7eb;text-decoration:none;margin:10px 0}
        main{padding:24px}
        .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
        .card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
        table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}
        th,td{padding:12px;border-bottom:1px solid #e5e7eb;text-align:left}
        form{display:grid;gap:12px;max-width:720px}.btn{background:#0f766e;color:#fff;border:0;padding:10px 14px;border-radius:8px}
        input,select,textarea{padding:10px;border:1px solid #d1d5db;border-radius:8px;width:100%}
    </style>
</head>
<body>
<div class="layout">
    <aside>
        <h2>Auditoria</h2>
        <a href="{{ route('admin.dashboard') }}">Dashboard</a>
        <a href="{{ route('admin.clients.index') }}">Clientes</a>
        <a href="{{ route('admin.cases.index') }}">Casos</a>
        <a href="{{ route('admin.consents.index') }}">Consentimentos</a>
        <a href="{{ route('admin.evidences.index') }}">Evidências</a>
        <a href="{{ route('admin.logs.index') }}">Logs</a>
        <a href="{{ route('admin.trash.index') }}">Lixeira</a>
    </aside>
    <main>
        @yield('content')
    </main>
</div>
</body>
</html>
