/* Container principal du joueur */
.playerRow {
  display: flex;
  flex-direction: column; /* force deux lignes */
  align-items: flex-start;
  margin-bottom: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-sizing: border-box;
  transition: background-color 0.3s, border 0.3s;
}

/* Ligne nom + score */
.playerInfo {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 15px;
  color: #f5f5f5;
}

.playerInfo span:last-child {
  color: #ffb74d;
  font-weight: 800;
}

/* Ligne des boutons */
.playerButtons {
  display: flex;
  gap: 6px;
  width: 100%; /* la ligne prend toute la largeur du container */
}

.playerButtons button {
  flex: 1;              /* chaque bouton prend une part égale de la ligne */
  padding: 7px 0;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.playerButtons button:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Couleurs */
.playerButtons button:nth-child(1) { background-color: #f19306; } /* -1 */
.playerButtons button:nth-child(2) { background-color: #2ecc71; } /* +1 */
.playerButtons button:nth-child(3) { background-color: #3498db; } /* +3 */
.playerButtons button:nth-child(4) { background-color: #f31212; } /* Kick */

.playerRow.buzzed {
  background: rgba(230, 220, 6, 0.12);
  border: 1px solid #e4e706;
  box-shadow: 0 0 16px rgba(228, 231, 6, 0.25);
}
