.projects-grid{
	display: grid;
    grid-template-columns: repeat(3 , 1fr);
    gap: 2rem 1rem;
}

/* .projects-grid .project-item  *{
	padding : 0!important;
	margin : 0!important;
	box-sizing : border-box!important;
} */

.projects-grid .project-item {
    background-color: #fff;
    box-shadow: 0 0 1px 1px #eeebeb;
    padding: 3rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.sep-ligne{
	display: inline-block;
    height: 1px;
    width: 100%;
    background: black;
}

.project-item-title{
	display : flex;
	justify-content : space-between;
	align-items : center;
	gap : 5px;
}
.project-item-title p{
	flex:1.1;
}
.add-users-to-project{
	float : right;
	background-color: black;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
	display : flex;
	align-items : center;
	justify-content : center;
	position : absolute;
	top : 13px;
	right : 13px;
}

form.form-add-users-to-project {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #fffbfb;
	overflow : auto;
	z-index : 1;
}

form.form-add-users-to-project span.fal.fa-times{
	position: absolute;
    right: 1rem;
    top: 1rem;
	cursor : pointer;
}

form.form-add-users-to-project .all-registre-users{
	margin-top : 1rem!important;
	display : flex;
	gap : 5px;
	flex-wrap : wrap;
}

form.form-add-users-to-project .all-registre-users input[type="checkbox"]{
	display : none;
}

form.form-add-users-to-project .all-registre-users label{
	font-size: 12px;
    border: 1px solid #000;
    padding: 0px 12px!important;
    border-radius: 13px;
}

form.form-add-users-to-project button[type=submit]:not(.w-btn){
	margin-top: 1rem!important;
    background-color: #000!important;
    border: none!important;
    color: #fff!important;
    padding: 3px 12px!important;
    font-size: 18px;
}
.project-item-users{
	width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    overflow: auto;
}

.project-item-users .project-item-users-user{
	width: 40px;
    height: 40px;
    background-color: #eae2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
	font-size : 15px;
	cursor : pointer;
}
.project-item-status {
    display: flex!important;
    align-items: center!important;
    font-family: Arial, sans-serif!important;
    font-size: 14px!important;
    border-radius: 5px!important;
    background-color: #f9f9f9!important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1)!important;
	position : relative;
}
.project-item-status.en_cours{
	border-left: 5px solid #ffc107!important;
    background-color: #fffbea!important;
    color: #856404!important;
}

.project-item-status.en_attente {
    border-left: 5px solid #17a2b8!important;
    background-color: #e8f7fc!important;
    color: #0c5460!important;
}

.project-item-status.terminé {
    border-left: 5px solid #28a745!important;
    background-color: #e9fbe9!important;
    color: #155724!important;
}

.project-item-start-date , .project-item-end-date {
    position: relative;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.project-item-start-date::after , .project-item-end-date::after{
	content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #5bc0de;
    border-radius: 50%;
    right: -20px;
}
.project-item-end-date::after{
	background-color: #ffa500!important;
}

.project-item i.fal.fa-pencil{
	position : absolute;
	right : 1rem;
	cursor : pointer;
	display : none;
}

.project-options{
    border-top: 1px solid #ddd;
	display : flex;
	align-items:center;
	gap : 10px;
}

.project-options i {
    font-size: 14px;
    cursor: pointer!important;
    border-radius: 50%!important;
    background-color: #ffffff!important;
    color: #555!important;
    border: 2px solid rgba(0, 0, 0, 0.1)!important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2)!important;
    transition: all 0.3s ease-in-out!important;
}

.project-options i:hover{
	background-color: #007bff!important;
    color: #fff!important;
    transform: scale(1.2)!important;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5)!important;
}
.project_item.project-item-task-number {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #f0f4f7;
    border: 1px solid #d1d8e0;
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.project_item.project-item-task-number a {
    text-align: center;
    color: #4caf50; /* Vert si tâches > 0 */
}

.project_item.project-item-task-number a{
    color: #4caf50;
}

.project_item.project-item-task-number span.negative {
    color: #f44336; /* Rouge si 0 tâche */
}

.project_item.project-item-task-number:hover {
    background-color: #e0e7ff;
    transform: scale(1.05); /* Agrandissement au survol */
}

.project_item.project-item-task-number a:after {
    content: "📝";
    margin-left: 5px;
}
.retard-indicator {
    width: 100%;
    padding: 5px 10px !important;
    background: #FEE2E2	;
    font-size: 14px;
    border-radius: 5px;
    color: #DC2626;
    display: inline-block;
    animation: pulse-soft 3s infinite ease-in-out, gentleBlink 6s infinite;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.15); 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
}

