/* ===== EMPORIA FC LEAGUE TABLE (SportsPress) ===== */

/* table container */
.dataTables_wrapper {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* main table */
table.sp-league-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-family: inherit;
}

/* header */
table.sp-league-table thead th {
  background: #0b1220;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 14px 10px !important;
  border: none !important;
}

/* body rows */
table.sp-league-table tbody tr {
  transition: all .25s ease;
}

table.sp-league-table tbody tr:nth-child(even) {
  background: #f6f7fb;
}

table.sp-league-table tbody tr:hover {
  background: #eef2ff;
  transform: scale(1.002);
}

/* cells */
table.sp-league-table tbody td {
  padding: 14px 10px !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  font-size: 14px;
  color: #0f172a;
  text-align: center;
}

/* team column */
table.sp-league-table td.data-name {
  text-align: left;
  font-weight: 600;
}

/* team logos */
table.sp-league-table td.data-name img {
  width: 28px !important;
  height: 28px !important;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  border: 1px solid rgba(0,0,0,.1);
}

/* points column */
table.sp-league-table td.data-pts {
  font-weight: 800;
  color: #b8860b;
  font-size: 15px;
}

/* position column */
table.sp-league-table td.data-rank {
  font-weight: 700;
  color: #475569;
}

/* highlight Emporia FC row */
table.sp-league-table tbody tr:has(td.data-name:contains("Emporia FC")) {
  background: linear-gradient(
    90deg,
    rgba(184,134,11,.25),
    rgba(184,134,11,.08)
  ) !important;
  border-left: 4px solid #b8860b;
}

/* mobile scroll */
@media (max-width: 768px) {
  .dataTables_wrapper {
    overflow-x: auto;
  }
  table.sp-league-table {
    min-width: 780px;
  }
}
