/* Styles pour le Menu */
.menu {
    background-color: #009879; /* #333;  Couleur noire */
    overflow: hidden;
    position: fixed; /* Fixé en haut */
    top: 0;
    width: 100%; /* Prend toute la largeur de la page */
}

.menu a {
    float: left;
    display: block;
    color:   white; 
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu a:hover {
    background-color: #575757;
}

/* Contenu */
.content {
    margin: 80px 20px; /* Ajoute un espace sous le menu */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Tableau */
.styled-section {
    display: flex;
    margin: 25px 0;
    justify-content: flex-start;
    align-items: center;
}

.styled-section .styled-table {
    border-collapse: collapse;
    font-size: 18px;
    min-width: 400px;
    width: 80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #009879; /* Ajout d'un cadre autour du tableau */
    text-align: left;
}

.styled-section .styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styled-section .styled-table th,
.styled-section .styled-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd; /* Ajout de bordures aux cellules */
}

.styled-section .styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-section .styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-section .styled-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.styled-section .styled-table tbody tr:hover {
    background-color: #f1f1f1; /* Changement de couleur au survol */
}

.styled-section .styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-section .styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.styled-section .styled-table caption {
    caption-side: bottom;
    padding: 10px;
    font-size: 1.2em;
    color: #009879;
}

/* Formulaire spécifique pour le login */
.login-form-container {
    position: absolute; /* Permet de positionner précisément l'élément */
    top: 50%; /* Centre verticalement */
    left: 50%; /* Centre horizontalement */
    transform: translate(-50%, -50%); /* Ajuste le centre au milieu de l'écran */
    background-color: #ffffff; /* Couleur de fond */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Largeur maximale */
    text-align: center;
}

.login-form-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.login-form-container label {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-size: 16px;
}

.login-form-container input[type="text"],
.login-form-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-form-container button {
    background-color: #4CAF50; /* Couleur du bouton */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    box-sizing: border-box;
}

.login-form-container button:hover {
    background-color: #45a049;
}

.login-form-container .error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

a {
    color: #009879;
}
