.mp-mes-parties h2 {
    margin-bottom: 1.2em;
}

.mp-empty {
    font-style: italic;
    color: #666;
}

.mp-table {
    width: 100%;
    border-collapse: collapse;
}

.mp-table th,
.mp-table td {
    padding: .65em .9em;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
    text-align: left;
}

.mp-table thead th {
    background: #f8f8f8;
    font-weight: 600;
    font-size: .9em;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* =========================================================
   Colonnes
   ========================================================= */
.mp-col-image {
    width: 60px;
}

.mp-col-image img {
    display: block;
    border-radius: 4px;
}

.mp-col-name a {
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.mp-col-name a:hover {
    text-decoration: underline;
}

.mp-col-order small {
    display: block;
    color: #888;
    font-size: .8em;
}

/* =========================================================
   Badge de statut
   ========================================================= */
.mp-status {
    display: inline-block;
    padding: .2em .7em;
    border-radius: 3px;
    font-size: .82em;
    background: #eee;
    color: #444;
}

/* Variantes de couleur par statut (optionnel – personnalisable) */
.mp-status--Terminée  { background: #d4edda; color: #155724; }
.mp-status--completed { background: #d4edda; color: #155724; }
.mp-status--En\ cours { background: #fff3cd; color: #856404; }
.mp-status--processing { background: #fff3cd; color: #856404; }
.mp-status--En\ attente { background: #f8d7da; color: #721c24; }
.mp-status--on-hold    { background: #f8d7da; color: #721c24; }

/* =========================================================
   Responsive – affichage mobile en liste
   ========================================================= */
@media (max-width: 680px) {

    .mp-table thead {
        display: none;
    }

    .mp-table tr {
        display: block;
        margin-bottom: 1em;
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        overflow: hidden;
    }

    .mp-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Étiquette auto-générée depuis l'attribut data-title */
    .mp-table td::before {
        content: attr(data-title);
        font-weight: 600;
        margin-right: 1em;
        font-size: .85em;
        color: #666;
        flex-shrink: 0;
    }

    /* La colonne image n'a pas besoin d'étiquette */
    .mp-col-image::before {
        display: none;
    }
}