body {
/*    font-family: 'Poppins', sans-serif;*/
    margin: 0;
    padding: 0;
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
     font-family: 'Montserrat';
}

 
header {
    background: linear-gradient(to bottom, #145939, #1e7a50);
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 20px;
    flex: 1;
}

footer {
    background: linear-gradient(to bottom, #145939, #1e7a50);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}


 input, select {
        font-family: 'Raleway', sans-serif;
        border-radius: 5px;
        border-color: #ffffff54;
        padding: 10px;
}
 
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Form styles */
.form-container {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin: 5px 0;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="date"],
.form-container input[type="file"],
.form-container input[type="number"],
.form-container select {
    padding: 10px;
    margin: 5px 0 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    width: 100%;
}

 

/* Table styles */
.table {

    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;

            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 14px;
    
}

.table th {
    background-color: #1a744c;
    text-align: center;
    color:#fff;
    text-transform: uppercase;
}

.table tr:hover {
    background-color: #ddd;
}

.table td {
    text-align: center;
}

/* Icon button styles */
.icon-btn {
    

    color: #ffffff; /* Couleur du texte */
    font-weight: bold; /* Texte en gras */
    text-transform: uppercase; /* Texte en majuscules */
    border: 2px solid #169e30c4; /* Bordure de 2px avec la même couleur que le texte */
    padding: 8px 16px; /* Espacement intérieur pour ressembler à un bouton */
    border-radius: 5px; /* Coins arrondis pour un effet de bouton */
    background-color: #333; /* Optionnel : Couleur de fond pour le bouton */
    text-decoration: none; /* Enlève le soulignement du lien */
    display: inline-block;
}

.icon-btn:hover {
    background-color: #444;
}

/* Icon button styles */
.icon-btn-green { 
    color: #ffffff; /* Couleur du texte */
    font-weight: bold; /* Texte en gras */ 
    border: 1px solid #169e30c4; /* Bordure de 2px avec la même couleur que le texte */
    padding: 8px 16px; /* Espacement intérieur pour ressembler à un bouton */
    border-radius: 5px; /* Coins arrondis pour un effet de bouton */
    background-color: #1a744c; /* Optionnel : Couleur de fond pour le bouton */
    text-decoration: none; /* Enlève le soulignement du lien */
    display: inline-block;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer; 
    
}

.icon-btn-red:hover {
    background-color: #145939;
    cursor: pointer; 
}

/* Icon button styles */
.icon-btn-red {
    

    color: #ffffff; /* Couleur du texte */
    font-weight: bold; /* Texte en gras */ 
    border: 1px solid #850a0acc; /* Bordure de 2px avec la même couleur que le texte */
    padding: 8px 16px; /* Espacement intérieur pour ressembler à un bouton */
    border-radius: 5px; /* Coins arrondis pour un effet de bouton */
    background-color: #cb190c; /* Optionnel : Couleur de fond pour le bouton */
    text-decoration: none; /* Enlève le soulignement du lien */
    display: inline-block;
    padding: 10px;
     font-family: 'Montserrat', sans-serif;
     cursor: pointer; 
}

.icon-btn-red:hover {
    background-color: #aa0d02;
    cursor: pointer; 
}

/* Icon button styles */
.icon-btn-black { 
    color: #ffffff; /* Couleur du texte */
    font-weight: bold; /* Texte en gras */ 
    border: 1px solid #7a7a7a; /* Bordure de 2px avec la même couleur que le texte */
    padding: 8px 16px; /* Espacement intérieur pour ressembler à un bouton */
    border-radius: 5px; /* Coins arrondis pour un effet de bouton */
    background-color: #7a7a7a; /* Optionnel : Couleur de fond pour le bouton */
    text-decoration: none; /* Enlève le soulignement du lien */
    display: inline-block;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer; 
}

.icon-btn-black :hover {
    background-color: #145939;
    cursor: pointer; 
}
 
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#filterContainer {
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.filter-row select {
    flex: 1 1 18%; /* Ajuste la largeur des selects pour qu'ils soient 5 par ligne */
    padding: 5px;
    margin-right: 1%;
    box-sizing: border-box;
}

#filterContainer input[type="text"] {
    padding: 5px;
    margin-right: 20px;
    margin-bottom: 10px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#filterdiv{
    text-align: center;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
    font-size: 14px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
    position: relative;
}



.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 600%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 100%;
    max-height: 500px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


nav ul li a.active {
    color: #fff; /* Couleur du texte */
    font-weight: bold; /* Texte en gras */
    text-transform: uppercase; /* Texte en majuscules */
    padding: 8px 16px; /* Espacement intérieur pour ressembler à un bouton */
    border-radius: 5px; /* Coins arrondis pour un effet de bouton */
    background-color: #145939; /* Optionnel : Couleur de fond pour le bouton */
    text-decoration: none; /* Enlève le soulignement du lien */
    display: inline-block; /* S'assure que le lien se comporte comme un bloc inline pour appliquer le padding */
}

 nav ul li {
    
    text-transform: uppercase;
}

.stat-container {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}
.stat-box {
    width: 150px;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.stat-box i {
    font-size: 50px;
    margin-bottom: 10px;
    color: #1A7341;
}
.stat-box h3 {
    margin: 0;
}
.stat-box a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.stat-box:hover {
    background-color: #e9e9e9;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hr-logo {
    width: 60%; /* Définit la largeur de la ligne à 50% du conteneur */
    margin: 10px auto; /* Centre la ligne horizontalement */
    border: 0.5px solid #fff; /* Optionnel : définit l'épaisseur et la couleur de la bordure */

}

       
.calendar-container {
    width: 80%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;


}

#cal{
      display: flex;
    justify-content: center;
    align-items: center;
   
    margin: 0;
    background-color: #f8f9fa;
}


.searchInput{
        width: 600px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

 
 
.view-modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    padding-top: 60px;
}

.view-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
    text-align: center;
}

.view-modal-content img {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
    cursor: zoom-in;
}

.view-modal-content img.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.view-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.view-close:hover,
.view-close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

    .form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-right: 10px;
}

