
.liga-billar-estadisticas {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
}

.liga-billar-estadisticas h2 {
    color: #1a472a;
    border-bottom: 2px solid #1a472a;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.liga-billar-estadisticas h3 {
    color: #2c5530;
    margin: 25px 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #2c5530;
}

.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.estadistica-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.estadistica-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.estadistica-icono {
    font-size: 2em;
    margin-bottom: 10px;
}

.estadistica-valor {
    font-size: 1.8em;
    font-weight: bold;
    color: #1a472a;
}

.estadistica-label {
    font-size: 0.9em;
    color: #666;
}

.jugador-destacado-section,
.top-jugadores-section,
.estadisticas-avanzadas {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.jugador-destacado {
    border-left: 4px solid #ffd700;
    padding-left: 15px;
}

.jugador-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.jugador-avatar img,
.jugador-avatar div {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
}

.jugador-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.jugador-stats .stat {
    padding: 5px 10px;
    background: #fff9e6;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid #ffe066;
}

.top-jugadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.top-jugador-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4a6572;
    gap: 15px;
}

.top-jugador-posicion {
    background: #4a6572;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.top-jugador-avatar img,
.top-jugador-avatar div {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.top-jugador-stats {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 5px;
}

.stat-mini {
    font-size: 0.8em;
    color: #666;
}

.avanzadas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.avanzada-card {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.avanzada-card h4 {
    margin-bottom: 15px;
    color: #2c5530;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

.distribucion-item,
.total-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.distribucion-item:last-child,
.total-item:last-child {
    border-bottom: none;
}

.notice {
    padding: 15px;
    background: #fff;
    border-left: 4px solid #ffb900;
    margin: 20px 0;
}

.notice-info {
    border-left-color: #00a0d2;
}

.notice-warning {
    border-left-color: #ffb900;
}

@media (max-width: 768px) {
    .estadisticas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jugador-info {
        flex-direction: column;
        text-align: center;
    }
    
    .jugador-stats {
        justify-content: center;
    }
    
    .top-jugadores-grid {
        grid-template-columns: 1fr;
    }
    
    .avanzadas-grid {
        grid-template-columns: 1fr;
    }
}
/* Estilos para el acordeón de partidos aplazados y suspendidos */
.estado-partidos-info {
    margin: 30px 0;
}

.acordeon-partidos {
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.acordeon-item.aplazado {
    border-left: 5px solid #f39c12;
}

.acordeon-item.suspendido {
    border-left: 5px solid #e74c3c;
}

.acordeon-header {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.acordeon-header:hover {
    background: #e9ecef;
}

.acordeon-titulo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.acordeon-icono {
    font-size: 1.8em;
}

.acordeon-info {
    text-align: left;
}

.acordeon-titulo-principal {
    font-weight: bold;
    font-size: 1.2em;
    color: #2c3e50;
}

.acordeon-subtitulo {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 5px;
}

.acordeon-indicador {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    color: #7f8c8d;
}

.acordeon-header.active .acordeon-indicador {
    transform: rotate(180deg);
}

.acordeon-contenido {
    display: none;
    background: white;
    padding: 0;
}

.acordeon-contenido.active {
    display: block;
}

.lista-partidos {
    max-height: 400px;
    overflow-y: auto;
}

.partido-item {
    padding: 15px 20px;
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.2s ease;
}

.partido-item:hover {
    background: #f8f9fa;
}

.partido-item:last-child {
    border-bottom: none;
}

.partido-titulo {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.partido-detalles {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9em;
    color: #7f8c8d;
}

.partido-fecha, .partido-jugadores, .partido-motivo {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Agregar al archivo estadisticas.css */

/* Estados de aplazamiento */
.partido-aplazamientos {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

.partido-aplazamientos.estado-info {
    background-color: #e7f3ff;
    color: #2271b1;
    border: 1px solid #2271b1;
}

.partido-aplazamientos.estado-warning {
    background-color: #fff6e6;
    color: #d63626;
    border: 1px solid #d63626;
}

.partido-aplazamientos.estado-danger {
    background-color: #ffe6e6;
    color: #d63638;
    border: 1px solid #d63638;
}

/* Mejorar la visualización de los detalles del partido */
.partido-detalles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.partido-detalles span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}