
.scrollable-table-container {
    max-height: 400px; /* Ajustez cette valeur selon vos besoins */
    overflow-y: auto;
    width: 100%;
}


/* Masquer visuellement la colonne Statut */
.hidden {
    display: none;
}
.split-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 1200px;
}

.left-column, .right-column {
    flex: 1;
    padding: 20px;
}

.left-column {
    flex: 1;
    padding: 20px;
}

.right-column {
    background-color: #ffffff; /* Fond blanc pour différencier */
}

    .right-column h2 {
        text-align: center; /* Centrage du titre */
    }

/* Appliquer les couleurs aux lignes en fonction des statuts */
.statut-vert {
    background-color: #d4edda; /* Vert clair */
    color: #155724;
}

.statut-orange {
    background-color: #fff3cd; /* Orange clair */
    color: #856404;
}

.statut-rouge {
    background-color: #f8d7da; /* Rouge clair */
    color: #721c24;
}


    .scrollable-table-container table {
        width: 100%;
        border-collapse: collapse;
    }

    .scrollable-table-container th, .scrollable-table-container td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .scrollable-table-container th {
        background-color: #f2f2f2;
    }

.table-container {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    max-height: 400px; /* Hauteur maximale du tableau (ajustez selon vos besoins) */
    overflow-y: auto; /* Barre de défilement verticale */
   
}

.table-container th, .table-container td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.table-container th {
    background-color: #f2f2f2;
}
.button-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.button-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.page-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 80vh;
        padding: 20px;
        width: 100%;
		max-width: 1200px;
 }

.login-container {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}
	
	.btn-action-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #178E79;
    max-width: 150px; /* Définit une largeur maximale */
    width: 100%; /* Permet au bouton de s'adapter sans dépasser la max-width */
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-action-new:hover {
    background-color: #146c60;
}

.btn-container-new {
    display: flex;
    justify-content: center; /* Centre les boutons horizontalement */
    gap: 15px; /* Espacement entre les boutons */
}


 .form-container {
            max-width: 800px;
           
			    margin: 50px auto; /* Ajout de marges de 50px en haut et en bas */

            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-color: #f9f9f9;
        }

        h2 {
            text-align: center;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
        }
		
        label {
            font-weight: bold;
            margin-bottom: 5px;
        }
        input, select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }
        .form-row {
         display: flex;
         gap: 20px;
        }
        .form-row .form-group {
            flex: 1;
        }
		
        .btn-container {
            text-align: center;
			 display: flex;
			justify-content: center;  /* Centre horizontalement */
			
			
        }
		
        .btn {
            padding: 12px 25px;
            background-color: #178E79;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
        }
        .btn:hover {
            background-color: #218838;
			color: white;
        }
    .checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligner tout à gauche */
    justify-content: flex-start;
    gap: 5px; /* Espacement entre la case et le texte */
}

.checkbox-info {
    font-size: 8px; /* Taille de texte plus petite */
    color: #777; /* Couleur plus discrète */
    margin-left: 25px; /* Décalage pour alignement sous la case */
    line-height: 1.5; /* Améliorer la lisibilité */
    max-width: 600px; /* Limite la largeur pour un bon alignement */
}
.checkbox-group input {
    width: auto; /* Taille de la case à cocher par défaut */
    margin: 0; /* Supprime les marges */
}

.checkbox-group label {
    margin: 0; /* Supprime la marge pour un alignement correct */
    font-weight: normal;
}
.error-message {
    color: #ffffff;
    background-color: #ff4444; /* Rouge vif pour signaler l'erreur */
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 2px solid #cc0000;
}
.message-box {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    background-color: #d4edda; /* Vert clair */
    color: #155724;
    border: 1px solid #c3e6cb;
}
input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}
.lien {
color: black;	
}
.form-container1 {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    text-align: center; /* Texte centré */
}
.form-container2 {
    width: 100%;
    max-width: 600px;
}
.page-wrapper1 {
    display: flex;
	  width: 100%;
    flex-direction: column; /* Organisation verticale */
    align-items: center; /* Centre le contenu */
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
}

.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: #178E79;
	width: 50%;
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.edit-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px;
    background-color: #178E79;
	width: 50%;
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;

}
.custom-container {
    display: flex;
    justify-content: center; /* Centre les boutons horizontalement */
    gap: 15px; /* Espacement entre les boutons */
    flex-wrap: wrap; /* Passe à la ligne si nécessaire */
    margin-top: 20px;
}
.centered-div {
    text-align: left; /* Aligner le texte à gauche */
    width: 80%; /* Ajustez la largeur selon votre mise en page */
    margin: 0 auto; /* Centrer la div */
}

