/* Additional lightweight styles */
.compact-row td {
  line-height: 1.3;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Improved tooltips */
.tooltip .tooltip-inner {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Remove unnecessary font weight */
.table {
  font-weight: 400;
}

/* Make medal icons slightly smaller */
.medal i {
  font-size: 1rem;
}

/* Slight transparency for player position changes to make them less prominent */
.position-up, .position-down, .position-neutral {
  opacity: 0.85;
}

/* Make the position and trend indicator display in a flex row */
td .d-flex.align-items-center {
  display: flex !important;
  flex-direction: row;
  gap: 5px;
}

/* Add light hover effect to trend player rows */
.list-group-item:hover {
  background-color: rgba(0,0,0,0.01);
}

/* Update timestamp styling */
.update-timestamp {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 5px;
}

.update-timestamp i {
  font-size: 0.7rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.update-timestamp:hover i {
  animation: spin 1s linear infinite;
}
