/* Style général pour le corps */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 80%;
    margin: 20px auto;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
}

header h1 {
    font-size: 2rem;
    margin: 0;
    padding-bottom: 10px;
    text-align: center;
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
}

/* Style pour le texte introductif */
section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* Style pour le tableau */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

table thead tr {
    background-color: #4CAF50;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
}

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

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

table tbody tr:last-of-type {
    border-bottom: 2px solid #4CAF50;
}

/* Lien dans le tableau */
table a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

table a:hover {
    text-decoration: underline;
}

/* Style pour les messages */
section p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 20px;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    table {
        font-size: 0.9rem;
    }
}

/* Barre de navigation */
.navbar {
    background-color: #333;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around; /* Équilibre les boutons */
    align-items: center;
}

.navbar li {
    flex: 1;
}

.navbar a {
    display: block;
    text-align: center;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

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

/* Style pour les liens actifs */
.navbar a.active {
    background-color: #007BFF;
    color: white;
}

/* Style des listes */
ul {
    padding: 0;
    margin: 20px 0;
    list-style-type: none;
}

li a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

li a:hover {
    text-decoration: underline;
}
