/* MODE LIGHT : Alternance des lignes */
html[data-bs-theme="light"] table.table-striped tr:nth-child(even) {
    background-color: #f5f5f5 !important; /* Gris clair pour alternance */
}
html[data-bs-theme="light"] table.table-striped tr:nth-child(odd) {
    background-color: #ffffff !important; /* Fond blanc pour alternance */
}

/* MODE DARK : Forcer l'alternance des lignes */
html[data-bs-theme="dark"] table.table-striped tr:nth-child(even) {
    background-color: #333333 !important; /* Gris foncé forcé pour alternance */
}
html[data-bs-theme="dark"] table.table-striped tr:nth-child(odd) {
    background-color: #1a1a1a !important; /* Fond noir pour alternance */
}

/* Survol en mode dark */
html[data-bs-theme="dark"] table.table-striped tr:hover {
    background-color: #444444 !important; /* Gris clair pour survol */
    color: #ffffff !important; /* Texte blanc forcé */
}

/* Police constante et bordures dans le mode dark */
html[data-bs-theme="dark"] table.table-striped th,
html[data-bs-theme="dark"] table.table-striped td {
    background-color: #1a1a1a !important; /* Fond noir forcé pour les cellules */
    color: #f0f0f0 !important; /* Texte gris clair pour meilleure lisibilité */
    border: 1px solid #555 !important; /* Bordures sombres mais visibles */
}
