/* ==========================================
   SIDEBAR AUTOMATIC STANDINGS TABLE
   ========================================== */
.sidebar-section {
  position: relative;
  border-radius: var(--radius-main);
  padding: 4px;
}

.sidebar-pattern-bg {
  position: absolute;
  inset: -6px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(15, 43, 72, 0.08),
    rgba(15, 43, 72, 0.08) 8px,
    transparent 8px,
    transparent 16px
  );
  border-radius: calc(var(--radius-main) + 4px);
  z-index: -1;
}

.standings-card {
  background: var(--card-bg);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 18px 14px;
  border: 1px solid var(--border-light);
}

.standings-header {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.standings-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-primary);
}

.table-auto-badge {
  font-size: 0.65rem;
  background: #d1fae5;
  color: #065f46;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.table-wrapper {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.standings-table th {
  color: var(--text-muted);
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid #e5e7eb;
  text-align: center;
}

.standings-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #f3f4f6;
  text-align: center;
  font-weight: 600;
}

.standings-table .col-club {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-primary);
}

.table-club-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
}

.standings-table .col-num.highlight {
  color: var(--navy-primary);
  font-weight: 900;
}