.form-group:last-child {
    margin-right: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

 

.form-submit {
    text-align: center;
    margin-top: 20px;
}


.modal-body {
    padding: 20px;
    background-color: #ffffff; /* Couleur de fond blanche */
    border-radius: 8px; /* Coins arrondis pour un aspect plus doux */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre subtile pour donner de la profondeur */
    max-width: 600px; /* Largeur maximale du modal */
    margin: 0 auto; /* Centrage horizontal */
    font-family: Arial, sans-serif; /* Police simple et lisible */
}

.modal-text {
    margin-bottom: 20px;
}

.modal-text table {
    width: 100%; /* Prend toute la largeur disponible */
    border-collapse: collapse; /* Fusion des bordures adjacentes */
    margin-bottom: 20px; /* Espacement sous le tableau */
}

.modal-text table td {
    padding: 10px; /* Espacement interne des cellules */
    border: 1px solid #dddddd; /* Bordure grise claire autour des cellules */
    vertical-align: top; /* Alignement en haut des cellules */
}

.modal-text table td:first-child {
    font-weight: bold; /* Gras pour les titres des cellules */
    width: 40%; /* Largeur fixe pour les titres */
    background-color: #f9f9f9; /* Couleur de fond légèrement différente pour les titres */
}

.modal-text table td:last-child {
    width: 60%; /* Largeur fixe pour les valeurs */
    background-color: #ffffff; /* Fond blanc pour les valeurs */
}

.modal-images {
    display: flex;
    justify-content: space-between; /* Espace égal entre les images */
    align-items: center;
    gap: 10px; /* Espacement entre les images */
}

.modal-images img {
    width: 48%; /* Largeur des images pour qu'elles soient côte à côte */
    border-radius: 4px; /* Coins légèrement arrondis pour les images */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre légère sous les images */
}

@media (max-width: 600px) {
    .modal-images {
        flex-direction: column; /* Les images passent en colonne sur les petits écrans */
    }

    .modal-images img {
        width: 100%; /* Les images prennent toute la largeur sur les petits écrans */
    }
}

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les éléments */
}

.status-item {
    display: flex;
    align-items: center;
}

.status-color {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 8px;
    border: 1px solid #ccc; /* Optionnel : pour un bord autour du carré */
}

.status-label {
    font-size: 14px;
    color: #333;
}

