/* CSS personnalisé pour les adhérents Smirtom */

/* Adhérents en brouillons - fond bleu clair */
tr.adherent-draft {
    background-color: #e3f2fd !important;
}

tr.adherent-draft:hover {
    background-color: #bbdefb !important;
}

tr.adherent-draft td {
    background-color: #e3f2fd !important;
    color: #1976d2 !important;
}

tr.adherent-draft:hover td {
    background-color: #bbdefb !important;
}

/* Adhérents en brouillons avec historique de passages - fond bleu foncé */
tr.adherent-draft-with-history {
    background-color: #1976d2 !important;
}

tr.adherent-draft-with-history:hover {
    background-color: #1565c0 !important;
}

tr.adherent-draft-with-history td {
    background-color: #1976d2 !important;
    color: white !important;
    font-weight: bold !important;
}

tr.adherent-draft-with-history:hover td {
    background-color: #1565c0 !important;
}

/* Adhérents résiliés - fond gris clair */
tr.adherent-resiliated {
    background-color: #f5f5f5 !important;
}

tr.adherent-resiliated:hover {
    background-color: #eeeeee !important;
}

tr.adherent-resiliated td {
    background-color: #f5f5f5 !important;
    color: #757575 !important;
    text-decoration: line-through;
}

tr.adherent-resiliated:hover td {
    background-color: #eeeeee !important;
}

/* Adhérents exclus - fond rouge très clair */
tr.adherent-excluded {
    background-color: #ffebee !important;
}

tr.adherent-excluded:hover {
    background-color: #ffcdd2 !important;
}

tr.adherent-excluded td {
    background-color: #ffebee !important;
    color: #d32f2f !important;
}

tr.adherent-excluded:hover td {
    background-color: #ffcdd2 !important;
}

/* Pro members - light green background */
tr.adherent-pro {
    background-color: #e8f5e8 !important;
}

tr.adherent-pro:hover {
    background-color: #d4f5d4 !important;
}

tr.adherent-pro td {
    background-color: #e8f5e8 !important;
    color: #2e7d32 !important;
}

tr.adherent-pro:hover td {
    background-color: #d4f5d4 !important;
}

/* Forcer l'application sur tous les éléments des cellules */
tr.adherent-draft td *, 
tr.adherent-draft-with-history td *, 
tr.adherent-resiliated td *, 
tr.adherent-excluded td *,
tr.adherent-pro td * {
    background-color: inherit !important;
    color: inherit !important;
}

/* Liens dans les cellules */
tr.adherent-draft td a {
    color: #1976d2 !important;
    text-decoration: underline !important;
}

tr.adherent-draft-with-history td a {
    color: white !important;
    text-decoration: underline !important;
}

tr.adherent-resiliated td a {
    color: #757575 !important;
    text-decoration: underline !important;
}

tr.adherent-excluded td a {
    color: #d32f2f !important;
    text-decoration: underline !important;
}

tr.adherent-pro td a {
    color: #2e7d32 !important;
    text-decoration: underline !important;
}
    text-decoration: line-through;
}

.adherent-excluded td {
    color: #d32f2f !important;
}

/* Style pour les badges de statut */
.badge-draft {
    background-color: #2196f3;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.badge-draft-with-history {
    background-color: #1976d2;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.badge-resiliated {
    background-color: #9e9e9e;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.badge-excluded {
    background-color: #f44336;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.badge-active {
    background-color: #4caf50;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}
