/***********************************************************************************************************************
* Part Menu
***********************************************************************************************************************/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #343a40;
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 220px;
    height: calc(100vh - 70px);
    background-color: #212529;
    color: white;
    padding-top: 20px;
}

.sidebar a {
    color: white;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
}

.sidebar a:hover {
    background-color: #495057;
}

.sidebar a.active {
    background-color: #343a40;
}

.sidebar a:hover {
    background-color: #495057;
    color: white;
}
/***********************************************************************************************************************
* End Part Menu
***********************************************************************************************************************/

/***********************************************************************************************************************
* Content
***********************************************************************************************************************/
.content {
    margin-left: 220px;
    margin-top: 80px;
    padding: 10px 50px;
}
.indicator-resume {
    background: #9DBED3FF;
    border-radius: 10px;
    padding: 10px 20px;
    /*color: #fff;*/
    display: flex;
    justify-content: space-between;
    align-items: start;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    /*height: 70px;*/
}

 .indicator {
     border-radius: 10px;
     padding: 7px 20px;
     color: #fff;
     display: flex;
     justify-content: space-between;
     align-items: start;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
     height: 60px;
 }

.indicator .icon {
    font-size: 18px;
}

.indicator .value {
    font-size: 28px;
    font-weight: bold;
}

.indicator.indicator-bug {
    background-color: #FF584D ;
}

.indicator.indicator-isov1 {
    background-color: #FFB116;
}

.indicator.indicator-v2 {
    background-color: #107FB1;
}

.indicator.indicator-evolv2 {
    background-color: #679F5A;
}

.indicator .label {
    font-size: 12px;
    opacity: 0.9;
}
/***********************************************************************************************************************
* End Content
***********************************************************************************************************************/

/***********************************************************************************************************************
* Datatable
***********************************************************************************************************************/
.bg-done {
    background-color: #A1D6B0 !important;
}

.bg-recette {
    background-color: #dbffe1 !important;
}

.bg-recettenok {
    background-color: #fddfa3 !important;
}

.bg-inprogress {
    background-color: #fffbad !important;
}

.bg-todo {
    background-color: rgba(168, 237, 255, 0.31) !important;
}

.offcanvas-body img {
    max-width: 100%;  /* Limite la largeur de l'image à 100% de son conteneur */
    height: auto;     /* Préserve le ratio hauteur/largeur de l'image */
    display: block;   /* Empêche l'espace indésirable autour de l'image */
    margin: 0 auto;   /* Centre l'image si elle est plus petite que le conteneur */
}

.dt-paging-button.page-item.active .page-link {
    background-color: #343a40 !important; /* Couleur du bouton (Dark) */
    color: white !important; /* Texte blanc */
    border-radius: 5px;
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid #212529;
}
/***********************************************************************************************************************
* End Datatable
***********************************************************************************************************************/

/***********************************************************************************************************************
* Timeline
***********************************************************************************************************************/
.timeline {
    position: relative;
    height: 180px;
    margin: 50px 0;
    font-size: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #bbb;
    transform: translateY(-50%);
    z-index: 1 !important;
}

.milestone {
    position: absolute;
    bottom: 90px; /* ligne centrale */
    transform: translateX(-50%);
}

.milestone .dot {
    width: 14px;
    height: 14px;
    /*background-color: #007bff;*/
    border: 2px solid #fff;
    border-radius: 50%;
    /*box-shadow: 0 0 0 2px #007bff;*/
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    /*z-index: 3 !important;*/
}

.milestone .label {
    position: absolute;
    min-width: 100px;
    padding: 8px 5px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transform: translateX(-50%);
    text-align: center;
    /*font-size: 13px;*/
    z-index: 2;
}

.milestone .label.past {
    border: 2px solid #28a745;
    background: #28a74522;
    border-radius: 5px;
    padding: 5px;
}

.milestone .label.next {
    border: 2px solid #ffc107;
    background: #ffc10722;
    border-radius: 5px;
    padding: 5px;
}


.milestone .label::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    background-color: #999;
    transform: translateX(-50%);
}

.milestone .label.above {
    bottom: 28px; /* au-dessus de la ligne */
}

.milestone .label.above::after {
    top: 100%; /* en bas du label */
    height: 20px;
}

.milestone .label.below {
    top: 28px; /* en dessous de la ligne */
}

.milestone .label.below::after {
    bottom: 100%; /* en haut du label */
    height: 20px;
}

.dot-now {
    background-color: #dc3545; /* Rouge */
    box-shadow: 0 0 0 2px #dc3545;
}

.dot-startend {
    background-color: #ffc107; /* Jaune */
    box-shadow: 0 0 0 2px #ffc107;
    z-index:9999;
}

.dot-mep {
    background-color: #17a2b8; /* Bleu clair */
    box-shadow: 0 0 0 2px #17a2b8;
}

.dot-new {
    background-color: #17a2b8; /* Bleu clair */
    box-shadow: 0 0 0 2px #17a2b8;
}

.dot-event {
    background-color: #6f42c1; /* Violet */
    box-shadow: 0 0 0 2px #6f42c1;
}



/***********************************************************************************************************************
* End Timeline
***********************************************************************************************************************/
