@charset "UTF-8";
@font-face {
  font-family: "Montserrat Bold";
  src: url("./base/fontFiles/Montserrat-Bold.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Regular";
  src: url("./base/fontFiles/Montserrat-Regular.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Light";
  src: url("./base/fontFiles/Roboto-Light.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Medium";
  src: url("./base/fontFiles/Roboto-Medium.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Regular";
  src: url("./base/fontFiles/Roboto-Regular.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto semiBold";
  src: url("./base/fontFiles/Roboto-Bold.woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Bold";
  src: url("./base/fontFiles/Roboto-Black.woff2");
  font-display: swap;
}
.equipos-quiniela {
  padding: 0 16px 24px;
}
.equipos-quiniela .equipos-intro {
  margin: 16px 0;
}
.equipos-quiniela .equipos-titulo {
  margin: 28px 0 12px;
  font-size: 20px;
  color: #005f20;
}
.equipos-quiniela h3 {
  margin: 18px 0 6px;
  font-size: 16px;
}

.equipos-destacados {
  margin: 0 0 8px;
  padding-left: 20px;
}
.equipos-destacados li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.equipos-controles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.equipos-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.equipos-filtros button {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #494949;
  background: #f3f4f6;
  border: 1px solid #d5d8dc;
  border-radius: 20px;
  cursor: pointer;
}
.equipos-filtros button:hover {
  border-color: #2f8902;
}
.equipos-filtros button.activo {
  color: #fff;
  background: #005f20;
  border-color: #005f20;
}

.equipos-buscar input {
  min-width: 200px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #d5d8dc;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.equipos-quiniela .table-responsive {
  overflow-x: auto;
}

.equipos-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.equipos-tabla th, .equipos-tabla td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
.equipos-tabla th {
  position: sticky;
  top: 0;
  color: #fff;
  background: #005f20;
  font-weight: 600;
}
.equipos-tabla th[data-orden] {
  cursor: pointer;
  user-select: none;
}
.equipos-tabla th[data-orden]:hover {
  background: #2f8902;
}
.equipos-tabla th[data-orden][aria-sort=ascending]::after {
  content: " ▲";
  font-size: 10px;
}
.equipos-tabla th[data-orden][aria-sort=descending]::after {
  content: " ▼";
  font-size: 10px;
}
.equipos-tabla tbody tr:nth-child(even) {
  background: #f9fafb;
}
.equipos-tabla .col-equipo {
  text-align: left;
}
.equipos-tabla .col-equipo img {
  vertical-align: middle;
  margin-right: 8px;
}
.equipos-tabla .col-equipo span {
  vertical-align: middle;
}
.equipos-tabla .col-ultimos {
  text-align: left;
}

.sg {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 3px;
  line-height: 22px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  border-radius: 4px;
  background: #6b7280;
}
.sg.sg-1 {
  background: #005f20;
}
.sg.sg-X {
  background: #b7791f;
}
.sg.sg-2 {
  background: #1d4e89;
}
.sg.sg--casa {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.equipos-leyenda {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5b6168;
}

.equipos-actualizado {
  margin-top: 20px;
  font-size: 13px;
  color: #5b6168;
}

@media (max-width: 768px) {
  .equipos-quiniela {
    padding: 0 8px 20px;
  }
  .equipos-tabla {
    font-size: 13px;
  }
  .equipos-tabla th, .equipos-tabla td {
    padding: 8px 3px;
  }
  .equipos-tabla .oculto-movil {
    display: none;
  }
  .equipos-tabla .col-equipo {
    white-space: normal;
    min-width: 120px;
  }
  .equipos-tabla .col-equipo img {
    margin-right: 5px;
  }
  .sg {
    width: 18px;
    height: 18px;
    margin-right: 2px;
    line-height: 18px;
    font-size: 11px;
  }
  .equipos-buscar input {
    width: 100%;
  }
}