/* Joueurs Tab Styles */
#joueurs-tab .table-container {
  margin-bottom: 30px;
}

#joueurs-tab table tbody tr {
  transition: all 0.2s ease;
}

#joueurs-tab table tbody tr:hover {
  background: #fff5f5;
  transform: translateX(5px);
  box-shadow: inset 4px 0 0 #f093fb;
}

#joueurs-tab .players-sort-btn {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bgSecondary);
  color: var(--color-text);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#joueurs-tab .players-sort-btn:hover {
  background: var(--color-hover);
  transform: translateY(-2px);
}

#joueurs-tab .players-sort-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

#joueurs-tab .players-table-btn {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bgSecondary);
  color: var(--color-text);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

#joueurs-tab .players-table-btn:hover {
  background: var(--color-hover);
  transform: translateY(-1px);
}

#joueurs-tab .players-table-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

#joueurs-tab .pagination {
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#joueurs-tab .pagination button {
  padding: 10px 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#joueurs-tab .pagination button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#joueurs-tab .pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#joueurs-tab .pagination #page-info {
  font-weight: 600;
  color: var(--color-textSecondary);
}

#player-detail-modal {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  padding: 20px;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

#player-detail-modal.active {
  display: flex !important;
}

#player-detail-modal > div {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  width: min(96vw, 1500px);
  max-width: 1500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
