<style>
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 15px;
        text-align: center;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    .navbar a {
        color: white;
        text-decoration: none;
        padding: 10px 20px;
        display: inline-block;
        font-size: 16px;
        padding: 10px;
    }
    .navbar a:hover {
        background-color: #555;
        border-radius: 5px;
    }
    body {
        padding-top: 70px; /* Pour éviter que le contenu soit caché sous la navbar */
        background-color: lightgrey;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        margin: 0;
        font-family: Arial, sans-serif;
    }

    h2 {
        text-align: center;
    }

    form {
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Espacement entre les éléments */
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background-color: #f9f9f9;
        width: 300px;
    }

    form label {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    width: 100%;
    text-align: left;
    }

    form input, form select, form button {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    form button {
        background-color: #007bff;
        color: white;
        cursor: pointer;
    }

    form button:hover {
        background-color: #0056b3;
    }

    table {
        width: 80%;
        border-collapse: collapse;
        text-align: center;
    }

    td, th {
        padding: 8px;
        border: 1px solid black;
    }

    a {
        display: block;
        margin: 10px 0;
    }

    /* Ajustement du bouton de déconnexion */
    .logout-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        background-color: #dc3545;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 5px;
        cursor: pointer;
        z-index: 1001; /* Pour s'assurer qu'il ne soit pas caché */
    }

    .logout-btn:hover {
        background-color: #a71d2a;
    }
</style>