/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

header {
    width: 100%;
    background-color: #0056b3;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header img {
    width: 300px; /* Agrandir le logo */
    height: auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #ddd;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
}

nav a:hover {
    background-color: #ccc;
}

.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 160px;
    top: 100%;
    left: 0;
}

.submenu li {
    padding: 10px;
}

.submenu a {
    display: block;
    text-align: left;
}

main {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 50%;
    overflow-y: auto;
}

section {
    width: 100%;
}

form.filter-form {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

label {
    margin-top: 10px;
}

input, select {
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
}

input[type="submit"] {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #003d80;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th .sort-button {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

th .arrow {
    margin-left: 5px;
    display: none;
}

th .arrow.asc, th .arrow.desc {
    display: inline-block;
}

th .arrow.asc::after {
    content: '↑';
}

th .arrow.desc::after {
    content: '↓';
}

img {
    max-width: 50px;
    height: auto;
}

footer {
    width: 100%;
    background-color: #0056b3;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
}
