/* G101-D - COUCHE DE RECETTE : corrections de presentation communes, chargee UNIQUEMENT en environnement de recette (APP_ENV=recette + GL_RECETTE_VARIANTES=1), apres toutes les variantes.
   Elle ne modifie aucun comportement : couleurs, contrastes et conflits entre variantes. Retour a l'ancien design : ?variantes=off.  Mesures de contraste WCAG AA (axe-core) sur la societe de demonstration. */

/* --- conflit G68 (tableau de bord) x G96 / shell : le libelle du bouton principal prenait la couleur du fond (#1A3B5D sur #1A3B5D) --- */
body .g68-act.g68-act--primary, body .g68-act.g68-act--primary span, body .g68-act.g68-act--primary i { color: #fff !important; }

/* --- cartes et pastilles de la charte historique : blanc sur cyan / vert clair / orange (2,2 a 2,4 : insuffisant) --- */
.card.bg-info, .bg-info.text-white, .badge.bg-info { background-color: #117a8b !important; color: #fff !important; }
.card.bg-success, .bg-success.text-white, .badge.bg-success { background-color: #157347 !important; color: #fff !important; }
.badge.bg-warning, .bg-warning.badge, .badge-corporate.badge-warning, .badge.badge-warning { background-color: #f4b740 !important; color: #1f2937 !important; }
.badge.bg-secondary, .bg-secondary.badge, .badge-corporate.badge-secondary, .badge.badge-secondary { background-color: #4f7f23 !important; color: #fff !important; }
.badge.bg-primary, .bg-primary.badge { background-color: #1f6f9f !important; color: #fff !important; }
.text-warning { color: #8a5a00 !important; }
.text-muted, #filter-text { color: #5b6672 !important; }

/* --- texte vert de marque (#7BC043) et verts / bleus trop clairs sur fond clair --- */
.status-valid, .detail-value.status-valid, .cost-value { color: #3f7a1a !important; }
.currency-inline { color: #1e8449 !important; }
.currency-label, .limit-label { color: #5b6672 !important; }
.kpi-value.neutral { color: #5b6672 !important; }
h6[style*="#28a745"] { color: #1e7e34 !important; }
h6[style*="#007bff"] { color: #0056b3 !important; }
.activity-status-success-text { color: #1e7e34 !important; }

/* --- lignes « non accompli » des reservations partenaires : texte fonce sur fond rose-gris --- */
.status-nonaccompli td, .status-nonaccompli small, .status-nonaccompli td * { color: #1e293b !important; }

/* --- mesure de performance du pied de page (affichee seulement en recette) : contraste --- */
.badge.bg-warning small, strong.text-warning { color: #8a5a00 !important; }

/* sous-titres de carte (h3 > small) : couleur heritee du titre (blanc sur bandeau fonce, fonce sur fond clair) au lieu du gris ardoise de G96 sur bleu nuit (1,4) */
h3 > small.ms-2 { color: inherit !important; }

/* --- renforts de specificite (feuilles de page / styles en ligne plus precis que les regles ci-dessus) --- */
html body .badge.bg-primary, html body .bg-primary.badge, html body span.badge.bg-primary.d-inline-flex { background-color: #1f6f9f !important; color: #fff !important; }
html body .btn-outline-danger { color: #b02a37 !important; }
html body .btn-warning, html body #voirImpayesBtn { color: #1f2937 !important; }
html body .text-success { color: #157347 !important; }
html body .status-honoree small, html body .status-honoree td, html body .status-honoree td * { color: #14352a !important; }
html body .detail-item .detail-value.status-valid, html body .status-valid, html body .cost-info .cost-value { color: #3f7a1a !important; }
