/* Historique Parcours */
body>main>div>div.section.center-align {
    width: 100% !important;
}

body>main>div>div.section.center-align>div.container {
    width: 100% !important;
}

#historiqueParcours_wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    margin-top: 30px;
}

table#historiqueParcours {
    width: 150%;
    border-collapse: collapse !important;
    border: 2px solid darkblue !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#historiqueParcours th,
#historiqueParcours td {
    color: black;
    text-align: left;
    font-size: 11px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.dataTable thead th {
    padding-right: 18px !important;
    position: relative !important;
}

/* Div pour encapsuler le texte dans les cellules d'en-tête */
table.dataTable thead th>div {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

#historiqueParcours_filter label {
    display: flex;
    align-items: center;
}

.dataTables_wrapper .dataTables_filter input[type="search"] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #26a69a;
    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    font-size: 16px;
    margin: 0 0 8px 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
}

#historiqueParcours_length>label {
    font-size: 14px;
    display: flex !important;
    align-items: center !important;
}

.dataTables_length select[name="historiqueParcours_length"] {
    display: block !important;
    font-size: 14px;
    color: #555;
    padding: 8px;
    margin: 0 0.5em;
    border: none;
    background: none;
    padding: 5px;
    font-size: 16px;
    outline: none;
    width: 60px;
}

#historiqueParcours>thead>tr:nth-child(2)>th>input {
    font-size: 13px !important;
    padding: 6px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* icone de tri sur les colonnes */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-position: right center;
    background-repeat: no-repeat;
}

/* Ajouter un espacement entre le texte et l'icône */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
    content: "";
}

/* boutons de navigationw */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: white !important;
    border: darkblue solid 1.5px !important;
    color: black !important;
    padding: 6px 12px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s !important;
}

#historiqueParcours_paginate>span>a.paginate_button.current,
.dataTables_wrapper .dataTables_paginate:hover .paginate_button:hover {
    background: none !important;
    background-color: darkblue !important;
    border-color: white !important;
    color: white !important;
}

/* NC value */
td.nc-value {
    color: lightgray !important;
}

/* Les bouton pour le filtres et les extraction */
#divBtnFilter {
    display: inline-grid;
    width: 100%;
    grid-template-columns: auto;
    column-gap: 3%;
    row-gap: 10%;
}

#checkRegionAdmin {
    grid-column: 1 / span 3;
    justify-self: center;
}

#divToggleSearch {
    width: 300px;
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
}

#divExtractAll {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

#divExtractFilter {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

#divBtnFilter button {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(16, 0, 75, 0.2), 0 4px 8px rgba(16, 0, 75, 0.1);
}

/* Bouton Reprendre */
#btnReprendre,
#btnGenerate {
    border: none;
    color: white;
    padding: 0px 15px;
    font-size: 10px;
    cursor: pointer;
    border-radius: 8px;
}

#btnReprendre i {
    margin: 0;
}

/* checkbox Filter Region Admin */
#checkRegionAdmin {
    border: 1px solid #ccc;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    display: none;
}

[class^="checkbox-wrapper-"] {
    margin-right: 20px;
}

#checkRegionAdmin input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

#checkRegionAdmin label {
    display: inline-block;
}