.retard-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 38, 38, 0.05),
    rgba(220, 38, 38, 0.1),
    transparent
);

    animation: wave 3s infinite linear;
    z-index: -1;
}


/*@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 6px 15px rgba(252, 117, 52, 0.5); }
    100% { transform: scale(1); }
}*/

@keyframes pulse-soft {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.15);
  }
  50% {
    transform: scale(1.015);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.15);
  }
}


@keyframes gentleBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

@keyframes wave {
    0% { left: -100%; }
    100% { left: 100%; }
}

.retard-indicator:hover {
    animation: pulse 1s infinite ease-in-out, gentleBlink 3s infinite;
    box-shadow: 0 6px 16px rgba(252, 117, 52, 0.5);
    transform: translateY(-1px);
}
/* Style de base pour tous les items de priorité */
.project-item-priority {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: absolute;
    top: -1rem;
    left: 21px;
}

/* Priorité 1 (Haute) - Style urgent */
.project-item-priority[data-priority="Priorité 1"],
.project-item-priority.Priorité-1 {
    background: #F97316;
    color: white;
    animation: pulse-priority1 2s infinite;
}

/* Priorité 2 (Moyenne) - Style attention */
.project-item-priority[data-priority="Priorité 2"],
.project-item-priority.Priorité-2 {
    background: #3B82F6	;
    color: white;
}

/* Priorité 3 (Basse) - Style normal */
.project-item-priority[data-priority="Priorité 3"],
.project-item-priority.Priorité-3 {
    background: #A78BFA;
    color: #ffff;
}

/* Animation pour la priorité 1 */
@keyframes pulse-priority1 {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* Effet au survol pour toutes les priorités */
.project-item-priority:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Version alternative avec icônes Font Awesome */
.project-item-priority::before {
    margin-right: 6px;
    font-family: 'Fontawesome';
    font-weight: 900;
}

.project-item-priority[data-priority="Priorité 1"]::before {
    content: '\f071'; /* icône warning */
}

.project-item-priority[data-priority="Priorité 2"]::before {
    content: '\f12a'; /* icône exclamation */
}

.project-item-priority[data-priority="Priorité 3"]::before {
    content: '\f058'; /* icône check-circle */
}
/* Conteneur principal */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding-left: 20px;
}

/* Ligne verticale */
.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    width: 2px;
    height: 100%;
    background: #ddd;
}

/* Élément de la timeline */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

/* Point circulaire */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #0073aa;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Date */
.timeline-date {
    font-size: 14px;
    color: #0073aa;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Contenu */
.timeline-content {
    background: #f9f9f9;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .timeline {
        padding-left: 15px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item {
        padding-left: 25px;
    }

    .timeline-item::before {
        width: 10px;
        height: 10px;
        left: -2px;
    }
}
.l-section.height_small {
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
}

/* Form container */
.form-container .fields{
	display : flex;
	gap : 2rem;
	margin-bottom : 2rem;
	align-items : center;
	position : relative;
}
/* tasks */
.tasks-container .table-container{
	max-width: 100%;
    overflow: auto;
}
.tasks-container .table-container table{
	width : calc(100vh + 100%)
}
.tasks-container .project-title{
	width: 100%;
    background-color: #f1eeee;
    padding: 1rem;
    font-size: 20px;
    margin-bottom: 1rem;
	cursor : pointer;
}
.task-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	
}

/* En-tête */
.task-table thead {
    background: #f5f5f5;
    color: #333;
    font-weight: bold;
}
.task-table th , .task-table td{
	border: 1px solid #ddd;
}
.task-table th {
    padding: 12px;
    text-align: left;
}

/* Lignes du tableau */
.task-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #555;
}

/* Effet de survol */
.task-table tbody tr:hover {
    background: #f0f8ff;
}

/* Icônes et styles spécifiques */
.task-table td i {
    margin-right: 5px;
    color: #000000;
}

.task-table td:last-child {
    font-style: italic;
    color: #777;
}

.task-table td.options i  {
	border: 1px solid #000000;
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: #000000;
    font-size: 12px;
}
.task-table td.options i.fal.fa-trash {
    background-color: #f93e3e !important;
    border: none!important;
    color: #fff;
}
.editable{
	position : relative;
}
.editable .modal{
	display : none;
	position: relative;
}

.add-new-task input{
	width : 70%!important;
}

.add-new-task .table-add-new-task{
	background-color: #2995e8;
    color: #fff;
    font-size: 11px;
    border-radius: 10px;
}

