
body {
  justify-content: space-between;
}

.contenedor-clasificacion {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
  padding: 2rem 1rem;
  gap: 1.5rem;
}


.form-selector {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.temporada-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  align-items: center;
  justify-content: center;
}

.temporada-selector label {
  color: white;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-weight: 500;
  align-items: center;
  justify-content: center;
  align-items: center;
  justify-content: center;
}

.temporada-selector select {
  background: rgb(46, 62, 87);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
  align-items: center;
  justify-content: center;
}

.temporada-selector select:focus,
.temporada-selector select:hover {
  border-color: white;
}

.contenedor-clasificacion .tabla-resultados {
  align-items: center !important;
  width: min(95vw, 1100px) !important;
  margin: 0 auto !important;
}

table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

thead {
  background: rgba(255, 255, 255, 0.08);
}

thead th {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

th,
td {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(0.3rem, 1.6vw, 1rem);
  padding: clamp(0.3rem, 1vw, 1rem);
}


thead th:first-child,
tbody td:first-child { border-left: none; }
thead th:last-child,
tbody td:last-child  { border-right: none; }
thead tr th           { border-top: none; }
tbody tr:last-child td { border-bottom: none; }


tbody tr td:first-child {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  width: 3ch;
}


.tablaNombre {
  width: clamp(6rem, 20vw, 30rem);
  text-align: start;
  font-size: clamp(0.65rem, 1.3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tablaEscudo {
  text-align: center;
  width: clamp(2rem, 4vw, 5rem);
}

.tablaEscudo img {
  height: clamp(1rem, 3.5vw, 4rem);
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.tablaUltimos {
  padding: 5px 1vw;
  text-align: center;
}

.tablaUltimos img {
  height: clamp(0.3rem, 1.4vw, 2rem);
  vertical-align: middle;
}

tbody tr {
  background-color: rgb(46, 62, 87);
  transition: background-color 0.15s ease;
}

tbody tr td {
  text-align: center;
}

thead tr:hover {
  background-color: rgba(255, 255, 255, 0);
}

tr:hover {
  background-color: rgba(255, 166, 0, 0.7);
}

tr:hover .tablaEscudo img {
  transform: scale(1.12);
  filter: drop-shadow(2px 2px 6px black);
}

tr:hover .tablaUltimos img {
  filter: drop-shadow(2px 2px 6px black);
}

/* ── Top 3 ───────────────────────────────────────────── */
.trTop1 {
  background-color: rgba(233, 184, 51, 0.7);
}

.trTop2 {
  background-color: rgba(177, 143, 33, 0.7);
}

.trTop3 {
  background-color: rgba(116, 90, 18, 0.7);
}

.trTop1 td:first-child,
.trTop2 td:first-child,
.trTop3 td:first-child {
  color: white;
  font-weight: 900;
}
