/* Composantes : fond + progression */
.gantt-component .bar {
  fill: #DDE8FD !important;           /* fond */
}

.gantt-component .bar-progress {
  fill: #1D68AA !important;           /* progression */
  transition: width .3s ease;         /* petite anim de largeur */
}

/* (optionnel) progression attendue en léger bleu */
.gantt-component .bar-expected-progress {
  fill: #1D68AA22 !important;         /* 13% d’opacité environ */
}

/* (optionnel) hover adouci sur le fond */
.gantt-component .bar-wrapper:hover .bar {
  fill: #cbdafc !important;
}

.gantt-activity-main .bar {
  fill: #FFF4D6 !important; /* Jaune très clair */
}

/* Barre de progression */
.gantt-activity-main .bar-progress {
  fill: #F9C851 !important; /* Jaune KPLAN */
  transition: width .3s ease;
}

/* Barre de progression attendue (si activée) */
.gantt-activity-main .bar-expected-progress {
  fill: #F9C85133 !important; /* Jaune transparent (~20% opacité) */
}

/* Hover doux */
.gantt-activity-main .bar-wrapper:hover .bar {
  fill: #ffe9b4 !important;
}

.gantt-activity-sub .bar {
  fill: #EAFCEB !important; /* Vert pâle */
}

.gantt-activity-sub .bar-progress {
  fill: #45C270 !important; /* Vert vif - succès */
  transition: width .3s ease;
}

.gantt-activity-sub .bar-expected-progress {
  fill: #45C27033 !important; /* Vert transparent (20% opacité) */
}

.gantt-activity-sub .bar-wrapper:hover .bar {
  fill: #d4f6d7 !important;
}
.gantt .arrow {
  stroke: #B0B0B0;           /* gris moyen lisible */
  stroke-width: 1.5px;       /* plus visible que le 1px par défaut */
  fill: none;
  marker-end: url(#arrow);   /* applique une tête de flèche si définie */
  opacity: 0.7;              /* douce transparence */
}

.gantt-container .current-highlight {
  stroke: #DC3545;
  stroke-width: 2px;
  opacity: 0.9;
  animation: pulse-today 2s infinite ease-in-out;
}

@keyframes pulse-today {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
