/* ================================
   Players List – Bootstrap-like
   ================================ */

.playersList.list-group {
    display: block;
    padding-left: 0;
    margin: 10px 0 0 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.playersList .list-group-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 12px 12px 12px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.playersList .list-group-item:last-child {
    border-bottom: 0;
}

.playersList .list-group-item:hover {
    background: rgba(255, 255, 255, 0.98);
}

/* --- Left side --- */

.playerLeft {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

/* Stripe colore player */

.playerColorStripe {
    width: 6px;
    height: 26px;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.playerName {
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* --- Right side --- */

.playerMeta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.youTag {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.65);
}

/* --- Empty state --- */

.playersEmpty {
    padding: 12px 14px;
    color: rgba(0, 0, 0, 0.65);
    background: rgba(255, 255, 255, 0.85);
}

/* --- Skeleton --- */

.playersList .skeleton {
    height: 44px;
    background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.04),
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.04)
    );
    background-size: 200% 100%;
    animation: mimmoShimmer 1.2s infinite;
}

@keyframes mimmoShimmer {
    0% { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}