.editable .modal button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #069d06;
    border-radius: 50%;
    width: 27px;
    height: 27px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
	display : none;
}
.editable .modal button i{
	color : #fff!important;
	margin : 0!important;
}
.task-detail-header{
	display : flex;
	align-items : center;
	justify-content : space-between;
	margin-bottom : 3rem;
}
.task-detail-header h6{
	margin-bottom : 0!important;
}
.task-detail-header span.username{
	background-color: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
}
.task-detail-content{
	display : flex;
	margin-top : 2rem;
}
.task-detail-content .task-detail-left, .task-detail-content .task-detail-right {
    flex-basis: 50%;
}
.task-detail-content .task-detail-left{
	padding-right : 2rem!important;
	border-right : 1px solid!important;
}
.task-detail-content .task-detail-right{
	padding-left : 2rem!important;
}
.task-detail-content .task-detail-left .task-detail-field {
	display : flex;
	align-items:center;
	gap:10px;
	margin-bottom : 1rem;
}
.task-detail-content .task-detail-left .task-detail-field label{
	flex-basis : 40%;
}


.comment-to-user {
    position: relative;
    margin-top: 1rem;
}
.comment-to-user button {
    position: absolute!important;
    bottom: -55px!important;
    right: -1px!important;
}
.filter-list {
    background-color: #ffffff !important;
    max-height: 40px!important;
    height: 30px!important;
    min-height: 30px!important;
    border-radius: 10px!important;
}
.inprogress , .pending , .completed{
	background-color : #ffa859!important;
	color : #ffff!important;
	font-weight : 700!important;
}
.pending{
	background-color : #00a9ff!important;
}
.completed{
	background-color : #46cd6d!important;
}
/* user tasks */

/* Style de base pour le tableau */
.user-tasks {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
	background-color : #fff!important;
	font-size : 14px;
}
.user-tasks thead tr{
	background-color : #f5f5f5!important;
}
.user-tasks th, .user-tasks td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.user-tasks th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.user-tasks td input,
.user-tasks td textarea,
.user-tasks td select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.user-tasks td textarea {
    resize: vertical;
    min-height: 50px;
}

/* Ajouter un effet au survol de chaque ligne */
.user-tasks tr:hover {
    background-color: #f9f9f9;
}

/* Style pour les en-têtes du tableau */
.user-tasks th {
    background-color: #f1f1f1;
    color: #333;
}

/* Ajouter un effet sur les champs select */
.user-tasks td select:focus,
.user-tasks td input:focus,
.user-tasks td textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Style pour les inputs type date */
.user-tasks td input[type="date"] {
    cursor: pointer;
}

/**/

/* Kanban */

.kanban-board {
    width: 100%;
	height : 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
	overflow : auto;
}

.kanban-board-header {
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 30px 0;
}

.kanban-board-filter {
	display : flex;
	align-items : center;
	gap : 5px;
}

.kanban-board-filter > div{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;

}

