/* Grille stats Achat : statuts (4) à gauche, Prestation (même période) à droite */
.achat-stats-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 8px 0;
    align-items: start;
}
.achat-stats-wrapper.achat-stats-wrapper--prestation-hidden {
    grid-template-columns: 1fr;
}
.achat-stats-col.achat-stats-status {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
@media (max-width: 992px) {
    .achat-stats-col.achat-stats-status {
        grid-template-columns: repeat(2, 1fr);
    }
}
.achat-stats-prestation-slot.hidden {
    display: none !important;
}

/* Type service : cartes cliquables (même style que Total / Payé / Non payé) */
.achat-type-service-panel .achat-type-service-clickable {
    cursor: pointer;
    transition: opacity 0.15s;
}
.achat-type-service-panel .achat-type-service-clickable:hover {
    opacity: 0.9;
}

/* Vue liste Achat : zone des données toujours visible */
#content .list-container {
    display: block !important;
    visibility: visible !important;
}

/* Coloration des lignes Achat selon le statut de paiement */
.achat-row-paid td {
    background-color: #eafaf3 !important; /* 🟢 Vert clair pour "Payé" */
}

.achat-row-partial td {
    background-color: #fff3cd !important; /* 🟡 Jaune clair pour "Payé partiellement" */
}

.achat-row-unpaid td {
    background-color: #fbeaea !important; /* 🔴 Rouge clair pour "Non payé" */
}

