/* Styles CiviCRM épurés - Interface moderne sans surcharge */

/* Base pour toutes les cellules de date */
.crm-search-display .crm-search-result td[data-field*="Date_Prochain_Contact"] {
    position: relative !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
}

/* Effet hover subtil */
.crm-search-display .crm-search-result td[data-field*="Date_Prochain_Contact"]:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* URGENT - Rouge subtil */
.crm-search-display .date-urgent {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%) !important;
    color: #c62828 !important;
    border-left: 4px solid #d32f2f !important;
    font-weight: 600 !important;
}

/* ATTENTION - Orange moderne */
.crm-search-display .date-attention {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%) !important;
    color: #ef6c00 !important;
    border-left: 4px solid #ff9800 !important;
    font-weight: 600 !important;
}

/* BIENTÔT - Jaune doux */
.crm-search-display .date-bientot {
    background: linear-gradient(135deg, #fffde7 0%, #f9fbe7 100%) !important;
    color: #f57f17 !important;
    border-left: 4px solid #fbc02d !important;
    font-weight: 500 !important;
}

/* NORMAL - Bleu apaisant */
.crm-search-display .date-normal {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1e7fd 100%) !important;
    color: #1565c0 !important;
    border-left: 4px solid #2196f3 !important;
    font-weight: 500 !important;
}

/* FUTUR - Violet élégant */
.crm-search-display .date-futur {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%) !important;
    color: #7b1fa2 !important;
    border-left: 4px solid #9c27b0 !important;
    font-weight: 500 !important;
}

/* VIDE - Gris discret */
.crm-search-display .date-vide {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%) !important;
    color: #616161 !important;
    border-left: 4px solid #bdbdbd !important;
    font-style: italic !important;
}

/* Amélioration générale du tableau */
.crm-search-display table {
    border-spacing: 0 2px !important;
}

.crm-search-display .crm-search-result tr {
    transition: all 0.2s ease !important;
}

.crm-search-display .crm-search-result tr:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important:
/* Style blanc dominant */
.style-blanc-force {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: normal !important;
}


/* Test CSS très agressif pour voir s'il fonctionne */
.details-sans-p {
    background-color: red !important;
    color: white !important;
}

.crm-search-display .details-sans-p {
    background-color: blue !important;
}

.crm-search-display td.details-sans-p {
    background-color: green !important;
}