.kanban-board-filter > div.filter-all {
    background: linear-gradient(90deg, #fca6a6, #fcc063, #5ab45a)!important;
	width: 50px!important;
    height: 50px!important;
}

.kanban-board-filter > div.filter-en-attente{
	background-color : #fca6a6 !important;
}

.kanban-board-filter > div.filter-en-cours{
	background-color : #fcc063 !important;
}

.kanban-board-filter > div.filter-termine{
	background-color : #5ab45a !important;
}

.kanban-board h3 {
    text-align: center;
    font-size: 2rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 2px;
	margin : 0!important;
}

.kanban-lists {
    display: flex;
    justify-content: space-between;
    gap: 20px;
	height : 100%;
}

.kanban-list {
    background-color: #f9f9f9;
    flex: 1;
    border-radius: 8px;
    padding: 0 10px 10px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    max-height: 100%;
    overflow: auto;
}

.kanban-title {
    text-align: center;
    font-size: 1.5rem;
    color: #555;
    border-bottom: 2px solid #dad2d2;
    position: sticky;
    top: 0px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    z-index: 1000;
}

.kanban-item {
    margin: 10px 0;
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: grab;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
/*     margin-left: 3rem; */
	position : relative;
}
/* .kanban-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -47px;
    transform: translateY(-50%);
    height: 2px;
    width: 14%;
    background-color: #000000;
} */
.kanban-by-project {
    position: relative;
    padding: 15px;
	margin-bottom: 1rem;
    border-radius: 16px;
	color: white;
	cursor : move;
}
.kanban-by-project.kanban-project-en-attente {
    background-color: #fca6a6 !important;
}
.kanban-by-project.kanban-project-en-cours {
	background-color: #fcc063;
}
.kanban-by-project.kanban-project-terminé {
    background-color: #5ab45a;
}
/* .kanban-by-project::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 100%;
    background-color: #000;
} */
.kanban-project-title{
	font-size: 16px;
    font-weight: 700;
}
.kanban-item .kanban-item-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 3rem;
	color : #000;
}
.kanban-item .kanban-item-header p{
	margin : 0!important;
	flex-basis : 100%;
	font-size : 14px;
	line-height : 1;
}
.kanban-item .kanban-item-header span{
    background-color: #fff;
    border-radius: 50%;
    font-size: 12px;
    width: 34px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kanban-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kanban-item-en-attente {
    background-color: #ffcccc;
    color: #8b0000;
}

.kanban-item-en-cours {
    background-color: #ffebcc;
    color: #d2691e;
}

.kanban-item-terminé {
    background-color: #ccffcc;
    color: #006400;
}

.custom-alert {
    position: fixed;
    top: 2rem;
    right: 1rem;
    padding: 15px 20px;
    font-size: 16px;
    color: black;
    background: white;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease,transform 0.3s ease;
    z-index: 5000;
    border-left: 5px solid;
}

/* Couleurs pour les différents types d'alertes */
.custom-alert.custom-alert-info {
    color: #007bff!important;
    border-left: 5px solid #007bff!important;
}

.custom-alert.custom-alert-success {
    color: #28a745!important;
    border-left: 5px solid #28a745!important;
}
.custom-alert.custom-alert-error {
    color : red!important;
    border-left: 5px solid red!important;
}
.custom-alert.custom-alert-warning {
    color: #ffc107!important;
    border-left: 5px solid #ffc107!important;
}

.custom-alert.custom-alert-danger {
    color: #dc3545!important;
    border-left: 5px solid #dc3545!important;
}
.custom-alert.visible{
    opacity : 1!important;
}
/**/
/* WebKit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
    height: 8px; /* Height for horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar handle color */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Handle color on hover */
}

#wpcf7-f242-p224-o1 .wpcf7-not-valid-tip , #wpcf7-f242-p224-o1 .wpcf7-response-output{
	display:none!important;
}

/********/

/* Conteneur principal */
.projets-filtre-container {
    font-family: 'Segoe UI', system-ui, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Filtres */
.priority-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: transparent;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Liste des projets */
.projets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.projet-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
}

.projet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.projet-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projet-title {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

/* Badges de priorité */
.priority-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Styles par priorité (couleurs plus subtiles) */
.priority-Priorité-1, .priority-Priorité-1 .priority-badge {
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border-color: #ff4d4d;
}

.priority-Priorité-2, .priority-Priorité-2 .priority-badge {
    background-color: rgba(255, 179, 71, 0.1);
    color: #ff8c00;
    border-color: #ff8c00;
}

.priority-Priorité-3, .priority-Priorité-3 .priority-badge {
    background-color: rgba(119, 221, 119, 0.1);
    color: #2e8b57;
    border-color: #2e8b57;
}

/* Animation pour les filtres */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Version mobile */
@media (max-width: 768px) {
    .projets-list {
        grid-template-columns: 1fr;
    }
    
    .priority-filters {
        justify-content: center;
    }
}


/**/
#form-loader {
  display: none;
  background-color: #FEF3C7; /* Jaune clair */
  color: #92400E; /* Orange foncé */
  padding: 12px 20px;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(252, 211, 77, 0.3);
  width: fit-content;
  margin: 15px auto;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  position: relative;
}

.loader-text::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid #FCD34D;
  border-top: 2px solid #F97316;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/**/

.commentaire-form-container {
    width: 100%;
    padding: 20px;
    background-color: #fff;
}

.commentaire-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-label {
    font-size: 1em;
    color: #333;
    margin-bottom: 5px;
}

.form-input {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.form-input:focus {
    border-color: #0073e6;
}

.form-button {
    padding: 12px;
    font-size: 1em;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: #005bb5;
}

.response-message {
    margin-top: 15px;
    font-size: 1em;
    font-weight: bold;
}
/**/
/* Style bouton Affecter */
button.btn-assign {
  background-color: #2563eb; /* bleu */
  color: #fff;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
button.btn-assign:hover {
  background-color: #1e40af; /* bleu plus foncé au hover */
}

/* Style bouton Annuler */
button.btn-unassign {
  background-color: #ef4444; /* rouge clair */
  color: #fff;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
button.btn-unassign:hover {
  background-color: #b91c1c; /* rouge foncé au hover */
}



.taches-jad table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.taches-jad th, .taches-jad td {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
}
.taches-jad th {
    background: #f3f4f6;
    text-align: left;
}