/* Módulo de resultados de votación */
.mod-votacion-resultados {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.mod-votacion-resultados .mod-title {
    color: #2c3e50;
    border-bottom: 2px solid #4a6fa5;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Ranking items */
.ranking-container {
    margin-bottom: 20px;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.ranking-item:last-child {
    border-bottom: none;
}

/* Posición */
.rank-position {
    min-width: 40px;
    text-align: center;
}

.medalla {
    font-size: 1.5rem;
}

.medalla.oro { color: #ffd700; }
.medalla.plata { color: #c0c0c0; }
.medalla.bronce { color: #cd7f32; }

.pos-num {
    font-weight: bold;
    color: #666;
    font-size: 1.1rem;
}

/* Imagen */
.rank-image {
    flex-shrink: 0;
}

.foto-rank {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.foto-rank:hover {
    border-color: #4a6fa5;
    cursor: pointer;
}

/* Información */
.rank-info {
    flex-grow: 1;
}

.rank-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.rank-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.rank-category {
    background: #e3f2fd;
    color: #1565c0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.rank-votes {
    color: #4caf50;
    font-weight: 600;
}

/* Estadísticas */
.rank-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a6fa5;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Sin resultados */
.no-results {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .ranking-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .rank-position {
        min-width: 30px;
    }
    
    .foto-rank {
        width: 50px;
        height: 50px;
    }
    
    .rank-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .rank-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mod-votacion-resultados {
        padding: 15px;
    }
    
    .ranking-item {
        padding: 10px 0;
    }
}