/* Styles des boutons */
.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #178E79 !important;
    background-color: #178E79 !important; /* Force le fond */
    color: white !important; /* Force le texte en blanc */
    border: none;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 18px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    cursor: pointer;
    max-width: 400px;
    width: auto;
    text-align: center;
}
    .custom-button:hover {
        background-color: #EDF6EE;
    }

/* Alignement de l'icône dans le bouton */
.custom-button i {
    margin-right: 8px;
}


.edit-btn:hover {
    background-color: #EDF6EE;
}

.edit-btn i {
    margin-right: 5px;
    font-size: 18px;
}
.edit-cell {
    display: flex;
	width: 100%;
	 gap: 10px;
    justify-content: center;  /* Centre horizontalement le contenu */
    align-items: center;       /* Centre verticalement le contenu */
    height: 100%;              /* Assure un alignement correct en hauteur */
}
.btn-back {
   
    background-color: #178E79; /* Rouge */
       padding: 12px 25px;
           
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
}

.btn-back:hover {
    background-color: #1B9C85;
	color: white;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;  /* Espacement entre l'icône et le texte */
    padding: 12px 20px;
    background-color: #1B9C85;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 15px;  /* Espacement entre les boutons */
}

.download-btn i {
    font-size: 20px;
}

.download-btn:hover {
    background-color: white;
 color: #1B9C85;
}
         
logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espace entre l'icône et le texte */
    padding: 12px 25px;
    background-color: #1B9C85; /* Rouge pour indiquer une action critique */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.logout-btn i {
    font-size: 20px;
}

.logout-btn:hover {
    background-color: white; /* Rouge plus foncé au survol */
    transform: scale(1.05); /* Effet d'agrandissement */
}

.logout-btn:active {
    transform: scale(0.95); /* Effet de clic */
}		 
      
         
           
         @media (max-width: 768px) {
		.form-row {
        flex-direction: column; /* Passe en colonne sur mobile */
        gap: 10px; /* Espacement réduit pour mobile */
		}
		.page-wrapper1 {
		width: 100%;
		margin: 0 auto;
		padding: 20px;
		text-align: center; /* Centre le contenu */
		}
            .split-container {
                flex-direction: column;
            }

            .left-column, .right-column {
                flex: none;
                width: 100%;
                padding: 10px;
            }
		
		.form-container1 {
    width: 100%;
	margin: 50px auto; /* Ajout de marges de 50px en haut et en bas */

    padding: 2px;
    border: 0px solid #ccc!important;
    border-radius: 0px!important;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.0)!important;
    background-color: #f9f9f9;
    text-align: left; /* Aligner le texte à gauche à l'intérieur du conteneur */
	}
	
	

	  .table-container, .table-container th, .table-container td {
        display: block;
        width: 100%;
    }

    .table-container th {
        display: none; /* Masquer les en-têtes */
		
    }

    .table-container tr {
        margin-bottom: 20px; /* Espacement plus net entre chaque bloc */
        padding: 15px;
        border-radius: 10px;
        background-color: #f9f9f9; /* Fond pour différencier les sections */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ombre discrète */
        position: relative;
    }

    .table-container tr:nth-child(odd) {
        border-left: 5px solid #0170B9; /* Couleur verte pour différencier */
    }

    .table-container tr:nth-child(even) {
        border-left: 5px solid #1B9C85; /* Couleur orange pour alternance */
    }

    .table-container td {
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #ddd; /* Ligne de séparation entre les données */
        position: relative;
    }

    .table-container td:last-child {
        border-bottom: none; /* Supprimer la bordure en bas du dernier élément */
    }

    .table-container td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #333;
        margin-bottom: 5px;
    }
	    .table-container td.download-cell {
        flex-direction: column; /* Aligne les boutons en colonne */
        align-items: center;  /* Centre les boutons horizontalement */
    }

    .download-btn {
        width: 100%; /* Ajuste la largeur à la taille du contenu */
        text-align: center;
        margin-bottom: 15px; /* Ajoute un espace entre les boutons */
    }

    .download-btn:last-child {
        margin-bottom: 0; /* Supprime la marge du dernier bouton */
    }

.form-container2 {
    width: 90%;

	
}
