/* POP Participants Display - Styles */

.pop-participants-wrapper {
    position: relative;
}

/* Header bar with badge */
.pop-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pop-header-title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.pop-pending-badge {
    background: #ff5906;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.pop-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    border: none;
    background: #e5e7eb;
    color: #111827;
    font-size: 12px;
    cursor: pointer;
}

.pop-sort-btn:hover {
    background: #d1d5db;
}

.pop-sort-icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-participants-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pop-participant-card {
    background: #f5f7fb;
    border-radius: 13px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    padding: 11px 16px;
    gap: 14px;
    transition: box-shadow 140ms;
}

.pop-participant-card:hover {
    box-shadow: 0 2px 10px rgba(0, 20, 80, 0.12);
}

.pop-avatar-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 48px;
    flex-shrink: 0;
}

.pop-avatar-cont {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.pop-avatar-cont.femme {
    /* border: 3px solid #ff43b1; */
}

.pop-avatar-cont.homme {
    /* border: 3px solid #4376ff; */
}

.pop-avatar-cont img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.pop-gamipress-rank img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.pop-main {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
}

.pop-col-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.pop-col-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.pop-headerline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.pop-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
}

.pop-header-status {
    display: flex;
    align-items: flex-start;
}

.pop-name {
    font-size: 1.05em;
    font-weight: 600;
    color: #0b1b3b;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pop-status {
    font-size: 0.9em;
    border-radius: 8px;
    padding: 2px 9px;
}

.pop-status-confirmed {
    background: #168d3c;
    color: #fff;
}

.pop-status-pending {
    background: #eab308;
    color: #111827;
}

.pop-gamipress-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pop-gamipress-badge img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

/* Badge de notation (Rating) */
.pop-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #eab308;
    /* text-yellow-500 */
    background-color: #fefce8;
    /* bg-yellow-50 */
    padding: 2px 6px;
    /* py-0.5 px-1.5 */
    border-radius: 6px;
    /* rounded-lg */
    border: 1px solid #fef9c3;
    /* border-yellow-100 */
    margin-left: 8px;
    height: 20px;
}

.pop-rating-icon {
    width: 10px;
    height: 10px;
    stroke: none;
    fill: #eab308;
}

@media(max-width:700px) {
    .pop-participant-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .pop-main {
        /* flex-direction: column; */
        /* align-items: flex-start; */
        /* Keep row layout to have content on the right */
        flex-direction: row;
        align-items: center;
    }

    .pop-headerline {
        flex-direction: column;
        align-items: flex-start;
    }

    .pop-header-status {
        align-items: flex-start;
    }

    .pop-name {
        font-size: 0.98em;
    }

    .pop-gamipress-badge img {
        width: 28px;
        height: 28px;
    }
}