/* League Table Section */
.league-table-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-dark);
}

.league-table-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.league-table-section .section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(45deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.league-table-wrapper {
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: var(--spacing-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Override SP Table Styles for Homepage Widget */
.league-table-section .sp-league-table {
  margin-bottom: 0;
}

.league-table-section .sp-data-table {
  margin-bottom: 0;
  border: none;
  background: transparent;
}

.league-table-section .sp-data-table thead th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  padding: var(--spacing-md);
}

.league-table-section .sp-data-table tbody td {
  padding: var(--spacing-md);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.league-table-section .sp-data-table tbody tr:last-child td {
  border-bottom: none;
}

.league-table-section .sp-team-logo {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

/* Highlight current team row */
.league-table-section .sp-highlight {
  background: rgba(0, 255, 136, 0.1) !important;
}

.league-table-section .sp-highlight td {
  color: var(--color-accent-primary);
  font-weight: 600;
}