@tailwind base;
@tailwind components;
@tailwind utilities;

/* Standings table - LFC capsule style */
.standings-table-card {
  background: linear-gradient(165deg, #0369a1 0%, #0284c7 50%, #0c4a6e 100%);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(2, 132, 199, 0.25);
}
.standings-table {
  border-collapse: collapse;
}
.standings-table .standings-header th {
  background: #0284c7;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 0.6rem;
  border: none;
}
.standings-table thead th:first-child { border-radius: 15px 0 0 0; padding-left: 1rem; }
.standings-table thead th:last-child { border-radius: 0 15px 0 0; }
.standings-table .standings-row td {
  background: #f8fafc;
  padding: 0.75rem 0.6rem;
  border: none;
  color: #0f172a;
  vertical-align: middle;
}
.standings-table .standings-row:first-child td:first-child { border-radius: 15px 0 0 0; }
.standings-table .standings-row:first-child td:last-child { border-radius: 0 15px 0 0; }
.standings-table .standings-row:last-child td:first-child { border-radius: 0 0 0 15px; }
.standings-table .standings-row:last-child td:last-child { border-radius: 0 0 15px 0; }
.standings-table .standings-row:nth-child(even) td { background: #e0f2fe; }
.standings-table .standings-row:hover td { background: #f0f9ff !important; }
.standings-table .standings-row-top td { background: #fff !important; }
.standings-table .standings-row-top:hover td { background: #f0f9ff !important; }
.standings-table .standings-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}
.standings-table .standings-row-top .standings-rank { color: #0284c7; }
.standings-pts { color: #fff; }
.standings-pts-th { color: #fff !important; }
.standings-table .standings-pts-col { position: sticky; right: 0; z-index: 1; box-shadow: -4px 0 8px rgba(0,0,0,0.06); }
.standings-table .standings-header .standings-pts-col { background: #0284c7; box-shadow: -4px 0 8px rgba(0,0,0,0.1); }
.standings-pts-badge {
  background: #0284c7 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.4rem 0.75rem !important;
  min-width: 2.5rem;
  display: inline-block;
  text-align: center;
}
.standings-table .standings-empty td { background: transparent !important; border-bottom: none !important; color: rgba(255,255,255,0.9); padding: 2rem; }
