<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?= $title ?? 'S.A.T.T - Connexion' ?></title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body { background: linear-gradient(135deg, #1a5276 0%, #0d3240 100%); min-height: 100vh; }
        .auth-card { background: white; border-radius: 16px; padding: 40px; 
                     box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 420px; width: 100%; }
        .auth-logo { text-align: center; margin-bottom: 30px; }
        .auth-logo h2 { color: #1a5276; font-weight: 700; letter-spacing: 3px; }
        .auth-logo p { color: #7f8c8d; font-size: 0.85rem; }
        .form-control { padding: 12px 15px; border-radius: 10px; border: 2px solid #e9ecef; }
        .form-control:focus { border-color: #1a5276; box-shadow: 0 0 0 0.2rem rgba(26,82,118,0.25); }
        .btn-auth { background: #1a5276; border: none; padding: 12px; border-radius: 10px; 
                    font-weight: 600; width: 100%; color: white; }
        .btn-auth:hover { background: #2e86ab; }
    </style>
</head>
<body class="d-flex align-items-center justify-content-center">
    <div class="auth-card">
        <div class="auth-logo">
            <h2>S.A.T.T</h2>
            <p>Societe d'Assistance Transit et Transport<br>Gestion des Factures</p>
        </div>
        <?= $this->renderSection('content') ?>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
