body {
    font-size: 0.9rem;
    background-color: #eaeaea;
    height: 100%;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

a {
    text-decoration: none;
    color: #222222;
}


.rouge {
    color: red;
}

.sidebar {
    background-color: #040033;
    width: 250px;
    height: 100vh;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px;
    overflow-y: auto;
}

.search-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.search-bar {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

.search-bar:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.search-results {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.search-item {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.search-item:hover {
    background: #007bff;
    color: white;
}

.table-container {
    width: 80%;
    margin: 20px auto;
}

.table-wide {
    max-height: 300px;
    overflow-y: auto;
    display: block;
}

.table-wide tbody {
    display: block;
    max-height: 220px;
    overflow-y: auto;
}

.table-wide thead,
.table-wide tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.table-wide th,
.table-wide td {
    text-align: left;
    padding: 10px;
}

.content {
    padding: 20px;
}

.table-container {
    overflow-y: auto;
}

.title-box {
    text-align: center;
    font-size: 18px;
    color: #151d57;
}

.info-box {
    padding: 15px;
    border-radius: 5px;
    background-color: #ffffff;
    font-size: 10px;
    border-radius: 5px;
}

.fenetresoustheme {
    max-height: 650px;
    margin-top: 15px;
    border-left: 1px solid #d1b26f;
    padding: 8px;
    background-color: rgb(255, 255, 255);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-bottom: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.fenetre {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1px;

}

.todo {
    border-radius: 2px;
    width: 400px;
    color: #ffffff;
    text-align: center;
    background-color: #040033;
    font-size: 20px;
}



/* CSS */
.bouton {
    background-color: #fff;
    border: 1px solid #cecece;
    box-sizing: border-box;
    color: #0f1111;
    font-size: 9px;
    line-height: 29px;
    padding: 5px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
}

.bouton:hover {
    background-color: #eeeeee;
}

.nav-link {
    color: #ffffff;
}

.bouton:focus {
    border-color: #008296;
    box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
    outline: 0;
}

.table-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.table-box {
    flex: 1;
    background: white;
    border-radius: 3px;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.1);
    padding: 5px;
    min-height: 600px;
    overflow: hidden;
}

.table-content {
    max-height: 550px;
    /* Hauteur limitée */
    overflow-y: auto;
    /* Scroll interne */
    scrollbar-width: none;
}

.table-modern {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table-modern thead {
    background-color: #171e4d;
    color: rgb(255, 255, 255);
    text-align: left;
}

.table-modern th,
.table-modern td {
    padding: 10px;
}

.titreliste {
    color: #eeeeee;
    text-align: center;
    font-size: 20px;
}


.table-modern tbody tr:hover {
    background-color: #f1f1f1;
}

.search-container {
    margin-bottom: 20px;
    text-align: center;
}

.search-bar {
    width: 50%;
    margin: 0 auto;
}

.search-results {
    position: absolute;
    width: 50%;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
    text-align: left;
    left: 50%;
    transform: translateX(-50%);
}

.search-item {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease-in-out;
}

.search-item:hover {
    background: #efefef;
    color: rgb(11, 11, 11);
}