body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f7fa;
}

header {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 1.5em 0;
    margin-bottom: 30px;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 30px;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.alert {
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

#results-section {
    overflow-x: auto;
    padding: 0;
    margin-bottom: 80px;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#upload-section .card-body {
    height: 200px; /* Ajuster cette valeur pour correspondre à la hauteur souhaitée */
} 

.table td {
    border-right: 1px solid #dee2e6;
    border-top: none;
}

#resultsTable th:first-child, #resultsTable td:first-child {
    width: 200px; /* Ajuster cette valeur pour la largeur souhaitée */
}

#results-table {
    width: 100%;
}

nav {
    background-color: #343a40;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
}

.search-box { position: relative; margin-bottom: 20px; }
.search-results { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: white; 
    border: 2px solid #007bff; 
    border-radius: 8px; 
    max-height: 200px; 
    overflow-y: auto; 
    z-index: 1000; 
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.search-result { 
    padding: 12px; 
    cursor: pointer; 
    border-bottom: 1px solid #f1f3f4; 
    transition: background-color 0.2s;
}
.search-result:hover { 
    background: #e3f2fd; 
    color: #1976d2;
}
.search-result:last-child {
    border-bottom: none;
}