/* Conteneur global des demandes */
.demande-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* Chaque fiche / carte */
.demande-item {
    width: 300px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demande-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

/* En-tête de la carte */
.demande-item__header {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 1.05rem;
    background: linear-gradient(0deg, #f4f6ff, #f8f9ff);
    border-bottom: 1px solid #e6e8eb;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Image éventuelle */
.demande-item__image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e6e8eb;
    flex-shrink: 0;
}

/* Contenu de la carte */
.demande-item__body {
    padding: 18px;
    font-size: 0.975rem;
}

/* Boutons bénévole */
.btn-benevole {
    display: inline-block;
    padding: 8px 12px;
    margin-right: 5px;
    margin-top: 5px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Statuts */
.demande-item.status-publish { background-color: #ffffff; border: 1px solid #cccccc; }
.demande-item.status-action-benevole { background-color: #fff8dc; border: 1px solid #f0c36d; }
.demande-item.status-action-terminee { background-color: #d0f0c0; border: 1px solid #a0d080; }
.demande-item.status-action-annulee { background-color: #f8d7da; border: 1px solid #f5a1a8; }
