/* Rï¿½initialisation des marges et padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    min-height: calc(100vh - 60px); /* Assurez-vous que 60px correspond bien à la hauteur du footer */
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 960px;
    padding-bottom: 60px; /* Taille suffisante pour le footer */
    margin-bottom: 60px; /* Espace suffisant pour ne pas chevaucher le footer */
    padding: 20px;
    flex: 1; /* Permet au conteneur de s'étendre pour occuper l'espace restant */
}

/* Style de l'en-tï¿½te avec logo */
header {
    background-color: #0131B4;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header img {
    max-width: 300px;
    max-height: 150px;
}

header h1 {
    color: #fff;
    font-size: 18px;
    margin-top: 5px;
}

/* Formulaire */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

input[type="text"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #004494;
}

h2, h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
}

/* Liens */
a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Style pour la prï¿½sentation des boutons dans le formulaire du tableau de bord */
form input[type="submit"] {
    margin-bottom: 5px;
}

/* Style du tableau de bord */
.dashboard {
    text-align: center;
}

.dashboard form {
    display: inline-block;
    text-align: left;
    max-width: 300px;
}

/* Style de la dï¿½connexion */
.deconnexion {
    text-align: right;
    margin-top: 10px;
}

/* Style des messages */
.message {
    margin: 10px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid #0056b3;
    color: #333;
}

@media (min-width: 768px) {
    .container {
        padding: 40px;
    }

    form {
        width: 70%;
        margin: 0 auto;
    }
}

.digicode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 150px;
    margin: 10px auto;
}

.digicode button {
    font-size: 15px;
    padding: 5px;
    background-color: #D6E8FE;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
}

.digicode button:hover {
    background-color: #D6E8FE;
}

input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 10px;
}

/* Styles pour le pied de page fixe */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px 0;
    z-index: 1000; /* S'assurer que le pied de page reste au-dessus du contenu */
    text-align: center;
    font-size: 12px;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.logo-container img {
    width: 45px; /* Taille des logos, ajustez selon vos besoins */
    height: 45px;
}

.logo-item p {
    margin-top: 5px; /* Espace entre le logo et le texte */
    font-size: 12px; /* Taille de la police pour le texte sous le logo */
    color: #333; /* Couleur du texte */
}