@charset "UTF-8";
/**
 * * ESTILOS PARA PÁGINA DE COMPARATIVAS
 * * Diseño de pestañas, tablas estadísticas y gráficos
 * */
@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;
}
/* ==========================================================================
 * CONTENEDOR PRINCIPAL
 * ========================================================================== */
.comparativas-layout {
  width: 100%;
  padding: 1rem 0;
}
@media (max-width: 1000px) {
  .comparativas-layout {
    padding: 1rem 1.5rem;
  }
}
@media (max-width: 768px) {
  .comparativas-layout {
    padding: 1rem;
  }
}

/* ==========================================================================
 * SECCIÓN DE INTRODUCCIÓN
 * ========================================================================== */
.intro-comparativas {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 800px;
}
@media (max-width: 1000px) {
  .intro-comparativas {
    padding: 2.5rem 1rem;
    max-width: 100%;
  }
}
.intro-comparativas h2 {
  margin: 0 0 1.5rem 0;
  color: #005f20;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}
.intro-comparativas p {
  margin: 0 0 1.2rem 0;
  line-height: 1.8;
  color: #494949;
  font-size: 16px;
  max-width: 900px;
}
.intro-comparativas p:last-of-type {
  margin-bottom: 0;
}
.intro-comparativas p strong {
  color: #005f20;
  font-weight: 600;
}
@media (max-width: 768px) {
  .intro-comparativas {
    padding: 1.5rem;
  }
  .intro-comparativas h2 {
    font-size: 24px;
    margin-bottom: 1rem;
  }
  .intro-comparativas p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Cajas de estadísticas destacadas */
.stats-highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) {
  .stats-highlight {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .stats-highlight {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  background: linear-gradient(135deg, #005f20 0%, #2f8902 100%);
  color: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 95, 32, 0.2);
  transition: all 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 95, 32, 0.3);
}
@media (max-width: 768px) {
  .stat-box {
    padding: 1.5rem 1rem;
  }
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .stat-number {
    font-size: 2.2rem;
  }
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  opacity: 0.95;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .stat-label {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
 * SISTEMA DE PESTAÑAS
 * ========================================================================== */
.tabs-container {
  margin-bottom: 2.5rem;
  max-width: 800px;
}
@media (max-width: 1000px) {
  .tabs-container {
    max-width: 100%;
  }
}

.tabs-navigation {
  display: flex;
  gap: 12px;
  border-bottom: 3px solid #005f20;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.tabs-navigation::-webkit-scrollbar {
  height: 6px;
}
.tabs-navigation::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.tabs-navigation::-webkit-scrollbar-thumb {
  background: #005f20;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .tabs-navigation {
    gap: 8px;
  }
}

.tab-button {
  background: #f8f9fa;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #494949;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  border: 2px solid transparent;
}
.tab-button:hover {
  background: #79ffa6;
  border-color: #2f8902;
}
.tab-button.active {
  background: #005f20;
  color: white;
  border-color: #005f20;
  box-shadow: 0 -3px 10px rgba(0, 95, 32, 0.2);
}
.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: #005f20;
}
@media (max-width: 768px) {
  .tab-button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

.tab-content {
  display: none;
  padding: 30px 0;
  animation: fadeIn 0.3s ease;
  max-width: 800px;
}
@media (max-width: 1000px) {
  .tab-content {
    max-width: 100%;
  }
}
.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
 * SECCIÓN DE CONTENIDO
 * ========================================================================== */
.tab-title {
  font-size: 26px;
  font-weight: 700;
  color: #005f20;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #005f20;
  text-align: center;
  max-width: 800px;
}
@media (max-width: 1000px) {
  .tab-title {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .tab-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
}

/* ==========================================================================
 * ESTADÍSTICAS GLOBALES
 * ========================================================================== */
.global-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 30px 0;
  max-width: 800px;
}
@media (max-width: 1000px) {
  .global-stats-grid {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .global-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.stat-card {
  background: white;
  padding: 30px 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #005f20;
  transition: all 0.3s ease;
}
@media (max-width: 1000px) {
  .stat-card {
    padding: 30px;
  }
}
.stat-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.stat-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #005f20;
  margin: 0 0 25px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
@media (max-width: 768px) {
  .stat-card {
    padding: 20px;
  }
}

.signos-distribution {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signo-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signo-bar .signo-label {
  font-size: 14px;
  font-weight: 600;
  color: #494949;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.signo-bar .bar-container {
  width: 100%;
  height: 32px;
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.signo-bar .bar-container .bar-fill {
  height: 100%;
  border-radius: 16px;
  transition: width 0.6s ease;
  position: relative;
}
.signo-bar .bar-container .bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  animation: shimmer 2s infinite;
}
.signo-bar .signo-value {
  font-size: 16px;
  font-weight: 700;
  font-family: "Roboto Mono", monospace;
  color: #494949;
}
.signo-bar.signo-1 .bar-fill {
  background: linear-gradient(90deg, #28a745 0%, #34d058 100%);
}
.signo-bar.signo-1 .signo-value {
  color: #28a745;
}
.signo-bar.signo-x .bar-fill {
  background: linear-gradient(90deg, #e27102 0%, #ff8c28 100%);
}
.signo-bar.signo-x .signo-value {
  color: #e27102;
}
.signo-bar.signo-2 .bar-fill {
  background: linear-gradient(90deg, #dc3545 0%, #ff4d5d 100%);
}
.signo-bar.signo-2 .signo-value {
  color: #dc3545;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.key-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.key-stats-list li {
  font-size: 15px;
  line-height: 1.6;
  color: #494949;
  padding: 12px 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #005f20;
  transition: all 0.2s ease;
}
.key-stats-list li:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}
.key-stats-list li strong {
  color: #005f20;
  font-weight: 700;
  display: inline-block;
  min-width: 160px;
}
@media (max-width: 768px) {
  .key-stats-list li strong {
    display: block;
    margin-bottom: 5px;
  }
}

.stats-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.stats-section h3 {
  color: #005f20;
  font-size: 22px;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #2f8902;
}

/* ==========================================================================
 * TABLAS DE ESTADÍSTICAS
 * ========================================================================== */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: white;
}
.stats-table thead {
  background: #005f20;
  color: white;
}
.stats-table thead th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.stats-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s ease;
}
.stats-table tbody tr:hover {
  background: #f9f9f9;
}
.stats-table tbody tr:last-child {
  border-bottom: none;
}
.stats-table tbody td {
  padding: 12px 15px;
  font-size: 14px;
  color: #494949;
}
.stats-table tbody td.highlight {
  font-weight: 600;
  color: #005f20;
}
.stats-table tbody td.number {
  text-align: center;
  font-family: "Roboto Mono", monospace;
}
.stats-table tbody td.positive {
  color: #28a745;
  font-weight: 600;
}
.stats-table tbody td.negative {
  color: #dc3545;
  font-weight: 600;
}

/* Tabla responsiva */
@media (max-width: 768px) {
  .stats-table {
    font-size: 12px;
  }
  .stats-table thead th,
  .stats-table tbody td {
    padding: 8px 10px;
  }
}
/* ==========================================================================
 * TABLA DE POSICIONES
 * ========================================================================== */
.tab-description {
  text-align: center;
  color: #494949;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  padding: 0 1rem;
}

.posiciones-table-container {
  overflow-x: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}
@media (max-width: 1000px) {
  .posiciones-table-container {
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  .posiciones-table-container {
    padding: 1rem;
  }
}

.posiciones-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.posiciones-table thead {
  background: linear-gradient(135deg, #005f20 0%, #002c0f 100%);
  color: white;
}
.posiciones-table thead th {
  padding: 16px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.posiciones-table thead th:first-child {
  text-align: left;
  padding-left: 20px;
  border-radius: 8px 0 0 0;
}
.posiciones-table thead th:last-child {
  border-right: none;
  border-radius: 0 8px 0 0;
}
@media (max-width: 768px) {
  .posiciones-table thead th {
    padding: 12px 8px;
    font-size: 12px;
  }
}
.posiciones-table tbody tr {
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.2s ease;
}
.posiciones-table tbody tr:hover {
  background: #f8f9fa;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.posiciones-table tbody tr:last-child {
  border-bottom: none;
}
.posiciones-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}
.posiciones-table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}
.posiciones-table tbody td {
  padding: 14px 12px;
  font-size: 14px;
  color: #494949;
  text-align: center;
}
.posiciones-table tbody td.pos-num {
  font-weight: 700;
  color: #005f20;
  font-size: 16px;
  text-align: left;
  padding-left: 20px;
}
.posiciones-table tbody td.signo-1 {
  color: #28a745;
  font-weight: 600;
  font-family: "Roboto Mono", monospace;
}
.posiciones-table tbody td.signo-x {
  color: #e27102;
  font-weight: 600;
  font-family: "Roboto Mono", monospace;
}
.posiciones-table tbody td.signo-2 {
  color: #dc3545;
  font-weight: 600;
  font-family: "Roboto Mono", monospace;
}
.posiciones-table tbody td.dominante {
  font-weight: 700;
  font-size: 15px;
}
.posiciones-table tbody td.dominante.dominante-1 {
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}
.posiciones-table tbody td.dominante.dominante-X {
  color: #e27102;
  background: rgba(226, 113, 2, 0.1);
}
.posiciones-table tbody td.dominante.dominante-2 {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}
@media (max-width: 768px) {
  .posiciones-table tbody td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* ==========================================================================
 * TARJETAS DE DATOS
 * ========================================================================== */
.data-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.data-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 3px solid #005f20;
}
.data-card .card-label {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.data-card .card-value {
  font-size: 28px;
  font-weight: 700;
  color: #005f20;
  margin-bottom: 5px;
}
.data-card .card-subtitle {
  font-size: 12px;
  color: #999;
}

/* ==========================================================================
 * GRÁFICOS
 * ========================================================================== */
.chart-container {
  background: white;
  padding: 25px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chart-container .chart-title {
  font-size: 18px;
  font-weight: 600;
  color: #005f20;
  margin-bottom: 20px;
}
.chart-container .chart-wrapper {
  min-height: 300px;
  position: relative;
}

/* ==========================================================================
 * POSICIONES
 * ========================================================================== */
.posiciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.posicion-card {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #005f20;
  transition: transform 0.2s ease;
}
.posicion-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.posicion-card .pos-numero {
  font-size: 16px;
  font-weight: 700;
  color: #005f20;
  margin-bottom: 10px;
}
.posicion-card .pos-dominante {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
}
.posicion-card .pos-dominante.signo-1 {
  color: #28a745;
}
.posicion-card .pos-dominante.signo-X {
  color: #e27102;
}
.posicion-card .pos-dominante.signo-2 {
  color: #dc3545;
}
.posicion-card .pos-porcentaje {
  font-size: 13px;
  color: #666;
}

/* ==========================================================================
 * DÉCADAS
 * ========================================================================== */
.decadas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}
@media (max-width: 768px) {
  .decadas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.decada-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #005f20;
  transition: all 0.3s ease;
}
.decada-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.decada-card .decada-title {
  font-size: 22px;
  font-weight: 700;
  color: #005f20;
  margin: 0 0 10px 0;
}
.decada-card .decada-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  line-height: 1.6;
}
.decada-card .decada-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.decada-card .decada-stats .mini-bar {
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.decada-card .decada-stats .mini-bar:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.decada-card .decada-stats .mini-bar span {
  position: relative;
  z-index: 1;
}
.decada-card .decada-stats .mini-bar.signo-1 {
  background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
}
.decada-card .decada-stats .mini-bar.signo-x {
  background: linear-gradient(135deg, #e27102 0%, #ff8c28 100%);
}
.decada-card .decada-stats .mini-bar.signo-2 {
  background: linear-gradient(135deg, #dc3545 0%, #ff4d5d 100%);
}
.decada-card .decada-details {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
  gap: 10px;
}
.decada-card .decada-details span {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: "Roboto Mono", monospace;
  transition: all 0.2s ease;
}
.decada-card .decada-details span:hover {
  transform: scale(1.05);
}
.decada-card .decada-details span:nth-child(1) {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}
.decada-card .decada-details span:nth-child(2) {
  background: rgba(226, 113, 2, 0.1);
  color: #e27102;
  border: 1px solid rgba(226, 113, 2, 0.3);
}
.decada-card .decada-details span:nth-child(3) {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}
@media (max-width: 768px) {
  .decada-card .decada-details {
    flex-direction: column;
    gap: 8px;
  }
  .decada-card .decada-details span {
    width: 100%;
  }
}

.decadas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.decadas-container .decada-titulo {
  font-size: 20px;
  font-weight: 700;
  color: #005f20;
  margin-bottom: 15px;
}
.decadas-container .decada-stats .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.decadas-container .decada-stats .stat-row:last-child {
  border-bottom: none;
}
.decadas-container .decada-stats .stat-row .stat-label {
  color: #666;
  font-size: 14px;
}
.decadas-container .decada-stats .stat-row .stat-value {
  font-weight: 600;
  color: #494949;
}

/* ==========================================================================
 * RECORDS Y DESTACADOS
 * ========================================================================== */
.record-card {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 5px solid #e27102;
}
.record-card .record-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #e27102;
  margin-bottom: 10px;
}
.record-card .record-detalle {
  font-size: 14px;
  color: #494949;
  line-height: 1.6;
}
.record-card .record-combinacion {
  font-family: "Roboto Mono", monospace;
  background: white;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #005f20;
}

/* ==========================================================================
 * EQUIPOS
 * ========================================================================== */
.equipos-grid {
  display: grid;
  gap: 20px;
}

.equipo-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #005f20;
}
.equipo-card .equipo-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #005f20;
  margin-bottom: 15px;
}
.equipo-card .equipo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.equipo-card .equipo-stats .stat-box {
  text-align: center;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
}
.equipo-card .equipo-stats .stat-box .stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #005f20;
}
.equipo-card .equipo-stats .stat-box .stat-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
}

.racha-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 5px;
}
.racha-badge.racha-victoria {
  background: #28a745;
  color: white;
}
.racha-badge.racha-derrota {
  background: #dc3545;
  color: white;
}
.racha-badge.racha-empate {
  background: #e27102;
  color: white;
}

/* ==========================================================================
 * RANKINGS DE EQUIPOS
 * ========================================================================== */
.equipos-rankings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.ranking-section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #005f20;
  transition: all 0.3s ease;
}
.ranking-section:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.ranking-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #005f20;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ranking-counter;
}

.ranking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  counter-increment: ranking-counter;
  position: relative;
  transition: all 0.2s ease;
}
.ranking-item:last-child {
  border-bottom: none;
}
.ranking-item:hover {
  background: #fafafa;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 6px;
}
.ranking-item::before {
  content: counter(ranking-counter);
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #005f20 0%, #2f8902 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 95, 32, 0.2);
}
.ranking-item .equipo-nombre {
  font-weight: 600;
  color: #494949;
  font-size: 14px;
  flex: 1;
  padding-left: 18px;
}
.ranking-item .equipo-stats {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
  font-family: "Roboto Mono", monospace;
  background: #f9f9f9;
  padding: 4px 10px;
  border-radius: 12px;
}

.tendencias-section {
  background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
  padding: 25px;
  border-radius: 12px;
  margin: 30px 0;
  border-left: 5px solid #e27102;
}
.tendencias-section h3 {
  color: #e27102;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rachas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.racha-item {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  flex: 1 1 auto;
  transition: all 0.3s ease;
}
.racha-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.racha-item.racha-positiva {
  border-left: 4px solid #28a745;
}
.racha-item.racha-positiva .racha-badge {
  background: #28a745;
  color: white;
}
.racha-item.racha-negativa {
  border-left: 4px solid #dc3545;
}
.racha-item.racha-negativa .racha-badge {
  background: #dc3545;
  color: white;
}
.racha-item .equipo-nombre {
  font-weight: 600;
  color: #494949;
  font-size: 15px;
  flex: 1;
}
.racha-item .racha-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
 * RESPONSIVE
 * ========================================================================== */
@media (max-width: 768px) {
  .comparativas-container {
    padding: 10px;
  }
  .tabs-header {
    gap: 5px;
  }
  .tab-button {
    padding: 12px 15px;
    font-size: 13px;
  }
  .stats-section {
    padding: 15px;
  }
  .data-cards {
    grid-template-columns: 1fr;
  }
  .posiciones-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  .decadas-container {
    grid-template-columns: 1fr;
  }
  .equipos-rankings {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ranking-section {
    padding: 20px;
  }
  .ranking-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 40px;
    padding-right: 10px;
  }
  .ranking-item::before {
    left: 8px;
    top: 12px;
    transform: none;
  }
  .ranking-item .equipo-nombre {
    padding-left: 0;
    width: 100%;
  }
  .ranking-item .equipo-stats {
    width: 100%;
    text-align: left;
  }
  .rachas-list {
    flex-direction: column;
  }
  .racha-item {
    min-width: 100%;
  }
  .equipo-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*# sourceMappingURL=comparativas.css.map */
